Consider adding contributor information to release notes #209
Replies: 5 comments
-
Since we are changing (see #194) the way we generate change logs, we cannot easily get the contributor/author for a specific issue or pull request using the REST API endpoints. That information is not included in the Search endpoint. Instead, the Search endpoint provides the issue and pull request assignee information, but that may be different (especially for pull requests) from the author making the contribution. An alternative is to go back to using the commits (after #194 this would be a fair amount of work) but using the GitHub REST API instead of using the From looking at the REST API responses and schemas, it does not seem that you can map an issue and/or pull request back to a specific commit, or commits. If true, then I don't know how you could do this other than to require a pull request for everything and use the user associated with the pull request, which would also mean we would need to add a milestone to each pull request as well as issues, and then de-duplicate them (so we don't list the issue and the linked PR). So, it doesn't really seem all that useful without imposing rules and/or restrictions that I don't really think we should do. |
Beta Was this translation helpful? Give feedback.
-
Also found this discussion: Identify relationship between issues and pull requests (v3 API) Basically, it seems you can't1 do this with the v3 (REST) API but you apparently can do it using the GraphQL API: The Footnotes |
Beta Was this translation helpful? Give feedback.
-
Some other relevant references1:
Footnotes
|
Beta Was this translation helpful? Give feedback.
-
See Some kiwi GraphQL queries for some sample queries. |
Beta Was this translation helpful? Give feedback.
-
I used the GitHub GraphQL Explorer to play around with some queries. Here's a page explaining how to use: Using the Explorer |
Beta Was this translation helpful? Give feedback.
-
Should we add contributor information to the release notes? If so, how? For example, we could add the contributor information for each item in the lists. Also, should there be a special mention of contributors who made their first contribution? There are probably other things we could add but these are the basics.
Beta Was this translation helpful? Give feedback.
All reactions