pulp_rpm
pulp_rpm copied to clipboard
Add option to specify alternate name for config.repo
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.