Repository navigation
Gentoo overlay: publish each release to ivankovic/gentoo-overlay - #129
Merged
Merged
Conversation
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
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.
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.
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'sdev-util/omnidiff/. It pushes over SSH with theGENTOO_OVERLAY_DEPLOY_KEYsecret (a deploy key with write access to the overlay only; already set). Without the secret it warns and the release stands.shell-completion.eclass, and nocratesioremote-id in metadata.xml (not in the schema). Same files installed.Checked: a full
emerge dev-util/omnidifffrom the overlay in a gentoo/stage3 container (binary, man page, three completions), pkgcheck clean on the overlay,--tarballon 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