labels option missing
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 5
- Forks
- 14
- Avg merge
- 22h 12m
- Merged PRs (30d)
- 1
Description
Hi
it look like the deb REST API allow you the add labels in the repository/distribution
https://docs.pulpproject.org/pulp_deb/restapi.html#tag/Repositories:-Apt/operation/repositories_deb_apt_create
https://docs.pulpproject.org/pulp_deb/restapi.html#tag/Distributions:-Apt/operation/distributions_deb_apt_create
It also work for the rpm pulp-cli module (with the option --labels '{ "key" : "value" }'
But the option seem missing in the pulp-cli-deb
INFO : pulp deb repository create --name TEST --remote TEST --retain-repo-versions 3 --labels '{ "type_os" : "ubuntu" }' | jq -C
INFO : Usage: pulp deb repository create [OPTIONS]
Try 'pulp deb repository create --help' for help.
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.
Research direction
Start with the deb repository and distribution create commands and compare them with the rpm pulp-cli module's --labels option. Verify the behavior against the linked pulp_deb REST API documentation; done means both deb commands accept and forward labels like the shown example.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100