-
Notifications
You must be signed in to change notification settings - Fork 794
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
Only track release notes in one place #3339
Comments
I'm okay with either choice. As a user, I often check the Altair docs but not so much the GitHub release page. But it's really helpful for users to see detailed explanations of the changes in each release. Right now, there's some repetition on the GitHub page with the auto-generated release description at the bottom. Maybe we should only have auto-generated release notes on GitHub and more detailed docs on Altair's page. I like that I can just keep scrolling through the Altair docs' release notes to see all the changes for multiple versions. But I get your point that using the GitHub page is easier for maintainers and that therefore we actually write more documentation. Like I said, I'm fine either way.. |
I'm in favor of maintaining release notes just in one place and I don't have a strong preference where that is. A few thoughts/considerations:
None of these are deal-breakers, and I'm generally in favor of most things we do to facilitate maintenance =) |
I don't have strong opinions on this, so happy to defer to others who have thought about it more carefully |
Pro Altair docs:
Pro of GH pages:
For me the pros of the GH pages outweigh. Biggest one is that I think it leads to higher-quality release notes as shown in the last few versions.
Same! I also find this very convenient. How about we have a section in the |
I'm on board with that. As long as we keep track of it somewhere on a per PR basis, I don't mind exactly where that is. |
A thought related to this discussion is whether we want to consider having our PR titles follow the conventional commits guidelines (short version here). I haven't used these previously myself, and it seems a bit cumbersome to follow it for every single commit on a branch, but for the PR titles it could be useful since these are the commit messages that get squashed into the main branch. It is what Vega-Lite follows as well. For example, for some of our recent commits, this would change from:
to (I find the title easier to read when capitalized, but it's technically optional):
We could create PR templates for the most common keywords (fix, feat, chore, docs?) to encourage using these and optionally the CI VL has to enforce (but maybe the CI is overkill for now). This could also be helpful when generated the release notes, and we would not have to add to the changelog/releasing file for each PR (which is easy to miss) as long as each PR title is descriptive (we still elaborate with images etc when writing the full release notes). Since we already use "squash and merge" we already have a link in the title. Edit: GH's own automated release notes feature might be all we need to create a draft from the PR titles that we then expand on with images etc. I don't want to introduce something that is laborious to follow, but I'm thinking just prefix the PR titles would not add any additional time-consuming tasks for us, while still bringing some value in terms of what I described above. Thoughts? |
Big +1 from me for using this in PR titles (not individual commits in a branch). I also think that, as you mentioned, the automated release notes are then a great first draft which can be refined. It also gets us to consistently show everything in the release notes. I'd be on board with having a CI check. Some examples are VL as you mentioned as well as Ibis |
We currently track release notes in 2 places, the documentation and in GitHub Releases. The docs use restructured text whereas GitHub Releases uses Markdown so we can't just copy-paste content from one into the other but it requires a rewrite. In addition, as it's easier to add images and do formatting in Markdown, the GH Releases pages of the last few releases look much better and are more extensive than what we have in the docs. Thanks @mattijn for taking the time every release to write this!
How about we only maintain the release notes in GitHub Releases? We can simply link to it from the documentation. No information gets lost and it's easier for us to maintain and we can write better release notes which is beneficial for users.
I'm happy to create a PR for the docs and to make sure that everything is captured in GitHub Releases. Thoughts?
The text was updated successfully, but these errors were encountered: