CI: multi-series builds, SFTP upload, automatic changelog versioning - #233
Open
AksharNana wants to merge 3 commits into
Open
AksharNana wants to merge 3 commits into
AksharNana wants to merge 3 commits into
Conversation
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This changes how the PPA release job builds and uploads packages.
Multiple Ubuntu series. ppa-source-check now builds one source package per series (focal, jammy, noble) instead of only noble. Each upload gets its own version,
<version>-<revision>~<series>1(e.g. 0.2.1-2~focal1), because Launchpad accepts a version only once. The orig tarball is shared and byte-identical across series.debhelper-compat 13 → 12. Focal ships debhelper 12.10, which can't satisfy 13. I built the package in Ubuntu 20.04, 22.04 and 24.04 containers with compat 12 on focal and 13 on jammy and noble, and all three build cleanly.
SFTP instead of FTP. publish-ppa uploads over SFTP, with retries and a pause between uploads.
Automatic changelog versioning. CI takes the upstream version from the release tarball. If it differs from the committed changelog, it starts at revision 1 and adds a "New upstream release" entry. If it's the same, it keeps the committed revision, so only packaging-only fixes need a manual edit.