1
0
Fork 1
mirror of https://github.com/git-pkgs/proxy.git synced 2026-07-07 06:43:20 -04:00
pkg-proxy/internal/handler
Andrew Nesbitt 599fe9e254
Fix all golangci-lint issues across the codebase (#32)
* Fix all golangci-lint issues across the codebase

Resolve 77 lint issues reported by golangci-lint with gocritic, gocognit,
gocyclo, maintidx, dupl, mnd, unparam, ireturn, goconst, and errcheck
enabled. Net reduction of ~175 lines through shared helpers and
deduplication.

* Suppress staticcheck SA1019 for intentional deprecated field usage

The Storage.Path field is deprecated but still read for backwards
compatibility with existing configs that haven't migrated to the URL field.
2026-03-18 10:59:29 +00:00
..
cargo.go Fix all golangci-lint issues across the codebase (#32) 2026-03-18 10:59:29 +00:00
cargo_test.go Route handler metadata requests through Proxy.HTTPClient instead of http.DefaultClient 2026-03-13 07:46:28 +00:00
composer.go Fix all golangci-lint issues across the codebase (#32) 2026-03-18 10:59:29 +00:00
composer_test.go Add version cooldown to filter recently published packages 2026-03-04 19:00:31 +00:00
conan.go Route handler metadata requests through Proxy.HTTPClient instead of http.DefaultClient 2026-03-13 07:46:28 +00:00
conan_test.go Fix all golangci-lint issues across the codebase (#32) 2026-03-18 10:59:29 +00:00
conda.go Fix all golangci-lint issues across the codebase (#32) 2026-03-18 10:59:29 +00:00
conda_test.go Hello world 2026-01-20 22:00:31 +00:00
container.go Fix all golangci-lint issues across the codebase (#32) 2026-03-18 10:59:29 +00:00
container_test.go Add Container, Debian, RPM handlers and enrichment API 2026-01-29 19:35:15 +00:00
cran.go Fix all golangci-lint issues across the codebase (#32) 2026-03-18 10:59:29 +00:00
cran_test.go Hello world 2026-01-20 22:00:31 +00:00
debian.go Fix all golangci-lint issues across the codebase (#32) 2026-03-18 10:59:29 +00:00
debian_test.go Fix all golangci-lint issues across the codebase (#32) 2026-03-18 10:59:29 +00:00
download_test.go Fix all golangci-lint issues across the codebase (#32) 2026-03-18 10:59:29 +00:00
gem.go Route handler metadata requests through Proxy.HTTPClient instead of http.DefaultClient 2026-03-13 07:46:28 +00:00
gem_test.go Hello world 2026-01-20 22:00:31 +00:00
go.go Fix all golangci-lint issues across the codebase (#32) 2026-03-18 10:59:29 +00:00
go_test.go Hello world 2026-01-20 22:00:31 +00:00
handler.go Fix all golangci-lint issues across the codebase (#32) 2026-03-18 10:59:29 +00:00
handler_test.go Fix all golangci-lint issues across the codebase (#32) 2026-03-18 10:59:29 +00:00
hex.go Fix all golangci-lint issues across the codebase (#32) 2026-03-18 10:59:29 +00:00
hex_test.go Hello world 2026-01-20 22:00:31 +00:00
maven.go Fix all golangci-lint issues across the codebase (#32) 2026-03-18 10:59:29 +00:00
maven_test.go Hello world 2026-01-20 22:00:31 +00:00
npm.go Fix all golangci-lint issues across the codebase (#32) 2026-03-18 10:59:29 +00:00
npm_test.go Fix all golangci-lint issues across the codebase (#32) 2026-03-18 10:59:29 +00:00
nuget.go Route handler metadata requests through Proxy.HTTPClient instead of http.DefaultClient 2026-03-13 07:46:28 +00:00
nuget_test.go Add direct tests for handler core methods, template rendering, and query validation 2026-03-13 17:05:14 +00:00
path_traversal_test.go Reject path traversal in debian and rpm handlers 2026-03-12 12:05:52 +00:00
pub.go Fix all golangci-lint issues across the codebase (#32) 2026-03-18 10:59:29 +00:00
pub_test.go Add version cooldown to filter recently published packages 2026-03-04 19:00:31 +00:00
pypi.go Fix all golangci-lint issues across the codebase (#32) 2026-03-18 10:59:29 +00:00
pypi_test.go Add version cooldown to filter recently published packages 2026-03-04 19:00:31 +00:00
read_metadata_test.go Add size limits on request bodies and upstream metadata reads 2026-03-13 07:28:20 +00:00
rpm.go Fix all golangci-lint issues across the codebase (#32) 2026-03-18 10:59:29 +00:00
rpm_test.go Fix all golangci-lint issues across the codebase (#32) 2026-03-18 10:59:29 +00:00