Repository navigation
Conversation
cargo generate-rpm builds it from the same static binary, man pages and completions as the .deb, for x86_64 and aarch64, with no dependencies, no scriptlets, and the .deb's weak dependencies. The release attests it and attaches it; a new dnf job, after apt, signs the copies it publishes under rpm/ on gh-pages and signs the index, with the APT key. CI's rpm job builds it, publishes it to a throwaway repository with a throwaway key through the same script, and installs and upgrades from it on Fedora 43, Rocky 9 and Rocky 8, with a tampered index refused. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FNs394W7GMp53qrHNPrACN
It changed into pages/rpm and then back to the relative `pages`, which the workflows pass; CI's rpm job found it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FNs394W7GMp53qrHNPrACN
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.
Adds an RPM for Fedora, RHEL and its rebuilds (8+), alongside the .deb:
[package.metadata.generate-rpm]in Cargo.toml: the same static binary, man pages and completions as the .deb; no dependencies or scriptlets; the .deb's recommends/suggests as rich deps.dnfjob (afterapt, so they never push to gh-pages at once, but regardless of its outcome) signs the published copies and the index with the APT key, underrpm/on gh-pages, plusstop-bots.repoandkey.asc.rpmjob builds it, publishes a candidate and a release to a throwaway repository with a throwaway key viascripts/build-rpm-repo.sh, and runspackaging/rpm/check-install.shon Fedora 43, Rocky 9 and Rocky 8: install the candidate, upgrade to the release, check the signature, refuse a tampered index.Tested locally the same way (Ubuntu 24.04 publishing, offline Fedora 43 / Rocky 9 / Rocky 8 installing), including a passphrase-protected key.
🤖 Generated with Claude Code
https://claude.ai/code/session_01FNs394W7GMp53qrHNPrACN