-
Notifications
You must be signed in to change notification settings - Fork 38.7k
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
Clarify labeling states on proposed cherrypicks. #23555
Merged
k8s-github-robot
merged 1 commit into
kubernetes:master
from
david-mcmahon:cherrypicksdoc
Apr 1, 2016
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Title is insufficient and in many cases inappropriate.
Compare:
https://github.com/kubernetes/kubernetes/blob/master/CHANGELOG.md#other-notable-improvements
and:
https://github.com/kubernetes/kubernetes/releases/tag/v1.1.2
I want the former, not the latter.
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.
There are 2 different kinds of releases. There are major new branch releases and then there's everything else (alpha, beta, patch). Automated release notes are not meant to target the major new branch releases (as the example you gave). No amount of automation is going to construct lengthy, detailed and easy to read descriptions that were hand crafted as in the example of 1.2.0.
As I pointed out in the proposal, the automation should aim to provide automated release notes for every kind of release except the major new branch kind and for those the automation is merely bootstrapping the release notes so that the release owner can make them look like the carefully constructed release detail in your 1.2.0 example.
Another thing to consider is the workflow and how frictionless release note collection is to contributors. The PR title is something people are used to providing already and is the current workflow. Asking them to further be sure to construct a parsable, lengthy release note somewhere in the body of each PR is really putting a burden on folks, IMO. And chances are they won't get it right and there will be a significant amount of editing anyway.
Furthermore, there's no built-in way (using git or github) to validate the body by looking for a tag and a description, though I suppose a custom bot could be designed.
The current solution gets us to ~90% with automated notes for alpha, beta, minor and bootstrapping of major releases. If you could say the additional work of asking contributors to fill in a "good release note" in the body somewhere, parsing it, extracting and formatting it gets us another 5%, I'm not sure that's worth it and like I said before it could end up creating more work in the end for the branch owner to pull apart the mess of title + additional body contents/formatting.
If we do want to investigate this, it's certainly worth it's own issue. There will be lots of work to do to make that happen and it will take time to implement and test.