Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mirror URL for http_archive give 404s #1502

Closed
binoche9 opened this issue Aug 5, 2022 · 4 comments · Fixed by #1604 or #1607
Closed

Mirror URL for http_archive give 404s #1502

binoche9 opened this issue Aug 5, 2022 · 4 comments · Fixed by #1604 or #1607

Comments

@binoche9
Copy link

binoche9 commented Aug 5, 2022

If I use the following snippet from https://github.com/bazelbuild/rules_rust/releases/tag/0.8.1:

load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
    name = "rules_rust",
    sha256 = "05e15e536cc1e5fd7b395d044fc2dabf73d2b27622fbc10504b7e48219bb09bc",
    urls = [
        "https://mirror.bazel.build/github.com/bazelbuild/rules_rust/releases/download/0.8.1/rules_rust-v0.8.1.tar.gz",
        "https://github.com/bazelbuild/rules_rust/releases/download/0.8.1/rules_rust-v0.8.1.tar.gz",
    ],
)

I see the following warning:

WARNING: Download from https://mirror.bazel.build/github.com/bazelbuild/rules_rust/releases/download/0.8.1/rules_rust-v0.2.1.tar.gz failed: class java.io.FileNotFoundException GET returned 404 Not Found

Looking at https://mirror.bazel.build/ (and also manually guessing other URLs) it seems like none of the rules_rust versions are on the mirror repository - is it possible we're not properly uploading to there?

@silas-enf
Copy link

I was just searching slack for the same issue and saw another user put in their own request for 0.7.0 (bazelbuild/bazel#15881), so I just did the same for 0.8.0 and 0.8.1 (bazelbuild/bazel#16056).

It seems there may be an unresolved problem with the release process.

@iamricard
Copy link
Contributor

👋🏼 this seems to happen consistently (0.11.0 also returns a 404). how about the release notes omit the mirror until the issue is resolved? although i thought there was no automated process, just a Googler doing it

@UebelAndre
Copy link
Collaborator

Reopening until I’ve had time to remove references to the Google mirror from older release notes.

@UebelAndre
Copy link
Collaborator

The release notes have been updated. The only outstanding item is #1607

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants