pulp / pulp/pulpcore

retain_repo_version as system wide setting

Open
#5,531 0 comments 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

Is your feature request related to a problem? Please describe.
Currently the default retain of repositories is null, which is unlimited. There is afaik no option to override the default system wide in the settings. Each individual created repo must explicitly set retain_repo_version if you want to deviate from null

Describe the solution you'd like
Add a system wide setting in setting.py to provide an alternate default value for retain_repo_version

Describe alternatives you've considered
Create every repo manually with the wanted default

Additional context
none

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 in setting.py to understand how system-wide settings are declared and then trace how retain_repo_version defaults are applied when repositories are created. Done means a configurable system-wide default overrides null for newly created repositories without removing per-repository values; add or update tests for both behaviors.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.