From 36e23e9a2be61b3e0b47493594a915023f9da4a9 Mon Sep 17 00:00:00 2001 From: benvin Date: Tue, 21 Jul 2026 22:33:01 +1000 Subject: [PATCH] Proxy iplocate IP databases via the existing github remote Add patterns to the github.com generic remote for the iplocate ip-to-asn / ip-to-country databases rather than standing up a new remote. The files are Git-LFS, so the /raw/ path redirects to media.githubusercontent.com; the github remote already follows github's cross-host redirects (as it does for release assets), and the raw path returns the real bytes (verified: 12MB zip / 78MB mmdb). Marked mutable (branch content). --- config/remote_generic/github.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/config/remote_generic/github.yaml b/config/remote_generic/github.yaml index f3a3d0f..6b1fadf 100644 --- a/config/remote_generic/github.yaml +++ b/config/remote_generic/github.yaml @@ -5,6 +5,9 @@ mutable_ttl: 7200 mutable_patterns: - ".*/archive/refs/heads/.*.tar.gz$" - "stalwartlabs/webadmin/releases/latest/download/webadmin.zip$" + # iplocate IP databases (Git-LFS; the /raw/ path redirects to the LFS media host). + - "iplocate/ip-address-databases/raw/.*/ip-to-asn/.*" + - "iplocate/ip-address-databases/raw/.*/ip-to-country/.*" patterns: - ".*/archive/refs/tags/.*.tar.gz$" - "ahmetb/kubectx/.*/kubectx_.*_linux_x86_64.tar.gz$"