Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

As a user, I want to attach an already uploaded package in a deb repo to multiple distributions

Open
#245 1 comment 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
48/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Quiet
Tech stack
python
Domain
cli

Research direction

Start with the pulp deb repository content add command and trace how it creates repository content and publication references. Determine where a distribution can be selected, then verify that one uploaded package is referenced by the Packages metadata for trixie, bookworm, and bullseye without duplicating the pool file.

Written by the indexing model from the issue text.

Description

If my debian repository structure is as follows

.
├── dists
│   ├── bookworm
│   │   ├── InRelease
│   │   ├── main
│   │   │   ├── binary-amd64
│   │   │   │   ├── Packages
│   │   │   │   └── Packages.gz
│   │   │   ├── binary-arm64
│   │   │   │   ├── Packages
│   │   │   │   └── Packages.gz
│   │   │   └── source
│   │   │       ├── Packages
│   │   │       └── Packages.gz
│   │   ├── Release
│   │   └── Release.gpg
│   ├── bullseye
│   │   ├── InRelease
│   │   ├── main
│   │   │   ├── binary-amd64
│   │   │   │   ├── Packages
│   │   │   │   └── Packages.gz
│   │   │   ├── binary-arm64
│   │   │   │   ├── Packages
│   │   │   │   └── Packages.gz
│   │   │   └── source
│   │   │       ├── Packages
│   │   │       └── Packages.gz
│   │   ├── Release
│   │   └── Release.gpg
│   └── trixie
│       ├── InRelease
│       ├── main
│       │   ├── binary-amd64
│       │   │   ├── Packages
│       │   │   └── Packages.gz
│       │   ├── binary-arm64
│       │   │   ├── Packages
│       │   │   └── Packages.gz
│       │   └── source
│       │       ├── Packages
│       │       └── Packages.gz
│       ├── Release
│       └── Release.gpg
└── pool
    └── main
        └── f
            └── foobar
                ├── foobar_1.0.0_amd64.deb
                └── foobar_1.0.0_arm64.deb

I want to add the same foobar package to all three distributions - trixie, bookworm, and bullseye. So, the same file in pool, being referenced by Packages of all three distributions when a publication is created.

There is the pulp deb repository content add command which lets us add a package to a repository, but it can't specify a distribution.

Dominant language
Python
Stars
5
Forks
14
Avg merge
22h 12m
Merged PRs (30d)
1

Getting set up

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.

More from pulp/pulp-cli-deb

All issues in pulp/pulp-cli-deb

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.