-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Generate full release contributors list in release changelog #38704
Generate full release contributors list in release changelog #38704
Conversation
Size Change: 0 B Total Size: 1.15 MB ℹ️ View Unchanged
|
I think you need to update the snapshots for existing tests that cover the changelog. Otherwise, it looks like a great way to make the release page nicer on GitHub 🎉 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice! I guess let’s give it a try and iterate 😃
My sentiments exactly. If this doesn't work out we can revert it or enhance it further if it's a success 🚀 |
); | ||
) + | ||
' - @' + | ||
issue.user.login; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for trying this, @getdave. I think listing the contributors participating in the release will improve the release page. However, I am not sure listing them next to each PR is the way we should go. I think it adds too granular info to the changelog, making it harder to read and focus on the PRs themselves. Moreover, copying the list of PRs alone elsewhere (Google Docs, make.wordpress.org/core) will need an extra step (e.g., a regex) to remove each author.
My two cents is adding the list of contributors to the bottom would be a nice middle ground. Later on, other participants could be added, apart from the person merging each PR.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good points. Fine be me. This is easily modified. I'll try that next week.
Description
In #38372 we added a list of first time contributors to the changelog. This has the unintended side effect of causing Github to auto-generate a list of "Contributors" (see below):
This seems to be due to the inclusion of the usernames of each contributor next to their listed PR.
This PR builds upon that functionality by adding the username alongside each of the listed changelog entries. This has the consequence of generating a full "Contributors" list which includes everyone who merged a PR in this release.
It should look like the screenshot above, but the
Contributors
section should include all the usernames who are mentioned in the changelog.This is not a full "props" solution but serves as a stepping stone to something more robust.
Testing Instructions
npm run changelog -- --milestone="Gutenberg 12.5"
in root of Gutenberg repo.- @someusername
appended to each PR.Screenshots
Types of changes
New feature (non-breaking change which adds functionality)
Checklist:
*.native.js
files for terms that need renaming or removal).