Skip to content

Enable storage retention for deb - #465

Merged
andrew merged 1 commit into
git-pkgs:mainfrom
pinguinfuss:issue-306-retention-deb
Oct 14, 2026
Merged

andrew merged 1 commit into
git-pkgs:mainfrom
pinguinfuss:issue-306-retention-deb

Conversation

@pinguinfuss

Copy link
Copy Markdown
Contributor

Closes #306.

Registers deb for storage.retention.

Packages are stored as pkg:deb/{name}, without a vendor, whichever configured archive they came from. Package rules may name a vendor the way PURLs usually do (pkg:deb/debian/curl, pkg:deb/ubuntu/curl). The vendor is dropped, so a rule covers the package from every archive.

Debian and Ubuntu archives keep only the current version per suite, so an evicted older one can't be fetched again. The docs row says so.

proxy mirror doesn't support deb yet, so there's no test for mirrored deb packages.

Packages are stored as pkg:deb/{name}, without a vendor and whichever configured archive they came from. Package rules may name a vendor the way PURLs usually do (pkg:deb/debian/curl, pkg:deb/ubuntu/curl); it's dropped, so a rule covers the package from every archive. The docs row warns that Debian and Ubuntu archives only keep the current version per suite.

The mirror can't fetch deb packages, so there's no mirror test.

Refs git-pkgs#306
@andrew
andrew merged commit 53c03c9 into git-pkgs:main Oct 14, 2026
6 checks passed
@pinguinfuss
pinguinfuss deleted the issue-306-retention-deb branch October 14, 2026 15:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add per-ecosystem artifact retention (age-based eviction)

2 participants