Skip to content

Enable storage retention for composer - #456

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

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

Conversation

@pinguinfuss

Copy link
Copy Markdown
Contributor

Archives are stored under pkg:composer/{vendor}/{package}, which purl lowercases, so case in a package rule doesn't matter. A key without a vendor could never match and is refused. Packages that git-pkgs wrote as "packagist" fall under the composer rules too.

The mirror can't fetch composer packages today (its resolver has no composer support, and #415 would file them under packagist), so there's no mirror test.

Refs #306

Archives are stored under pkg:composer/{vendor}/{package}, which purl lowercases, so case in a package rule doesn't matter. A key without a vendor could never match and is refused. Packages that git-pkgs wrote as "packagist" fall under the composer rules too.

The mirror can't fetch composer packages today (its resolver has no composer support, and git-pkgs#415 would file them under packagist), so there's no mirror test.

Refs git-pkgs#306
@andrew
andrew force-pushed the issue-306-retention-composer branch from aa501fb to 9c75e59 Compare October 12, 2026 15:23
@andrew
andrew merged commit e20aff6 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