2026-01-20 21:52:44 +00:00
|
|
|
module github.com/git-pkgs/proxy
|
|
|
|
|
|
2026-08-29 11:23:07 +01:00
|
|
|
go 1.26.7
|
2026-08-16 18:22:26 +01:00
|
|
|
|
2026-10-23 09:57:37 +02:00
|
|
|
toolchain go1.27.3
|
|
|
|
|
|
2026-01-20 21:52:44 +00:00
|
|
|
require (
|
2026-05-13 06:46:35 +01:00
|
|
|
github.com/BurntSushi/toml v1.6.0
|
2026-09-20 14:42:30 +05:30
|
|
|
github.com/Masterminds/semver/v3 v3.5.0
|
2026-10-20 12:29:22 +01:00
|
|
|
github.com/aws/aws-sdk-go-v2/config v1.33.9
|
|
|
|
|
github.com/aws/aws-sdk-go-v2/service/ecr v1.66.5
|
2026-10-29 15:14:22 +00:00
|
|
|
github.com/git-pkgs/archives v0.10.0
|
2026-09-04 13:13:09 +01:00
|
|
|
github.com/git-pkgs/artifacts v0.2.1
|
2026-10-20 08:53:22 +01:00
|
|
|
github.com/git-pkgs/cooldown v0.3.0
|
2026-10-31 09:49:35 +00:00
|
|
|
github.com/git-pkgs/enrichment v0.7.5
|
2026-08-29 11:23:07 +01:00
|
|
|
github.com/git-pkgs/gcs v0.1.0
|
2026-10-14 16:43:11 +02:00
|
|
|
github.com/git-pkgs/integrity v0.2.0
|
2026-10-29 15:13:56 +00:00
|
|
|
github.com/git-pkgs/magic v0.6.0
|
2026-10-31 09:49:35 +00:00
|
|
|
github.com/git-pkgs/purl v0.2.1
|
|
|
|
|
github.com/git-pkgs/registries v0.13.0
|
2026-10-20 09:14:09 +01:00
|
|
|
github.com/git-pkgs/sbom v0.1.7
|
2026-10-01 16:06:12 +01:00
|
|
|
github.com/git-pkgs/spdx v0.3.3
|
2026-10-20 12:29:22 +01:00
|
|
|
github.com/go-chi/chi/v5 v5.5.0
|
2026-01-29 16:06:56 +00:00
|
|
|
github.com/jmoiron/sqlx v1.4.0
|
2026-10-29 15:14:17 +00:00
|
|
|
github.com/klauspost/compress v1.20.3
|
2026-04-16 15:16:53 +00:00
|
|
|
github.com/lib/pq v1.12.3
|
2026-09-04 10:58:22 +01:00
|
|
|
github.com/opencontainers/go-digest v1.0.0
|
2026-10-15 15:16:44 +00:00
|
|
|
github.com/prometheus/client_golang v1.25.0
|
2026-09-13 22:38:31 -04:00
|
|
|
github.com/prometheus/client_model v0.6.3
|
2026-03-26 15:58:50 +00:00
|
|
|
github.com/swaggo/swag v1.16.6
|
Serve conda sharded repodata through cooldown and the cache
The shard index (repodata_shards.msgpack.zst) and the shards of CEP 16
fell through to the uncached passthrough, so clients that use them, such
as pixi, got no cooldown filtering and no offline copy.
Without cooldown, the index and shards are now served through the
metadata cache. With cooldown, shards have to be filtered, but clients
cache them by the hash in the index and never fetch a hash twice. The
proxy rewrites the index instead: each hash is XORed with a mask derived
from channel, subdir and the current hour, and shards_base_url points at
cooldown-shards/{hour}/. That route undoes the mask, fetches the
upstream shard and drops records still in cooldown. The unmasked shard
paths answer 404 while cooldown is on.
When the index puts packages or shards somewhere the proxy doesn't
route, or has an unknown version, the proxy answers 404 and clients fall
back to repodata.json, which is filtered as before.
Fixes #529
2026-10-23 12:07:01 +02:00
|
|
|
github.com/vmihailenco/msgpack/v5 v5.4.1
|
2026-10-20 12:29:22 +01:00
|
|
|
gocloud.dev v0.47.0
|
|
|
|
|
golang.org/x/mod v0.42.0
|
2026-10-31 21:14:53 +01:00
|
|
|
golang.org/x/net v0.62.0
|
2026-10-15 15:15:16 +00:00
|
|
|
golang.org/x/sync v0.24.0
|
2026-08-14 11:44:00 +01:00
|
|
|
google.golang.org/protobuf v1.36.12
|
2026-01-20 21:52:44 +00:00
|
|
|
gopkg.in/yaml.v3 v3.0.1
|
2026-10-29 15:14:31 +00:00
|
|
|
modernc.org/sqlite v1.61.0
|
2026-01-20 21:52:44 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
|
|
require (
|
2026-10-20 12:29:22 +01:00
|
|
|
cloud.google.com/go/auth v0.23.2 // indirect
|
2026-04-27 12:04:38 +01:00
|
|
|
cloud.google.com/go/auth/oauth2adapt v0.2.8 // indirect
|
2026-03-04 09:09:13 +00:00
|
|
|
cloud.google.com/go/compute/metadata v0.9.0 // indirect
|
2026-10-20 12:29:22 +01:00
|
|
|
github.com/Azure/azure-sdk-for-go/sdk/azcore v1.23.1 // indirect
|
|
|
|
|
github.com/Azure/azure-sdk-for-go/sdk/azidentity v1.14.1 // indirect
|
|
|
|
|
github.com/Azure/azure-sdk-for-go/sdk/internal v1.12.0 // indirect
|
|
|
|
|
github.com/Azure/azure-sdk-for-go/sdk/storage/azblob v1.8.0 // indirect
|
|
|
|
|
github.com/AzureAD/microsoft-authentication-library-for-go v1.9.0 // indirect
|
2026-03-11 17:18:29 +00:00
|
|
|
github.com/KyleBanks/depth v1.2.1 // indirect
|
|
|
|
|
github.com/PuerkitoBio/purell v1.1.1 // indirect
|
|
|
|
|
github.com/PuerkitoBio/urlesc v0.0.0-20170810143723-de5bf2ad4578 // indirect
|
2026-01-29 19:35:15 +00:00
|
|
|
github.com/apapsch/go-jsonmerge/v2 v2.0.0 // indirect
|
2026-10-20 12:29:22 +01:00
|
|
|
github.com/aws/aws-sdk-go-v2 v1.47.3 // indirect
|
|
|
|
|
github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream v1.7.20 // indirect
|
|
|
|
|
github.com/aws/aws-sdk-go-v2/credentials v1.20.9 // indirect
|
|
|
|
|
github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.20.3 // indirect
|
|
|
|
|
github.com/aws/aws-sdk-go-v2/feature/s3/transfermanager v0.4.3 // indirect
|
|
|
|
|
github.com/aws/aws-sdk-go-v2/internal/configsources v1.5.6 // indirect
|
|
|
|
|
github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.8.6 // indirect
|
|
|
|
|
github.com/aws/aws-sdk-go-v2/internal/v4a v1.5.6 // indirect
|
|
|
|
|
github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.13.21 // indirect
|
|
|
|
|
github.com/aws/aws-sdk-go-v2/service/internal/checksum v1.11.2 // indirect
|
|
|
|
|
github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.14.6 // indirect
|
|
|
|
|
github.com/aws/aws-sdk-go-v2/service/internal/s3shared v1.20.2 // indirect
|
|
|
|
|
github.com/aws/aws-sdk-go-v2/service/s3 v1.111.0 // indirect
|
|
|
|
|
github.com/aws/aws-sdk-go-v2/service/signin v1.10.4 // indirect
|
|
|
|
|
github.com/aws/aws-sdk-go-v2/service/sso v1.38.4 // indirect
|
|
|
|
|
github.com/aws/aws-sdk-go-v2/service/ssooidc v1.43.4 // indirect
|
|
|
|
|
github.com/aws/aws-sdk-go-v2/service/sts v1.51.4 // indirect
|
|
|
|
|
github.com/aws/smithy-go v1.28.5 // indirect
|
2026-02-03 22:40:23 +00:00
|
|
|
github.com/beorn7/perks v1.0.1 // indirect
|
2026-02-20 08:47:14 +00:00
|
|
|
github.com/cenk/backoff v2.2.1+incompatible // indirect
|
2026-02-03 22:40:23 +00:00
|
|
|
github.com/cespare/xxhash/v2 v2.3.0 // indirect
|
2026-10-29 15:14:31 +00:00
|
|
|
github.com/dustin/go-humanize v1.1.0 // indirect
|
2026-10-01 15:25:11 +01:00
|
|
|
github.com/ecosyste-ms/ecosystems-go v0.5.0 // indirect
|
2026-02-03 22:40:23 +00:00
|
|
|
github.com/facebookgo/clock v0.0.0-20150410010913-600d898af40a // indirect
|
2026-10-01 16:06:12 +01:00
|
|
|
github.com/git-pkgs/pom v0.1.8 // indirect
|
2026-10-24 17:08:22 +02:00
|
|
|
github.com/git-pkgs/vers v0.7.2 // indirect
|
|
|
|
|
github.com/git-pkgs/vulns v0.2.4 // indirect
|
2026-05-22 19:51:49 +01:00
|
|
|
github.com/github/go-spdx/v2 v2.7.0 // indirect
|
2026-09-22 07:38:12 +00:00
|
|
|
github.com/go-logr/logr v1.4.4 // indirect
|
2026-01-29 16:13:16 +00:00
|
|
|
github.com/go-logr/stdr v1.2.2 // indirect
|
2026-03-11 17:18:29 +00:00
|
|
|
github.com/go-openapi/jsonpointer v0.19.5 // indirect
|
|
|
|
|
github.com/go-openapi/jsonreference v0.19.6 // indirect
|
|
|
|
|
github.com/go-openapi/spec v0.20.4 // indirect
|
|
|
|
|
github.com/go-openapi/swag v0.19.15 // indirect
|
2026-06-11 16:26:21 +01:00
|
|
|
github.com/golang-jwt/jwt/v5 v5.3.1 // indirect
|
2026-04-27 12:04:38 +01:00
|
|
|
github.com/google/s2a-go v0.1.9 // indirect
|
2026-01-20 21:52:44 +00:00
|
|
|
github.com/google/uuid v1.6.0 // indirect
|
2026-01-29 16:13:16 +00:00
|
|
|
github.com/google/wire v0.7.0 // indirect
|
2026-10-20 12:29:22 +01:00
|
|
|
github.com/googleapis/enterprise-certificate-proxy v0.3.21 // indirect
|
|
|
|
|
github.com/googleapis/gax-go/v2 v2.24.1 // indirect
|
2026-03-11 17:18:29 +00:00
|
|
|
github.com/josharian/intern v1.0.0 // indirect
|
2026-04-27 12:04:38 +01:00
|
|
|
github.com/kylelemons/godebug v1.1.0 // indirect
|
2026-03-11 17:18:29 +00:00
|
|
|
github.com/mailru/easyjson v0.7.7 // indirect
|
2026-08-06 22:14:51 +01:00
|
|
|
github.com/mattn/go-isatty v0.0.24 // indirect
|
2026-02-03 22:40:23 +00:00
|
|
|
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect
|
2026-10-29 15:14:31 +00:00
|
|
|
github.com/ncruces/go-strftime v1.1.0 // indirect
|
2026-08-14 12:17:14 +01:00
|
|
|
github.com/oapi-codegen/nullable v1.2.0 // indirect
|
2026-10-01 15:25:11 +01:00
|
|
|
github.com/oapi-codegen/runtime v1.7.0 // indirect
|
2026-08-27 18:33:02 +01:00
|
|
|
github.com/package-url/packageurl-go v0.1.7 // indirect
|
2026-09-04 13:13:09 +01:00
|
|
|
github.com/pandatix/go-cvss v0.6.4 // indirect
|
2026-04-27 12:04:38 +01:00
|
|
|
github.com/pkg/browser v0.0.0-20240102092130-5ac0b6a4141c // indirect
|
2026-10-15 15:16:44 +00:00
|
|
|
github.com/prometheus/common v0.72.0 // indirect
|
|
|
|
|
github.com/prometheus/procfs v0.22.0 // indirect
|
2026-01-20 21:52:44 +00:00
|
|
|
github.com/remyoudompheng/bigfft v0.0.0-20230129092748-24d4a6f8daec // indirect
|
2026-08-21 09:26:27 +01:00
|
|
|
github.com/rogpeppe/go-internal v1.16.0 // indirect
|
2026-02-20 08:47:14 +00:00
|
|
|
github.com/rs/dnscache v0.0.0-20230804202142-fc85eb664529 // indirect
|
|
|
|
|
github.com/rubyist/circuitbreaker v2.2.1+incompatible // indirect
|
2026-10-20 11:41:18 +01:00
|
|
|
github.com/ulikunitz/xz v0.5.17 // indirect
|
Serve conda sharded repodata through cooldown and the cache
The shard index (repodata_shards.msgpack.zst) and the shards of CEP 16
fell through to the uncached passthrough, so clients that use them, such
as pixi, got no cooldown filtering and no offline copy.
Without cooldown, the index and shards are now served through the
metadata cache. With cooldown, shards have to be filtered, but clients
cache them by the hash in the index and never fetch a hash twice. The
proxy rewrites the index instead: each hash is XORed with a mask derived
from channel, subdir and the current hour, and shards_base_url points at
cooldown-shards/{hour}/. That route undoes the mask, fetches the
upstream shard and drops records still in cooldown. The unmasked shard
paths answer 404 while cooldown is on.
When the index puts packages or shards somewhere the proxy doesn't
route, or has an unknown version, the proxy answers 404 and clients fall
back to repodata.json, which is filtered as before.
Fixes #529
2026-10-23 12:07:01 +02:00
|
|
|
github.com/vmihailenco/tagparser/v2 v2.0.0 // indirect
|
2026-02-03 22:53:40 +00:00
|
|
|
go.opentelemetry.io/auto/sdk v1.2.1 // indirect
|
2026-10-20 12:29:22 +01:00
|
|
|
go.opentelemetry.io/otel v1.46.0 // indirect
|
|
|
|
|
go.opentelemetry.io/otel/metric v1.46.0 // indirect
|
|
|
|
|
go.opentelemetry.io/otel/sdk v1.46.0 // indirect
|
|
|
|
|
go.opentelemetry.io/otel/sdk/metric v1.46.0 // indirect
|
|
|
|
|
go.opentelemetry.io/otel/trace v1.46.0 // indirect
|
2026-08-21 09:26:27 +01:00
|
|
|
go.yaml.in/yaml/v3 v3.0.5 // indirect
|
2026-10-20 12:29:22 +01:00
|
|
|
golang.org/x/crypto v0.58.0 // indirect
|
2026-10-15 15:16:44 +00:00
|
|
|
golang.org/x/oauth2 v0.37.0 // indirect
|
2026-10-20 12:29:22 +01:00
|
|
|
golang.org/x/sys v0.49.0 // indirect
|
|
|
|
|
golang.org/x/text v0.43.0 // indirect
|
2026-10-29 15:14:31 +00:00
|
|
|
golang.org/x/tools v0.52.0 // indirect
|
2026-01-29 16:13:16 +00:00
|
|
|
golang.org/x/xerrors v0.0.0-20240903120638-7835f813f4da // indirect
|
2026-10-20 12:29:22 +01:00
|
|
|
google.golang.org/api v0.297.0 // indirect
|
|
|
|
|
google.golang.org/genproto/googleapis/rpc v0.0.0-20260904194346-d0f1323225a4 // indirect
|
2026-09-15 20:05:41 +01:00
|
|
|
google.golang.org/grpc v1.83.2 // indirect
|
2026-02-20 07:59:32 +00:00
|
|
|
gopkg.in/yaml.v2 v2.4.0 // indirect
|
2026-10-29 15:14:31 +00:00
|
|
|
modernc.org/libc v1.79.0 // indirect
|
2026-01-21 20:04:41 +00:00
|
|
|
modernc.org/mathutil v1.7.1 // indirect
|
2026-09-13 22:36:45 -04:00
|
|
|
modernc.org/memory v1.12.1 // indirect
|
2026-01-20 21:52:44 +00:00
|
|
|
)
|