Watch
1
0
Fork
You've already forked pkg-proxy
1
mirror of https://github.com/git-pkgs/proxy.git synced 2026-08-24 12:54:58 -04:00
Commit graph pkg-proxy/internal/handler/swift_test.go
Author SHA1 Message Date
Andrew Nesbitt
0a64d9ad9a
Address review: upstream-hash refetch and cache PURL cleanup
- Re-fetch instead of 502 when a cached artifact's hash disagrees with
  the upstream-declared checksum; log and discard the stale entry.
- Rename expectedHash to upstreamHash and document how the check
  differs from checkCache's stream integrity verification.
- Drop the repository_url qualifier from swift cache PURLs so cache
  entries survive an upstream.swift change, matching other ecosystems.
- Pass name to handleSourceArchiveHead instead of re-deriving it.
2026-08-20 09:18:05 +01:00
Andrew Nesbitt
535617197d
Handle Swift registry cache identities 2026-08-20 09:01:33 +01:00
Andrew Nesbitt
92cae1e1e7
Canonicalize Swift package identifiers 2026-08-20 09:00:20 +01:00
Andrew Nesbitt
53f2fee3c3
Fix Swift registry pagination and archive HEAD requests 2026-08-20 09:00:20 +01:00
Andrew Nesbitt
0af8d6b654
Fix Swift archive integrity handling 2026-08-20 09:00:20 +01:00
Andrew Nesbitt
38264bdd65
Add Swift package registry support 2026-08-20 09:00:19 +01:00