pulp / pulp/pulp-cli-deb

labels option missing

Open
#107 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Feature Looking_for_Contributor
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.