-
Notifications
You must be signed in to change notification settings - Fork 505
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
Sort release notes by Kind(s) instead of SIG(s) #923
Conversation
This form is definitely interesting. I wonder if it could be visually simplified still. Having every other line be "Courtesy of ..." is a bit visually distracting. Maybe if each stanza were more like: -<p>Graduate ScheduleDaemonSetPods to GA. (feature gate will be removed in 1.18) action required. (<a href="https://github.com/kubernetes/kubernetes/pull/82795">#82795</a>, <a href="https://github.com/draveness">@draveness</a>)</p>
-<p>Courtesy of SIG Apps, SIG Scheduling, and SIG Testing</p>
+<p>Graduate ScheduleDaemonSetPods to GA. (feature gate will be removed in 1.18) action required. (<a href="https://github.com/kubernetes/kubernetes/pull/82795">#82795</a>, <a href="https://github.com/draveness">@draveness</a>, SIGs Apps, Scheduling, and Testing</p> That removes 50 lines only though. And the results are still MANY MANY pages. |
Alright, I tried to improve the density and removed some unnecessary categorization, now it looks like this ( https://gist.github.com/saschagrunert/baf7cb9114d7a58e6728592fac3659ed |
/retest |
1 similar comment
/retest |
@jeefy do you think this format makes sense and is better than the current one? |
I like the readability of it better, but I also think we should somehow identify what sigs the PRs come from. Also the |
Yeah I agree, so for the markdown we could always add the SIG to every entry. Which would look like this (current state demo of
|
I'm good with that! :) /lgtm @saschagrunert Unhold when you're ready. |
Explicit hold for consensus check with the community. |
I did some fine-adjustments regarding notes having multiple kinds. I also prettify the kind list that they have some sort of Title Case. Updated the first comment to contain the latest demo version. |
@saschagrunert -- This is really awesome! One thing I think I'd like to see here is an idea of ranking the kind labels... Some thoughts:
When two kind labels are applied, it'd be cool for the one of higher rank to contain the release note e.g., deprecation has higher rank than a cleanup, so the note would land in the "deprecation" section. It's probably fine to do that as a follow-up though, if we think this is a good idea. Sent a note to k-dev: https://groups.google.com/d/topic/kubernetes-dev/xwFKQfRWmAc/discussion We'll merge this Thursday EOD PT, barring any strong objections. /lgtm |
Much more useful, to me. |
Awesome work @saschagrunert , looks great! |
SO much better for sure! Thank you for all the hard work, @saschagrunert! |
I think this looks really great @saschagrunert! I also really like @justaugustus's suggestion that +1 from me |
+1 on moving Deprecation and maybe Breaking Changes to the top. Amazing job btw :) |
Does it make sense to label this for SIG Docs as well as SIG Release? |
I added another commit on top of the recent changes, which sort the kinds by their priority.
I really like that idea and think it would result in a more clean document. So this is part of the latest commit as well. :) The output of:
now looks like this: |
I think this provides a much better starting point for our release notes than the current generator. Just a couple thoughts:
|
the we don't have labels for controller-manager and scheduler. |
Signed-off-by: Sascha Grunert <sgrunert@suse.com>
Okay, I added an option to map kinds, which for now maps
Yes we could do that as a follow up I guess. I re-generated the notes in the top comment to visualize the latest changes. |
I think this looks great. @saschagrunert, Is this also going to drive changes to the existing Release Note template we currently manually curate before Release day as that template still organizes by SIG in most cases? I would prefer to see if we can do this all in one shot with just some final prettying of the MD to release. |
Oh yes, we should update that template as well in my point of view. We could apply the priority of kinds there too and maybe drop the distinction between “Notable” and “Other” changes. 🤔 |
@saschagrunert will the format change affect relnotes.k8s.io? |
Hearing no objections, let's get this merged! @saschagrunert -- Thank you again for your great work on this! |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: jeefy, justaugustus, saschagrunert The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
No :) |
As a follow-up of kubernetes/release#923, we should also improve the release notes template to make the work easier for the release notes team and have a uniform layout of the release notes. Signed-off-by: Sascha Grunert <sgrunert@suse.com>
This is a short demo how it looks like if we sort the release notes by its
kind
instead of theSIG
.For example:
https://gist.github.com/saschagrunert/3eaf2d16b3f845fa69cf7a6661d81b05