Skip to content

Move away from raw.githubusercontent.com #672

@jonasmalacofilho

Description

@jonasmalacofilho

In may GitHub lowered the rate limit for unauthenticated users to 60 requests/hour, which is pretty tight. And, in practice, that very low limit also seems to apply even to authenticated raw.githubusercontent.com requests.

Now raw.githubusercontent.com has been inaccessible from South America for most of the past 5 days, either due to a misconfigured rate limit = 0 or a straight up geoblock.

While a partial workaround is to locally change the import URLs to use jsDelivr, cargo vet still relies on the canonical location of the registry, as well as any URLs in it, for suggestions.

Therefore, could we move both the registry and its entries off of raw.githubusercontent.com?

Serving them through jsDelivr (or another similar service), if acceptable, would be the simplest approach, since it wouldn't require cooperation from the audit providers, or use of the GitHub API.

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