Enhance generate_release_notes.py
to also report added/removed/update packages
#5004
Labels
kind: enhancement
Label for issues suggesting enhancements; and for pull requests implementing enhancements
topic: infrastructure
Milestone
This should be possible thanks to the package meta data we now collect as JSON for all release since GAP 4.11.1 and also as part of the new package distribution. So we "just" need to get those two lists and the rest is trivial.
Options to get the list of packages in the previous release:
.sha256
file)v4.*
tags and picking that last one, or by querying github or whatever)Ideally all three would be possible (i.e. guess the previous release by default, but allow the user to override it by specifying a tag or an URL)
Options to get the list of packages in the new release are similar, except that tag will likely not exist... so what could be done is to just download the latest package distro snapshot, under the assumption that this is what will be in the release... In theory this is a source of inconsistencies if the distro gets updated between generation of the release notes, and tagging of the release... but we can simply avoid this by refraining from updating the package distro during this time (at least until we fully automate it, if we ever do that...).
For starters, having a version which takes just two filenames would be a great start.
The text was updated successfully, but these errors were encountered: