-
Notifications
You must be signed in to change notification settings - Fork 178
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Inclusion of commit comments in the JSON response for pull_request #515
Comments
I would start by adding only the comments since commit message, author and committer are already retrieved via the Git backend. Thanks @harshalmittal4 |
Thanks for the reply @valeriocos, but this^ appears confusing. Here is what I understand :
We are discussing here solely for what is returned by perceval when I thought I needed to include the information about all the commits present in the PR (specially the commit message and the commit author). @valeriocos where am I wrong, Please correct me, thanks a lot! |
Sorry for not being clear @harshalmittal4 :) Point 4. should focus on collecting the commit comments, which may be left during a code review. This point was discussed here: chaoss/wg-evolution#81 (comment) For this iteration I'd say that it's better to focus only on commit comments. The remaining info about commits is already available via the Git backend. Let me know if this is clear now, thanks! |
Hey @valeriocos, are these the line comments (mentioned in Point (2) above) you are talking about ? They are already there in the response. |
point 2. is about review comments, which are different from point 4 (please see the endpoints calls). |
Thanks @valeriocos for the nice explanation, got it 😅 I made the additions in the code for this, but during execution it runs into an error saying |
@harshalmittal4 thank you, please submit the PR so we can have a look at it :) |
As we commented in #518, this is no longer supported. It's supported only for commits. I'm gonna close this issue for that reason. A possible solution to have this feature would be to have a category |
That sounds good @sduenas ! @harshalmittal4 if you need any help, just ping us. When you have time, please open an issue and we can discuss there about the details. Thanks! |
Following the discussion, this issue is about including the commit messages to the JSON response for pull_request.
https://api.github.com/repos/chaoss/wg-gmd/pulls/12/commits provides all the fields that can be included in
commits_data
section of the response. Currently, it contains only the commit hash. Along with the hash, commit message and author_data can also be included incommits_data
in the response.Are there any other field than these 3 that might be useful to have in the response, @valeriocos @jgbarah @aswanipranjal, please share your views,
Thanks!
The text was updated successfully, but these errors were encountered: