As a user, I want to attach an already uploaded package in a deb repo to multiple distributions
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 5
- Forks
- 14
- Avg merge
- 22h 12m
- Merged PRs (30d)
- 1
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.
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 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.
Assessment
- Tech stack
- python
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100