The ability to easily download artifacts from Pulp given a content pulp href
Nobody has claimed this yet.
- 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
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 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