1
0
Fork 1
mirror of https://github.com/git-pkgs/proxy.git synced 2026-07-06 22:33:19 -04:00
pkg-proxy/internal
Andrew Nesbitt 67571a2ac8 Log actual database config instead of sqlite path
The startup log and /stats endpoint always reported Database.Path,
which is the sqlite default even when PROXY_DATABASE_DRIVER=postgres
is set and a postgres URL is in use. Add DatabaseConfig.String() that
returns the sqlite path or the postgres URL with the password redacted,
and use it in both places.

Fixes #173
2026-06-25 13:03:50 -04:00
..
config Log actual database config instead of sqlite path 2026-06-25 13:03:50 -04:00
database Add .golangci.yml and clear gocognit/goconst findings (#113) 2026-05-05 10:25:17 +01:00
enrichment Use shared github.com/git-pkgs/enrichment module 2026-02-06 10:37:00 +00:00
handler Make metadata size limit configurable (closes #149) (#150) 2026-06-02 07:59:00 +01:00
metrics Add storage backend probe to /health (closes #73) (#119) 2026-05-22 12:14:01 +01:00
mirror Apply 'go fmt' as suggested in CONTRIBUTING.md. 2026-04-18 07:43:22 -04:00
server Log actual database config instead of sqlite path 2026-06-25 13:03:50 -04:00
storage add Gradle Build Cache support with handler and tests (#87) 2026-05-04 11:15:16 +01:00