Skip to content

Enable storage retention for swift - #445

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

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

Conversation

@pinguinfuss

Copy link
Copy Markdown
Contributor

Refs #306.

Registers swift for storage.retention.

Source archives are stored under the registry identity, pkg:generic/swift-registry/{scope}.{name}, lowercased. Package rules write the scope as the namespace (pkg:swift/apple/swift-nio) or use the stored form, in any case. A source repository key like pkg:swift/github.com/apple/swift-nio doesn't name a registry identity and is refused at startup.

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

Source archives are stored under the registry identity, pkg:generic/swift-registry/{scope}.{name}, lowercased. Package rules write the scope as the namespace (pkg:swift/apple/swift-nio) or use the stored form, in any case. A source repository key like pkg:swift/github.com/apple/swift-nio doesn't name a registry identity and is refused.

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

Refs git-pkgs#306
@andrew
andrew force-pushed the issue-306-retention-swift branch from 4c6aeba to f8ca190 Compare October 12, 2026 15:35
@andrew
andrew merged commit 093ae82 into git-pkgs:main Oct 12, 2026
6 checks passed
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.

2 participants