Group Changelog items by feature #33229
Draft
+191
−2
Conversation
'[Feature] UI Components': 'Components', | ||
'[Feature] Component System': 'Components', | ||
'[Package] Block Library': 'Block Library', | ||
'[Feature] Blocks': 'Block Library', |
talldan
Jul 8, 2021
•
Contributor
Might be good to get clarification on this. '[Feature] Blocks' might be more Block API or something like that than Block Library.
Might be good to get clarification on this. '[Feature] Blocks' might be more Block API or something like that than Block Library.
I've check recent changelogs for more label mappings and here are a few more direct ones, I would say ordered by precedence:
These others would have precedence in the mappings:
And these others usually are bundled together under "Block Editor" if they don't fit anywhere else (or, if the same label appears a lot in a single release, it might make sense to separate them on their own section in that release):
|
Co-authored-by: Dave Smith <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Description
Currently when facilitating a release of the Plugin, the release lead must manually assign each PR to "feature" and then organise into those features.
This is not a good task for humans as it takes a lot of time. This puts an undue burden on the release lead.
This PR attempts to automated this process. It does this by:
Experiments
,Bug fixes
...etc).The heuristic to determine the "feature" is very basic:
[Feature]
label then use that feature name.[Block] XXX
label then useBlock Library
as the feature name.Obviously the hardcoded map of labels => features is far from complete but that's simple enough and can be augmented over time. The goal of this PR is a stepping stone towards the optimal solution.
This is part of addressing #30538
How has this been tested?
npm run changelog
.Unknown
as the last feature group in each seciton.If you want you can target a particular milestone using the format:
Github has rate limits on the API so I suggest grabbing your Github developer token from https://github.com/settings/tokens and passing that in the
--token
arg:Screenshots
Types of changes
New feature (non-breaking change which adds functionality)
Checklist:
*.native.js
files for terms that need renaming or removal).