Watch
1
0
Fork
You've already forked pkg-proxy
1
mirror of https://github.com/git-pkgs/proxy.git synced 2026-11-11 08:39:17 -05:00
pkg-proxy/internal/database
Repository files (latest commit first)
Filename Latest commit message Latest commit date
simon chrzanowski 3dae0fbae0
Stop UpsertPackage from clearing packages.source
The artifact source change added source = excluded.source to the packages upsert as well. source isn't in that INSERT's column list, so every package upsert set the column to NULL. The packages upsert is back to what it was, with a test that an existing source survives it.

Refs #133
2026-10-14 13:23:19 +02:00
..
analytics_test.go Per-ecosystem cache and download statistics 2026-10-01 16:15:03 +02:00
database.go Batch cache hit writes 2026-10-01 00:13:58 -07:00
database_test.go Add a metadata_dates table for rewritten metadata dates 2026-10-12 15:16:51 +02:00
hits.go Add age-based retention for cached artifacts (#428) 2026-10-12 09:06:01 +01:00
hits_test.go Keep hit timestamps from moving backwards 2026-10-01 08:21:55 -07:00
local_artifacts.go Read the package manifest of pushed archives 2026-10-14 13:23:19 +02:00
local_artifacts_test.go Stop UpsertPackage from clearing packages.source 2026-10-14 13:23:19 +02:00
metadata_cache_test.go On Postgres, metadata fetched_at is now stored in UTC, so metadata_ttl no longer expires hours late when the proxy runs east of UTC. Entries written before this expire late one last time and are stored in UTC on their next refresh. (#435) 2026-10-12 08:53:53 +01:00
metadata_dates.go Add a metadata_dates table for rewritten metadata dates 2026-10-12 15:16:51 +02:00
metadata_dates_test.go Test upgrading cached metadata through the metadata_dates migration 2026-10-12 16:11:49 +02:00
pending_deletes_test.go Give each fetch its own storage path 2026-09-23 16:14:43 -07:00
postgres_pool_test.go fix(database): set connection pool limits for Postgres (#350) 2026-09-16 08:13:38 +01:00
queries.go Stop UpsertPackage from clearing packages.source 2026-10-14 13:23:19 +02:00
queries_packages_list_test.go Filter cached packages by ecosystem using pills (#319) 2026-10-05 08:20:36 +01:00
retention.go Mark pushed artifacts as local and keep them out of eviction 2026-10-14 13:23:13 +02:00
retention_test.go Add age-based retention for cached artifacts (#428) 2026-10-12 09:06:01 +01:00
schema.go Read the package manifest of pushed archives 2026-10-14 13:23:19 +02:00
types.go Read the package manifest of pushed archives 2026-10-14 13:23:19 +02:00
version_purl_test.go fix: decode PURL percent-encoding in versions and package paths (#244) 2026-08-14 10:38:08 +01:00