Repository navigation
Add command to generate dnf/yum repository conf - #132
Merged
Merged
Conversation
rezib
force-pushed
the
repos-conf
branch
2 times, most recently
from
October 30, 2026 14:10
e905a7a to
ff55460
Compare
rezib
marked this pull request as ready for review
October 30, 2026 14:34
rezib
force-pushed
the
repos-conf
branch
2 times, most recently
from
November 9, 2026 15:43
16f5f6f to
0d2c5a5
Compare
Introduce rift repo generate subcommand to generate dnf/yum repository
file from Rift project configuration.
The command notably offers the following options:
- -H, --host makes those repositories available under another hostname
(and optionally scheme/port).
- --token-proxy lets dnf reach IDP authenticated repositories through
a running repos-token-proxy.
Assisted-by: Claude Opus 5.5
qa-cea
approved these changes
Nov 10, 2026
valeriyoann
approved these changes
Nov 10, 2026
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.
A host can install packages from a Rift project without running rift. The new
rift repo generatesubcommand writes a dnf/yum repository file from the repositories declared in the project configuration.Option
-H, --hostmakes those repositories available under another hostname. Option--token-proxylets dnf reach IDP authenticated repositories through a runningrepos-token-proxy.Declared repositories are loaded by
project_repositories(), which ArchRepositoriesRPM now uses as well. That keeps repository loading in one place and avoids creating a working repository just to read the project configuration.