As a user, I want to be able to list the Published Artifacts for a Publication
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 598
- Forks
- 168
- Avg merge
- 1d 4h
- Merged PRs (30d)
- 86
Description
We had reports that one of the InRelease (a repo metadata file) for an apt repo was empty so we wanted to look through the PublishedArtifacts for the Publication to confirm if the CDN was serving the file or if the file was empty in Pulp. We had already republished the repo to fix the problem so we no longer could access the published artifact through pulp-content. Eventually we resorted to using the pulp shell to run PublishedArtifact.objects.filter(publication__pk="...", relative_path__contains="InRelease").
Ideally, we'd have a way to list/filter PublishedArtifacts without having to go to the pulp shell. I'd propose maybe a published artifact list endpoint. Ideally it would have fields like publication, digests, size, relative_path and users could filter by those fields.
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
Begin with the PublishedArtifact query shown in the issue and trace the related pulpcore API patterns. The work is complete when users can list and filter PublishedArtifacts by publication, digests, size, and relative_path, including locating an InRelease artifact without using the pulp shell.
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