pulp / pulp/pulp_deb

As a REST api user I would like to know which distributions are included in a publication

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

Nobody has claimed this yet.

.feature
Dominant language
Python
Stars
71
Forks
91
Avg merge
1d 19h
Merged PRs (30d)
22

Description

Is your feature request related to a problem? Please describe.
I am working on pulp-replica. This plugin discovers distributions at an upstream Pulp and then syncs that content. In order to configure the remote to consume from the AptDistributions, I need to know which distributions are available there. I am able to use the REST API to look up the publication that is backing the distribution, so it would be helpful to have the publication specify what distributions are included.

Describe the solution you'd like

When make a GET request to the AptPublication or VerbatimPublication end point, I would like the response to include which distributions are available in the publication. Ideally, this would be in the same format as the remote configuration of distributions.

The publication creation task should populate this information when creating a publication.

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 AptPublication and VerbatimPublication REST endpoints and trace how the publication creation task builds their responses. Compare the requested distribution format with the remote configuration format, then identify how both publication types can expose the distributions they contain. Done means GET responses include this information and publication creation populates it.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
api, backend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.