As a user, I can remove artifacts which haven't been requested by clients for N days
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 598
- Forks
- 168
- Avg merge
- 1d 4h
- Merged PRs (30d)
- 86
Description
Author: @goosemania (ttereshc)
Bugzilla: https://bugzilla.redhat.com/buglist.cgi?quicksearch=1889950
Redmine Issue: 8593, https://pulp.plan.io/issues/8593
Based on the BZ.
Even with on-demand downloading, a Pulp that has been upgraded several times will have an enormous amount of space used by packages that are no longer used. Removing a repo and re-adding it to Pulp every time is virtually impossible. There are tons of packages that are not being used anymore that could easily be removed to free up space.
Having a mechanism to remove packages that haven't been used in 30, 60, or 90 days would greatly reduce space needed. Then, if for some reason that package is needed again, the on-demand nature of the Pulp should allow the package to be re-downloaded from the CDN.
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
The payload names no source files, tests, or entry points; begin with Bugzilla 1889950 and Redmine 8593 linked from the issue. Done means defining and implementing a supported mechanism to remove artifacts unused for configurable 30-, 60-, or 90-day periods while allowing needed on-demand packages to be downloaded again.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- backend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100