Skip to content

Gentoo overlay: publish each release to ivankovic/gentoo-overlay - #129

Merged
ivankovic merged 2 commits into
mainfrom
gentoo-overlay
Nov 28, 2026
Merged

ivankovic merged 2 commits into
mainfrom
gentoo-overlay

Conversation

@ivankovic

Copy link
Copy Markdown
Owner

Gentoo users can now install from a personal overlay, ivankovic/gentoo-overlay, which already holds 0.6.0. This PR keeps it current from the release workflow.

  • Release job gentoo, beside the Homebrew one: downloads the tag tarball, writes the Manifest's tarball line from it (generate_gentoo_crates.py --tarball, new), and replaces the overlay's dev-util/omnidiff/. It pushes over SSH with the GENTOO_OVERLAY_DEPLOY_KEY secret (a deploy key with write access to the overlay only; already set). Without the secret it warns and the release stands.
  • Why the tarball line is written after the tag: the tag always carries the previous release's line. v0.6.0's recipe named the 0.5.0 tarball and would not have verified.
  • pkgcheck fixes in the ebuild: completions through shell-completion.eclass, and no cratesio remote-id in metadata.xml (not in the schema). Same files installed.
  • Docs: overlay install commands in docs/README.md; packaging/README.md describes the overlay, the job, the manual fallback and a container emerge test, and release steps 7–8 follow.

Checked: a full emerge dev-util/omnidiff from the overlay in a gentoo/stage3 container (binary, man page, three completions), pkgcheck clean on the overlay, --tarball on the v0.6.0 files reproduces the overlay's Manifest byte for byte. The deploy-key push itself first runs at the next release.

🤖 Generated with Claude Code

https://claude.ai/code/session_01XUyLJ2enKeRdFnvjUTNwT1

ivankovic and others added 2 commits November 28, 2026 14:50
The release workflow gains a `gentoo` job, run beside the Homebrew one: it
downloads the tag tarball, rewrites the Manifest's tarball line from it
(`generate_gentoo_crates.py --tarball`, new), and pushes
packaging/gentoo/dev-util/omnidiff to github.com/ivankovic/gentoo-overlay.
Without the GENTOO_OVERLAY_TOKEN secret it warns and the release stands.

The tag itself always carries the previous release's tarball line, which
is how v0.6.0's recipe came to name the 0.5.0 tarball; the job writes the
line after the tag exists, so the overlay never gets the stale one.

pkgcheck on the overlay: metadata.xml's `cratesio` remote-id is not in the
schema, and the completions now install through shell-completion.eclass
instead of bash-completion-r1 plus insinto. Same files installed, checked
with a full emerge in a gentoo/stage3 container.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01XUyLJ2enKeRdFnvjUTNwT1
The release job pushes to the overlay over SSH with the
GENTOO_OVERLAY_DEPLOY_KEY secret, a deploy key with write access to that
repository alone, instead of a fine-grained token. github.com's host keys
come from api.github.com/meta, checked strictly.

docs/README.md gains the overlay's install commands, and Arch gets a
section of its own. packaging/README.md says the overlay is published, how
the release job fills it, how to push by hand without the key, and how to
test an emerge in a stage3 container; release steps 7 and 8 follow.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01XUyLJ2enKeRdFnvjUTNwT1
@ivankovic
ivankovic merged commit 64d8b98 into main Nov 28, 2026
21 checks passed
@ivankovic
ivankovic deleted the gentoo-overlay branch November 28, 2026 18:28
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