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 orphan cleanup options to command #398

Closed
gerrod3 opened this issue Oct 14, 2021 · 0 comments · Fixed by #399
Closed

Add orphan cleanup options to command #398

gerrod3 opened this issue Oct 14, 2021 · 0 comments · Fixed by #399
Labels
feature request New feature request (template-set)
Milestone

Comments

@gerrod3
Copy link
Contributor

gerrod3 commented Oct 14, 2021

Summary

orphan cleanup has two options that can be passed in:
content_hrefs - a list of content hrefs to choose to cleanup from if they are orphans
orphan_protection_time - from pulpcore 3.15, amount of protection time before removing any orphaned content

Examples

pulp orphan cleanup --protection-time 0
pulp orphan cleanup --content-hrefs '["/content_href/1/", "/content_href/2"]'

@gerrod3 gerrod3 added the feature request New feature request (template-set) label Oct 14, 2021
gerrod3 added a commit to gerrod3/pulp-cli that referenced this issue Oct 14, 2021
gerrod3 added a commit to gerrod3/pulp-cli that referenced this issue Oct 14, 2021
gerrod3 added a commit to gerrod3/pulp-cli that referenced this issue Oct 14, 2021
gerrod3 added a commit to gerrod3/pulp-cli that referenced this issue Oct 15, 2021
gerrod3 added a commit to gerrod3/pulp-cli that referenced this issue Oct 15, 2021
gerrod3 added a commit to gerrod3/pulp-cli that referenced this issue Oct 15, 2021
gerrod3 added a commit to gerrod3/pulp-cli that referenced this issue Oct 15, 2021
gerrod3 added a commit to gerrod3/pulp-cli that referenced this issue Oct 15, 2021
mdellweg pushed a commit that referenced this issue Oct 15, 2021
@mdellweg mdellweg added this to the 0.13.0 milestone Dec 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New feature request (template-set)
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants