pulp / pulp/pulpcore

The ability to easily download artifacts from Pulp given a content pulp href

Open
#5,003 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Feature
Dominant language
Python
Stars
598
Forks
168
Avg merge
1d 4h
Merged PRs (30d)
86

Description

We need the ability to audit content/packages in Pulp. Ideally, we'd like to iterate through packages in the API and then download them to audit them. The problem we're running into:

  • It's hard to correlate a package that's returned in the API with where it might be published at. Once you have its pulp href, you have to go through several steps to find a potential url where it was published.
  • It's possible that the package is not even published (we still need to audit these packages).

At first I thought something like having an endpoint like /pulp/api/v3/artifacts/.../download/ would work well (at least for us). However, it looks like there was some work to expose artifacts through a distribution that plugins could use. I don't know if that work could somehow be leveraged for our use case? Pinging @mdellweg in case you have any thoughts.

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 reading the proposed /pulp/api/v3/artifacts/.../download/ endpoint and the linked pull request 2963 about exposing artifacts through a distribution. Determine the supported behavior for downloading published and unpublished artifacts from a content pulp href; done means the use case has a defined implementation path and corresponding verification.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
api, backend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.