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

rpm_repository/retain_repo_versions #165

Closed
asphalter opened this issue Jun 25, 2024 · 1 comment
Closed

rpm_repository/retain_repo_versions #165

asphalter opened this issue Jun 25, 2024 · 1 comment

Comments

@asphalter
Copy link

We'd like to specify how many repositories versions to keep online, but even if this param could be found out on pulp_cli, I can't find it either on squeezer.

Could you please verify and let me know?

Brief functional desc from the official pulp's doc:
"Provided by pulpcore, specifies how many repository versions will be kept for a repository. For example, if set to 1, it will keep only the most-recent repository version; the rest will be automatically deleted, together with any associated publications. Note, however, that repository versions that are currently being distributed are "protected", and cannot be removed. This can result in more versions being retained than specified by retain_repo_versions."

@joey-grant
Copy link
Contributor

Hey @asphalter. I saw this comment of yours and verified that the option does not exist in version 0.16. I submitted a pull request to add this option.

#171 (comment)

joey-grant pushed a commit to joey-grant/squeezer that referenced this issue Jul 27, 2024
This change adds `retain_repo_versions` parameter option to
`rpm_repository` module. It also adds tests and associated
fixtures.

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

No branches or pull requests

2 participants