Watch
1
0
Fork
You've already forked pkg-proxy
1
mirror of https://github.com/git-pkgs/proxy.git synced 2026-11-09 23:59:16 -05:00
pkg-proxy/internal/server
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Andrew Nesbitt 7e35cfc4dd
Merge pull request #483 from gilesw/feat/upstream-retry-after
Hold requests to an upstream that rate limits the proxy
2026-10-15 16:27:51 +01:00
..
static Serve diff2html from the proxy instead of jsDelivr 2026-10-14 08:37:43 +02:00
templates Merge pull request #475 from git-pkgs/fix/browse-encode-file-path 2026-10-14 16:50:51 +01:00
analytics.go List recent failures under each failure count on /ui/analytics 2026-10-12 11:57:15 +02:00
analytics_coverage_test.go Isolate the recent failure history in tests 2026-10-12 18:44:12 +02:00
analytics_donut.go Add the /ui/analytics page 2026-10-01 16:15:03 +02:00
analytics_donut_test.go Add the /ui/analytics page 2026-10-01 16:15:03 +02:00
analytics_failures_test.go Isolate the recent failure history in tests 2026-10-12 18:44:12 +02:00
analytics_runtime.go List recent failures under each failure count on /ui/analytics 2026-10-12 11:57:15 +02:00
analytics_runtime_test.go List recent failures under each failure count on /ui/analytics 2026-10-12 11:57:15 +02:00
analytics_test.go Add the /ui/analytics page 2026-10-01 16:15:03 +02:00
api.go fix: decode PURL percent-encoding in versions and package paths (#244) 2026-08-14 10:38:08 +01:00
api_test.go Validate package paths before database lookups (#109) 2026-05-03 09:14:18 +01:00
breakers.go Report upstream circuit breaker state in /health and /metrics (#275) 2026-09-02 12:52:32 +01:00
breakers_test.go Hold requests to an upstream that rate limits the proxy 2026-10-14 21:35:17 +01:00
browse.go Limit how many version diffs run at once 2026-10-14 08:41:57 +02:00
browse_archive.go Stream archives when listing and reading browsed files (#408) 2026-10-10 07:34:31 +01:00
browse_archive_test.go Encode file paths when loading files in the source browser 2026-10-14 11:58:16 +01:00
browse_bench_test.go Avoid repeated content type path lookup 2026-08-01 11:22:13 +01:00
browse_test.go Limit how many version diffs run at once 2026-10-14 08:41:57 +02:00
cooldown_patterns_test.go Add cooldown package pattern overrides (#407) 2026-10-04 20:48:41 +01:00
dashboard.go Arch Linux pacman repositories are now proxied at /arch/{name}/, with geo.mirror.pkgbuild.com as the built-in archlinux repository and more mirrors configurable under upstream.arch. Databases and file lists go through the metadata cache byte for byte, and a database signature is refreshed together with its database so the two always match. Packages and package signatures go to the artifact cache and stay available offline. The path is passed through unchanged, so Arch Linux ARM's $arch/$repo layout works too. README, config example, configuration docs and the dashboard have pacman instructions. 2026-10-12 00:02:02 +02:00
detached_fetch_test.go Give the detached fetch test time on slow runners 2026-10-14 18:14:06 +02:00
ecosystem_cache.go Add the /ui/analytics page 2026-10-01 16:15:03 +02:00
ecosystem_cache_test.go Add the /ui/analytics page 2026-10-01 16:15:03 +02:00
ecr_auth.go Add ECR auto-refreshing upstream authentication (#278) 2026-09-02 12:43:43 +01:00
ecr_auth_test.go Add ECR auto-refreshing upstream authentication (#278) 2026-09-02 12:43:43 +01:00
errors.go Add a hosted config block and a bearer token check for writes 2026-10-14 13:23:19 +02:00
errors_test.go Structured JSON error responses for API endpoints (#110) 2026-05-03 09:42:03 +01:00
eviction.go Add age-based retention for cached artifacts (#428) 2026-10-12 09:06:01 +01:00
eviction_test.go Clear before deleting on eviction, and requeue failed reclaims 2026-09-29 10:24:22 -07:00
go_sumdbs_test.go Serve the Go checksum database from its own URL 2026-10-13 16:41:53 +02:00
gradle_cache_eviction.go Add .golangci.yml and clear gocognit/goconst findings (#113) 2026-05-05 10:25:17 +01:00
gradle_cache_eviction_test.go add Gradle Build Cache support with handler and tests (#87) 2026-05-04 11:15:16 +01:00
health.go Hold requests to an upstream that rate limits the proxy 2026-10-14 21:35:17 +01:00
health_test.go Widen wall-clock bound in flaky probe timeout test 2026-09-22 08:46:40 +01:00
helm_test.go fix(helm): support OCI references in HTTP repository indexes 2026-09-19 14:39:29 +05:30
hosted_api.go Read the package manifest of pushed archives 2026-10-14 13:23:19 +02:00
hosted_api_test.go List pushed Composer versions in package metadata 2026-10-14 13:23:19 +02:00
hosted_archives_test.go Read the package manifest of pushed archives 2026-10-14 13:23:19 +02:00
hosted_auth.go Add a hosted config block and a bearer token check for writes 2026-10-14 13:23:19 +02:00
hosted_auth_test.go Fix leftover /api/packages references to the hosted endpoints 2026-10-14 13:23:19 +02:00
layout.go Show build information in web UI (#257) 2026-08-21 09:25:02 +01:00
middleware.go Sandbox upstream content on package routes 2026-10-14 17:53:48 +02:00
middleware_test.go Arch Linux pacman repositories are now proxied at /arch/{name}/, with geo.mirror.pkgbuild.com as the built-in archlinux repository and more mirrors configurable under upstream.arch. Databases and file lists go through the metadata cache byte for byte, and a database signature is refreshed together with its database so the two always match. Packages and package signatures go to the artifact cache and stay available offline. The path is passed through unchanged, so Arch Linux ARM's $arch/$repo layout works too. README, config example, configuration docs and the dashboard have pacman instructions. 2026-10-12 00:02:02 +02:00
mirror_api.go Structured JSON error responses for API endpoints (#110) 2026-05-03 09:42:03 +01:00
mirror_api_test.go Accept inline SBOM documents in mirror API (#294) 2026-09-02 12:26:29 +01:00
mirror_proxy_test.go proxy mirror and the mirror API now pre-fetch container images from pkg:docker and pkg:oci PURLs: the mirror walks index, platform manifests (with their attestations) and blobs through the container handler, so a later pull is served from cache even when the upstream is down. A --platform filter (platforms in the API) limits multi-arch images, repository_url only resolves to configured registries, and names, tags and digests are validated before anything is fetched. 2026-10-12 00:20:10 +02:00
oci_mirrors_test.go Route containerd ns mirror requests to configured registries (#405) 2026-10-10 07:35:50 +01:00
package_routes_test.go Add package routes for private Composer and npm registries (#426) 2026-10-11 18:06:18 +01:00
packages_list_page_test.go Filter cached packages by ecosystem using pills (#319) 2026-10-05 08:20:36 +01:00
packages_list_test.go Fix all golangci-lint issues across the codebase (#32) 2026-03-18 10:59:29 +00:00
query_in_path_test.go Reject package requests with ? or # in the decoded path (#437) 2026-10-12 08:42:38 +01:00
reclaim.go Add age-based retention for cached artifacts (#428) 2026-10-12 09:06:01 +01:00
reclaim_test.go Clear before deleting on eviction, and requeue failed reclaims 2026-09-29 10:24:22 -07:00
relay_test.go fix: centralize pass-through response relaying 2026-09-26 15:44:28 +05:30
resolve.go fix: decode PURL percent-encoding in versions and package paths (#244) 2026-08-14 10:38:08 +01:00
resolve_test.go fix: decode PURL percent-encoding in versions and package paths (#244) 2026-08-14 10:38:08 +01:00
retention.go Add age-based retention for cached artifacts (#428) 2026-10-12 09:06:01 +01:00
retention_alpine_test.go Enable storage retention for alpine 2026-10-12 10:23:27 +02:00
retention_cargo_test.go Enable storage retention for cargo 2026-10-12 16:16:22 +01:00
retention_composer_test.go Enable storage retention for composer 2026-10-12 16:23:36 +01:00
retention_conan_test.go Enable storage retention for conan 2026-10-12 16:29:59 +01:00
retention_conda_test.go Enable storage retention for conda 2026-10-12 19:56:45 +02:00
retention_cran_test.go Enable storage retention for cran 2026-10-12 10:23:27 +02:00
retention_deb_test.go Enable storage retention for deb 2026-10-13 20:08:24 +02:00
retention_gem_test.go Enable storage retention for gem 2026-10-12 15:24:20 +02:00
retention_golang_test.go Enable storage retention for golang (#442) 2026-10-12 13:04:16 +01:00
retention_helm_test.go Enable storage retention for helm 2026-10-12 15:24:20 +02:00
retention_hex_test.go Enable storage retention for hex 2026-10-12 19:56:45 +02:00
retention_julia_test.go Enable storage retention for julia 2026-10-12 15:24:20 +02:00
retention_maven_test.go Enable storage retention for maven (#444) 2026-10-12 12:58:09 +01:00
retention_npm_test.go Enable storage retention for npm (#440) 2026-10-12 13:21:38 +01:00
retention_nuget_test.go Store mirrored NuGet ids lowercased 2026-10-12 19:56:38 +02:00
retention_oci_test.go Enable storage retention for oci (#443) 2026-10-12 13:00:57 +01:00
retention_pub_test.go Enable storage retention for pub 2026-10-12 15:24:21 +02:00
retention_pypi_test.go Enable storage retention for pypi (#441) 2026-10-12 13:06:37 +01:00
retention_rpm_test.go Enable storage retention for rpm 2026-10-12 15:24:21 +02:00
retention_swift_test.go Enable storage retention for swift 2026-10-12 16:35:51 +01:00
retention_test.go Add age-based retention for cached artifacts (#428) 2026-10-12 09:06:01 +01:00
server.go Merge pull request #483 from gilesw/feat/upstream-retry-after 2026-10-15 16:27:51 +01:00
server_test.go Serve diff2html from the proxy instead of jsDelivr 2026-10-14 08:37:43 +02:00
sources.go Arch Linux pacman repositories are now proxied at /arch/{name}/, with geo.mirror.pkgbuild.com as the built-in archlinux repository and more mirrors configurable under upstream.arch. Databases and file lists go through the metadata cache byte for byte, and a database signature is refreshed together with its database so the two always match. Packages and package signatures go to the artifact cache and stay available offline. The path is passed through unchanged, so Arch Linux ARM's $arch/$repo layout works too. README, config example, configuration docs and the dashboard have pacman instructions. 2026-10-12 00:02:02 +02:00
sources_test.go Arch Linux pacman repositories are now proxied at /arch/{name}/, with geo.mirror.pkgbuild.com as the built-in archlinux repository and more mirrors configurable under upstream.arch. Databases and file lists go through the metadata cache byte for byte, and a database signature is refreshed together with its database so the two always match. Packages and package signatures go to the artifact cache and stay available offline. The path is passed through unchanged, so Arch Linux ARM's $arch/$repo layout works too. README, config example, configuration docs and the dashboard have pacman instructions. 2026-10-12 00:02:02 +02:00
static.go Add Container, Debian, RPM handlers and enrichment API 2026-01-29 19:35:15 +00:00
stats_test.go Report the per-ecosystem breakdown from GET /stats 2026-10-01 16:15:03 +02:00
swagger_gen.go Add pre-cache artifact scanning hook (trivy/ClamAV/Wiz/custom) (#298) 2026-09-03 10:06:44 +01:00
templates.go Filter cached packages by ecosystem using pills (#319) 2026-10-05 08:20:36 +01:00
templates_handlers_test.go Stop interpolating archive paths into inline handlers 2026-10-14 08:37:40 +02:00
templates_test.go Serve diff2html from the proxy instead of jsDelivr 2026-10-14 08:37:43 +02:00
transport_test.go fix(server): tune the shared upstream transport defaults (#351) 2026-09-16 08:11:06 +01:00
untrusted_content_test.go Sandbox upstream content on package routes 2026-10-14 17:53:48 +02:00
upstream_auth_redirect_test.go Stop forwarding custom auth headers across redirects 2026-10-14 08:38:51 +02:00