Skip to content

Offer apt install on the Command line page and list the apt repository - #23

Merged
abashev merged 1 commit into
mainfrom
abashev/apt-repository
Nov 28, 2026
Merged

abashev merged 1 commit into
mainfrom
abashev/apt-repository

Conversation

@abashev

@abashev abashev commented Nov 28, 2026 •

Copy link
Copy Markdown
Contributor

The docs part of openjavaformat/open-java-format#153. On the Command line page the apt section sits between Homebrew and Scoop.

The repository openjavaformat/apt is served from GitHub Pages at https://apt.openjavaformat.dev. It carries .deb packages of the latest release's Linux binaries for amd64 and arm64, signed by a key of its own. An hourly workflow there compares the version it serves with the newest release. When they differ, it builds the packages, installs them on Ubuntu 22.04, 24.04 and 26.04 and on Debian 12 and 13 on both architectures, and only then deploys them.

  • Command line: an apt section after Homebrew: the lines that add the key and the repository and install the package, glibc 2.34 as the minimum, apt upgrade and apt-mark hold, and the fact that only the latest version is served.
  • About: the repository in "Where it is published", and how it follows the GitHub releases.
  • Home page: apt next to Homebrew and Scoop, linking to the new section.

Checked: the repository's Publish workflow installed 21.1.1, and 21.1.0 when run by hand, with these lines on all ten systems, and deployed both. zensical build --clean --strict passes.

Merge once apt.openjavaformat.dev resolves: the custom domain needs a DNS record first.

@abashev
abashev force-pushed the abashev/apt-repository branch from 4aa08f2 to 2046e58 Compare November 28, 2026 18:15
@abashev
abashev enabled auto-merge November 28, 2026 19:00
@abashev
abashev disabled auto-merge November 28, 2026 19:00
@abashev
abashev merged commit 5c3702b into main Nov 28, 2026
2 checks passed
@abashev
abashev deleted the abashev/apt-repository branch November 28, 2026 19:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant