Philipp Wollermann | 6e66846 | 2020-12-03 21:04:06 +0100 | [diff] [blame] | 1 | # mirror.bazel.build |
| 2 | |
| 3 | The Bazel team provides an HTTPS mirror for artifacts that projects in the `bazelbuild` organization reference from their WORKSPACE files. |
| 4 | |
| 5 | Only Bazel team members can upload files to the mirror. Uploads are done using a [simple script](https://github.com/bazelbuild/continuous-integration/blob/master/mirror/mirror.sh) that prevents mistakes like accidentally overwriting existing files. |
| 6 | |
| 7 | The base URL is https://mirror.bazel.build and we mirror files using their original URL starting with the hostname. |
| 8 | |
| 9 | ## Example |
| 10 | |
| 11 | ``` |
| 12 | Original: https://github.com/google/googletest/archive/release-1.10.0.tar.gz |
| 13 | Mirror: https://mirror.bazel.build/github.com/google/googletest/archive/release-1.10.0.tar.gz |
| 14 | ``` |