Watch
1
0
Fork
You've already forked pkg-proxy
1
mirror of https://github.com/git-pkgs/proxy.git synced 2026-09-16 07:42:05 -04:00
pkg-proxy/internal
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Andrew Nesbitt d950919608
Use shared artifacts at cache boundaries (#267)
* Use shared artifacts at cache boundaries

* Address artifact cache review

* Defer cached artifact validation to checkCache

Construct artifacts.Artifact from the row without validation so a
malformed content hash reaches newIntegrityChecks in checkCache, which
clears the row and treats the request as a miss. Erroring at the DB
boundary instead surfaced a 500 and left the bad row in place.

* Build stored Artifact after digest and scan checks

Construct the shared artifact struct from trusted storage output as a
literal, after the hash-mismatch and scanner paths that delete failed
downloads, so no path between Store and updateCacheDB can leave bytes
in storage without a database row.
2026-09-04 10:58:22 +01:00
..
accesslog Add JSONL access logging (#269) 2026-08-16 18:07:39 +01:00
config Add Homebrew JSON API and bottle proxy support (#254) 2026-09-03 16:59:12 +01:00
database Use shared artifacts at cache boundaries (#267) 2026-09-04 10:58:22 +01:00
enrichment Add Swift package registry support (#259) 2026-09-02 13:06:34 +01:00
handler Use shared artifacts at cache boundaries (#267) 2026-09-04 10:58:22 +01:00
httpclient fix(oci): retry transient token requests (#281) 2026-08-25 13:23:09 +01:00
metrics Add pre-cache artifact scanning hook (trivy/ClamAV/Wiz/custom) (#298) 2026-09-03 10:06:44 +01:00
mirror Use shared artifacts at cache boundaries (#267) 2026-09-04 10:58:22 +01:00
packageurl Add Swift package registry support (#259) 2026-09-02 13:06:34 +01:00
scanner Add pre-cache artifact scanning hook (trivy/ClamAV/Wiz/custom) (#298) 2026-09-03 10:06:44 +01:00
server Add Homebrew JSON API and bottle proxy support (#254) 2026-09-03 16:59:12 +01:00
storage Add GCS storage backend with lighter dependencies (#179) 2026-08-29 11:23:07 +01:00