follow-on to #1467 / #1476. the stats image bundles DB-IP's country CSV as an http_file pinned by URL and sha256 (bazel/tools.MODULE.bazel). the build depends on download.db-ip.com serving the pinned month; DB-IP keeps old months up today, but a removed file or an outage means the stats image cannot be rebuilt until the pin is bumped.
host a copy of each pinned file somewhere we control — the stats bucket under a public-read prefix, or a release asset — and list it as a second entry in the http_file's urls, so bazel falls through to it when the primary is gone. the sha256 pin keeps both honest. also worth a note in the stats README on how a pin bump is done.
follow-on to #1467 / #1476. the stats image bundles DB-IP's country CSV as an http_file pinned by URL and sha256 (bazel/tools.MODULE.bazel). the build depends on download.db-ip.com serving the pinned month; DB-IP keeps old months up today, but a removed file or an outage means the stats image cannot be rebuilt until the pin is bumped.
host a copy of each pinned file somewhere we control — the stats bucket under a public-read prefix, or a release asset — and list it as a second entry in the http_file's
urls, so bazel falls through to it when the primary is gone. the sha256 pin keeps both honest. also worth a note in the stats README on how a pin bump is done.