-
Notifications
You must be signed in to change notification settings - Fork 44
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
Generate changelog both as RST and MarkDown #364
Conversation
@felixfontein what's the motivation for storing both in a Git repo? |
@webknjaz the RST for backwards compatibility, and MD because GitHub screwed up RST rendering so it doesn't work anymore for larger changelogs (which all Ansible changelogs are, and which quite a few collection changelogs also are), so users can still read them on GitHub in a nice way. |
The ansible-core 2.15 changelog is also no longer rendered, for example: https://github.com/ansible/ansible/blob/stable-2.15/changelogs/CHANGELOG-v2.15.rst The 2.16 changelog is still small enough. Whatever the limit is. GitHub knows about this (see https://github.com/orgs/community/discussions/86715). |
c3ef223
to
f0bf6e8
Compare
Ah, I see. I run pandoc in some of my CI/CD pipelines to do the conversion to GFM. That's not something that ends up in Git, though. Instead, it's what's attached to GitHub Releases that need Markdown too. Perhaps, it's something to consider doing with all those release automation efforts? |
I tried using pandoc first, but it quickly breaks down for things like
Adding a changelog excerpt to a GitHub release is a good idea as well; this should be rather easy to add on once that the MarkDown code is there. (For the ansible-core changelog this is already possible, |
91a6078
to
08f6d36
Compare
Result of ansible-community/antsibull-build#576 (with ansible-community/antsibull-changelog#139).
The resulting MarkDown file can be seen here: https://github.com/felixfontein/ansible-build-data/blob/markdown/9/CHANGELOG-v9.md