Skip to content

Serve the release's own .deb packages - #1

Open
abashev wants to merge 1 commit into
mainfrom
debs-from-the-release
Open

abashev wants to merge 1 commit into
mainfrom
debs-from-the-release

Conversation

@abashev

@abashev abashev commented Nov 28, 2026

Copy link
Copy Markdown
Contributor

The packages move into the release of open-java-format: openjavaformat/open-java-format#289 builds them in release.yml, installs them on Ubuntu 22.04 and Debian 12, and puts them into the GitHub release, signed and in checksums_sha256.txt. Here they are only checked, against the checksums and against their own Package, Version and Architecture fields, and indexed and signed as before.

The workflow serves the newest release that has both packages. None has up to 21.1.1, so until the next release every run finds nothing to publish and the live repository stays on what it serves now.

Checked locally: packages built by #289's script from 21.1.1's binaries give a repository whose signatures verify, and a package whose name says another version fails the script. Merge after #289; before it, merging is harmless but the next release would not reach apt.

The release workflow of open-java-format now builds and tests the
packages and puts them into the GitHub release, signed and in
checksums_sha256.txt (openjavaformat/open-java-format#289). The
repository takes them from there instead of packaging the binaries
itself: it checks them against the checksums and their control fields,
then writes and signs the indexes as before.

It serves the newest release that has packages; up to 21.1.1 none has,
so until the next release a run finds nothing to publish and the live
21.1.x repository stays as it is.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant