delete-package-versions icon indicating copy to clipboard operation
delete-package-versions copied to clipboard

Feature request: Keep specific versions

Open MarkusRodler opened this issue 4 years ago • 1 comments

It would be nice that we can specify versions to keep. For example within the docker universe is package called latest which points to/contains the last stable version. For every push there will be at least one version added and the latest version updated.

At the moment the "latest" version will be deleted because it is the oldest created version.

MarkusRodler avatar Mar 17 '20 06:03 MarkusRodler

+1 for that.

I was thinking of something more advanced but our case is probably too special so I did not create a separate issue.

We would like to build a housekeeping workflow which cleans up package versions in all repositories of our organization. To avoid having to maintain a list of packages and versions to keep I was think about deleting all package versions for which there is no corresponding release. This way you could just delete the release and the package version will be eventually cleaned up as well.

benjamin-koenig avatar Mar 25 '20 06:03 benjamin-koenig