-
Notifications
You must be signed in to change notification settings - Fork 1
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
Scripts to prepare releases #35
Comments
We are currently not writing release notes for any of the projects using |
I don't remember what the precise reason for this was. But using release notes in the docs would still require extra work even with what I proposed here. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Version placeholders
Due to CalVer, we need to use placeholders with
versionadded
and friends. In Scipp, we have tox targets to check for and replaceRELEASE_PLACEHOLDER
. But this does not work with the release notes which also contain a placeholder in the commented-out template that we don't want to replace.Release notes
We need to manually remove empty sections in the release notes. I looked into writing a script to do that. But while
docutils
has a parser for rst, it doesn't have a writer. And similarly, if we switched to markdown files,myst-parser
has a parser but also no writer. We could use a generic markdown parser but that might struggle with myst-extensions. Or we use a custom parser which could be complicated. Esp. for rst; markdown should be simpler.Maybe splitting the release notes into separate documents, one per version, would simplify this. WE discussed this before but never implemented it.
The text was updated successfully, but these errors were encountered: