Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add option to specify alternate name for config.repo #3640

Open
simenon opened this issue Jun 25, 2024 · 0 comments
Open

Add option to specify alternate name for config.repo #3640

simenon opened this issue Jun 25, 2024 · 0 comments
Labels

Comments

@simenon
Copy link

simenon commented Jun 25, 2024

Is your feature request related to a problem? Please describe.
When generating a .repo file for a repository the file is allways named config.repo.

Describe the solution you'd like
Add an option to specify a (alternate) name for the config.repo

Something like
pulp rpm publication create
--repository "${REPO_NAME}"
--repo-config '{"gpgcheck": 1, "repo-gpgcheck": 1}'
--repo-filename "${REPO_NAME}.repo"

Describe alternatives you've considered
None

Additional context
Generally when people download a .repo file they add it to thier repo directory (/etc/yum.repos.d). If all files are named config.repo then you can not distinguish between different repo's, unless you rename the file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants