pulp / pulp/squeezer

deb distribution module missing "repository" setting

Open Beginner friendly
#250 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement good first issue
Dominant language
Python
Stars
29
Forks
45
Avg merge
4h 45m
Merged PRs (30d)
1

Description

When using RPM distribution module we can set a distribution "repository" to always serve the latest content.

This same functionality is not available for the DEB distribution module even though it exists in the pulp CLI.

[root@pulp ~]# pulp deb distribution create --help
Usage: pulp deb distribution create [OPTIONS]

  Create a apt distribution.

Options:
  --base-path TEXT
  --publication TEXT              Publication to be served.
  --repository TEXT               Repository to be used for auto-distributing.
                                  Specified as '[[<plugin>:]<type>:]<name>' or
                                  as href.
  --checkpoint / --not-checkpoint
  --name TEXT                     [required]
  --help                          Show this message and exit.
[root@pulp-dev ~]#

There are settings for both "publication" and "repository" in the "pulp deb distribution create" cli same as the "rpm" modules.

Can you add "repository" as an option for "deb_distribution" module?

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 by locating the deb_distribution module and compare its distribution options with the RPM distribution module. Add support for the repository setting using the existing pulp deb distribution create --repository behavior, then verify that the module accepts and passes the option correctly.

Written by the indexing model from the issue text.

Assessment

Tech stack
ansible, python
Domain
devops
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
72/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.