Repository navigation
Conversation
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
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.
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 inchecksums_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.