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

pulp rpm prune-packages does not exist #3651

Closed
simenon opened this issue Jul 1, 2024 · 2 comments
Closed

pulp rpm prune-packages does not exist #3651

simenon opened this issue Jul 1, 2024 · 2 comments
Labels

Comments

@simenon
Copy link

simenon commented Jul 1, 2024

Version
"versions": {
"deb": "3.3.0",
"gem": "0.6.0",
"rpm": "3.27.1",
"core": "3.54.1",
"file": "3.54.1",
"maven": "0.8.1",
"ostree": "2.4.0",
"python": "3.11.1",
"ansible": "0.22.0",
"certguard": "3.54.1",
"container": "2.20.0"
}

Describe the bug
According to manual https://pulpproject.org/pulp_rpm/docs/user/guides/prune/?h=prune#prune-a-repository there is a pulp cli command called pulp rpm prune-packages.

pulp rpm prune-packages --repository some-repo --keep-days 14 --dry-run
Usage: pulp rpm [OPTIONS] COMMAND [ARGS]...
Try 'pulp rpm --help' for help.

Error: No such command 'prune-packages'.

To Reproduce
pulp rpm prune-packages --repository some-repo --keep-days 14 --dry-run

Expected behavior
Either doc is incorrect or cli is not working

Additional context
See https://github.com/search?q=org%3Apulp+prune-packages&type=code

@mdellweg
Copy link
Member

mdellweg commented Jul 1, 2024

pulp/pulp-cli#977

It is there. But we may need to promote it into a release at times.

@ggainey
Copy link
Contributor

ggainey commented Jul 18, 2024

Released with pulp-cli/0.26 on 2024-07-01: https://pulpproject.org/pulp-cli/changes/#0.26.0

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

No branches or pull requests

3 participants