Repository navigation
Take the repository README's history from the live tree as well as the archive. #10937 - #10939
Conversation
…e archive, so promoting a new platform's first release does not fail.
|
No actionable comments were generated in the recent review. WalkthroughThe README generator now records package versions with platform architectures and merges live-tree data into archive history. The platform documentation describes the promotion sequence and how the README identifies a platform’s first release. ChangesPlatform history
Estimated code review effort: 2 (Simple) | ~15 minutes Change: Bug fix Merge Risk:
|
Follow-up to #10938 (issue #10937). Promotion runs
rebuild-readmebeforesync-s3has copied the new release to the archive bucket, so the first promotion carrying a new platform (9.20, with Ubuntu 26.10 and Fedora 45) would stop with<platform> is published but absent from the archive. The workaround is runningsync-s3andrebuild-readmeby hand on the download server, which the person doing the release cannot do.install-repo-readme.pynow adds the live tree's packages to the history it reads from the archive, so a new platform is listed as supported from the release being promoted. Existing platforms keep the same first release, since the live tree never loses packages.PLATFORMS.mddrops the manual steps.Tested against a made-up tree and archive listing: new platforms showed 9.20, an existing one kept its first release from the archive, retired ones went to the unsupported table, and the
--no-archivesnapshot README was unchanged.After merging, install
pkg/publish/install-repo-readme.pyinto/usr/local/lib/pga-publish/on the download server before the 9.20 promotion.Summary by CodeRabbit