pulp / pulp/pulpcore

As a user, I can remove artifacts which haven't been requested by clients for N days

Open
#2,080 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Feature satellite
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

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

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.