-
Notifications
You must be signed in to change notification settings - Fork 548
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
Updates to RELEASE.md #2195
Updates to RELEASE.md #2195
Conversation
Signed-off-by: Peter Štibraný <[email protected]>
…d new contributors section. Signed-off-by: Peter Štibraný <[email protected]>
Signed-off-by: Peter Štibraný <[email protected]>
Signed-off-by: Peter Štibraný <[email protected]>
Signed-off-by: Peter Štibraný <[email protected]>
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.
Haven't done a release yet so I can't comment on the actual steps but these changes LGTM!
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.
Looks good to me, just some nits inline.
Signed-off-by: Peter Štibraný <[email protected]>
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.
RELEASE.md
Outdated
The release shepherd is responsible for an entire minor release series, meaning all pre- and patch releases of a minor release. | ||
The process formally starts with the initial pre-release, but some preparations should be made a few days in advance. | ||
|
||
- We aim to keep the `main` branch in a working state at all times. In principle, it should be possible to cut a release |
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.
[not a blocker, but agreeing on some consistent will help long term maintaneability] I'm not sure this line break splitting follows docs squad recommendation. To my understanding there should be 1 full sentence per line, to help code reviews (so that with GitHub suggestions you can easily rewrite 1 sentence at a time). @jdbaldry am I right or wrong?
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.
I typically stick to 1 sentence / line format (unless sentences are very short, or too long – then I break them), but got carried away in this list. Will fix it.
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.
I am definitely in favor of one line per sentence for easier line based diffing. I'm not yet certain that this is a strong enough argument to move from personal preference to enforced style though.
RELEASE.md
Outdated
- You can find the numbers by doing compare like `https://github.com/grafana/mimir/compare/mimir-2.0.0...mimir-2.1.0` from previous Mimir release. (Note the syntax: `.../compare/<old ref>...<new ref>`, yes there are three periods). | ||
- Number of commits = "contributions", number of contributors = "authors". | ||
- As an example, for [current HEAD on commit 017a738](https://github.com/grafana/mimir/compare/mimir-2.1.0...017a738e94) shows 185 contributions and 36 authors since Mimir 2.1.0.) | ||
- Most interesting new features for users. Use your judgement. |
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.
I would be more explicit here. Look at https://github.com/grafana/mimir/releases/tag/mimir-2.1.0. In Mimir so far we had "Features and enhancements", "Upgrade considerations", and "Bug fixes". I would keep that format, cause it worked fine so far.
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.
I've added new section on writing release notes document, and at this place I just refer to it now:
- After contributor stats, please include content of the release notes document [created previously](#write-release-notes-document).
Signed-off-by: Peter Štibraný <[email protected]>
Signed-off-by: Peter Štibraný <[email protected]>
Signed-off-by: Peter Štibraný <[email protected]>
Thanks Marco for review and suggestions. I've applied your feedback. I've added new section on writing release notes document. |
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.
LGTM, thanks!
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.
lgtm 👍
Thank you all for reviews and feedback! |
* Add more releases, split long lines for easier editing. Signed-off-by: Peter Štibraný <[email protected]> * Added section on creating release on GitHub with contributor stats and new contributors section. Signed-off-by: Peter Štibraný <[email protected]> * Added part about cherry-picking with -x and squash & merge. Signed-off-by: Peter Štibraný <[email protected]> * Move opening PR to text. Signed-off-by: Peter Štibraný <[email protected]> * What's more in life than happy linter? Signed-off-by: Peter Štibraný <[email protected]> * Apply feedback from review. Signed-off-by: Peter Štibraný <[email protected]> * Fix. Signed-off-by: Peter Štibraný <[email protected]> * Address review feedback. Signed-off-by: Peter Štibraný <[email protected]> * Address review feedback. Signed-off-by: Peter Štibraný <[email protected]>
What this PR does
This PR updates RELEASE.md documentation for maintainers doing releases.
Since this is internal document for maintainers and not end users, I don't consider it as "documentation", hence not engaging docs team.
Checklist
CHANGELOG.md
updated - the order of entries should be[CHANGE]
,[FEATURE]
,[ENHANCEMENT]
,[BUGFIX]