Skip to content

Automate release archive creation #232

@gilles-peskine-arm

Description

@gilles-peskine-arm

Each time we make a release, we spend a lot of time crafting a release archive, and we tend to make mistakes (e.g. Mbed-TLS/mbedtls#9524, Mbed-TLS/mbedtls#10332). It's hard to stabilize this process because it involves manual fiddling and the results are not reproducible.

Minimum requirements for this task:

  • The script must not require manual intervention: you just point it to a commit and it does its thing.
  • Produce a .tar.bz2 file that is suitable as the release archive, if the starting point is suitable as a release (branches merged, changelog prepared, versions bumped, etc.).
  • Document a validation process. This can be “run the script locally and compare the results” if the script is fully reproducible, or something more complicated if the script isn't reproducible.

Nice to have, without going overboard on the development and review time (this is a size-s task):

  • Make the script fully reproducible (with the same tool versions).
  • Also produce a checksum file.
  • Do some of the work to prepare the release commit: assemble changelog, bump versions, etc.
  • Avoid dependencies on third-party tooling.
  • Support 3.6 LTS.

Definitely out of scope:

Metadata

Metadata

Labels

size-sEstimated task size: small (~2d)

Projects

Status

Shared backlog

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions