Enable users to list content within container-push repository types
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
Research direction
Reproduce the working and failing commands for pulp_container in the issue, then read pulpcore/cli/container/repository.py around line 142 and the repository-content command behavior. Done means content listing works for a container push repository while the unsupported content-add and content-remove capabilities remain disabled.
Written by the indexing model from the issue text.
Description
The feature request could be relevant only to pulp_container.
In pulp_container, I want to be able to list content available in a push-repository.
This works:
pulp container repository create --name test123321
pulp container repository content list --repository test123321
This does not work:
podman pull ghcr.io/pulp/hello-world
podman tag ghcr.io/pulp/hello-world localhost:24817/pulp/hello-world
podman push localhost:24817/pulp/hello-world --tls-verify=false
pulp container repository --type push content list --repository pulp/hello-world
We might be required to override the behaviour of the repository-content command in order to disable the "content-add" and "content-remove" capabilities along with changing the value passed to the allowed_with_contexts parameter (https://github.com/pulp/pulp-cli/blob/bd521c10adcca1d281cf42c883623e30ecd1b6b3/pulpcore/cli/container/repository.py#L142).
- Dominant language
- Python
- Stars
- 43
- Forks
- 52
- Avg merge
- 11h 38m
- Merged PRs (30d)
- 11
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from pulp/pulp-cli
-
bug Triage-Needed
Difficulty 2/5 1-3 hours Newbie friendliness 58/100
-
Difficulty 3/5 1-2 days Newbie friendliness 45/100
-
feature request
Difficulty 4/5 3-5 days Newbie friendliness 35/100
-
easy fix feature request
Difficulty 3/5 1-2 days Newbie friendliness 25/100
-
bug Triage-Needed
Difficulty 4/5 3-5 days Newbie friendliness 42/100
Similar issues
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
use-agent-os/agent-os#3314 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
BasedHardware/omi#15662 · 1 comment ·
-
documentation help wanted
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
AiursoftWeb/AnduinOS-2#19 ·