pulp / pulp-cli-deb

2 stars 11 forks source link

labels option missing #107

Open olwins opened 5 months ago

olwins commented 5 months ago

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.