Skip to content

Feature Request: Allow to choose how many package versions to keep #358

@FalconXC4

Description

@FalconXC4

Salut Ludo!

When mirroring a repository, repomanager is holding every package versions (for the given ditribution). This is consuming a lot of disk space.
Do you think it could be possible to add a setting for each repo ? (at least a global option for all repo would be a veru good start). Something like "keep_latest = x" (x being the number of versions to keep).
In the screenshot attached there is an example for the nginx package in RHEL 9 (In Ubuntu/Debian there is less available version for each package, but still...).

Image

In addition, this feature would be helpful to solve another issue here : #210 regarding the repo size which will be reduced a lot!

See you later and keep up the good job!

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions