@@ -38,7 +38,6 @@ def print_notes(org, repo, version, tarball_path, mirror_host=None,
3838 deps_method = deps_method , toolchains_method = toolchains_method )
3939 relnotes_template = string .Template (textwrap .dedent (
4040 """
41- ------------------------ snip ----------------------------
4241 **New Features**
4342
4443 **Incompatible Changes**
@@ -61,8 +60,6 @@ def print_notes(org, repo, version, tarball_path, mirror_host=None,
6160 **Using the rules**
6261
6362 See [the source](https://github.com/${org}/${repo}/tree/${version}).
64- ------------------------ snip ----------------------------
65-
6663 """ ).strip ())
6764 print (relnotes_template .substitute ({
6865 'changelog' : changelog ,
@@ -79,21 +76,27 @@ def print_notes(org, repo, version, tarball_path, mirror_host=None,
7976 version = version ,
8077 file = file
8178 )
82- mirroring_template = string .Template (textwrap .dedent (
83- """
84-
85- !!!: Make sure to copy the file to the release notes.
86- If you are using Google Cloud Storage, you might use a command like
87- gsutil cp bazel-bin/distro/${file} gs://bazel-mirror/${path}
88- gsutil setmeta -h "Cache-Control: public, max-age=31536000" "gs://bazel-mirror/${path}"
89- """ ).strip ())
90- print (mirroring_template .substitute ({
91- 'org' : org ,
92- 'repo' : repo ,
93- 'version' : version ,
94- 'file' : file ,
95- 'path' : path ,
96- }))
79+
80+ if False :
81+ # TODO: This matters for the Bazel team at Googel, who can mirror it, but
82+ # does not make sense for the rest of the world. Figure out if we should
83+ # keep it or not.
84+ mirroring_template = string .Template (textwrap .dedent (
85+ """
86+
87+ !!!: Make sure to copy the file to the release notes.
88+ If you are using Google Cloud Storage, you might use a command like
89+ gsutil cp bazel-bin/distro/${file} gs://bazel-mirror/${path}
90+ gsutil setmeta -h "Cache-Control: public, max-age=31536000" "gs://bazel-mirror/${path}"
91+ """ ).strip ())
92+
93+ print (mirroring_template .substitute ({
94+ 'org' : org ,
95+ 'repo' : repo ,
96+ 'version' : version ,
97+ 'file' : file ,
98+ 'path' : path ,
99+ }))
97100
98101
99102def main ():
0 commit comments