Skip to content

stats: host a fallback for the DB-IP country file #1478

Description

@aaylward

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions