Index: tools/deps/dartium.deps/DEPS |
diff --git a/tools/deps/dartium.deps/DEPS b/tools/deps/dartium.deps/DEPS |
index b175a5430b65ea261a89e10a5357e62937a6f31f..643e165a74c096cfe6037bd8a4ad49283b76ee96 100644 |
--- a/tools/deps/dartium.deps/DEPS |
+++ b/tools/deps/dartium.deps/DEPS |
@@ -15,6 +15,20 @@ vars.update({ |
"dartium_webkit_branch": "/blink/branches/dart/2171_3/dartium", |
"dartium_webkit_revision": "199763", |
+ # We use mirrors of all github repos to guarantee reproducibility and |
+ # consistency between what users see and what the bots see. |
+ # We need the mirrors to not have 100+ bots pulling github constantly. |
+ # We mirror our github repos on chromium git servers. |
+ # DO NOT use this var if you don't see a mirror here: |
+ # https://chromium.googlesource.com/ |
+ # named like: |
+ # external/github.com/dart-lang/NAME |
+ # It is ok to add a dependency directly on dart-lang (dart-lang only) |
+ # github repo until the mirror has been created, but please do file a bug |
+ # against infra to make that happen. |
+ "github_mirror": |
+ "https://chromium.googlesource.com/external/github.com/dart-lang/%s.git", |
+ |
"args_tag": "@0.13.0", |
"barback_rev" : "@29ee90dbcf77cfd64632fa2797a4c8a4f29a4b51", |
"charcode_tag": "@1.1.0", |
@@ -87,91 +101,84 @@ deps.update({ |
Var("dartium_base") + Var("dartium_webkit_branch") + "@" + |
Var("dartium_webkit_revision"), |
- # Needed to run pub. |
+ "src/dart/third_party/pkg/args": |
+ (Var("github_mirror") % "args") + Var("args_tag"), |
"src/dart/third_party/pkg/barback": |
- "https://github.com/dart-lang/barback.git" + Var("barback_rev"), |
+ (Var("github_mirror") % "barback") + Var("barback_rev"), |
+ "src/dart/third_party/pkg/charcode": |
+ (Var("github_mirror") % "charcode") + Var("charcode_tag"), |
"src/dart/third_party/pkg/crypto": |
- "https://github.com/dart-lang/crypto.git" + Var("crypto_rev"), |
+ (Var("github_mirror") % "crypto") + Var("crypto_rev"), |
"src/dart/third_party/pkg/csslib": |
- "https://github.com/dart-lang/csslib.git" + Var("csslib_tag"), |
+ (Var("github_mirror") % "csslib") + Var("csslib_tag"), |
"src/dart/third_party/pkg/dart2js_info": |
- "https://github.com/dart-lang/dart2js_info.git" + Var("dart2js_info_rev"), |
+ (Var("github_mirror") % "dart2js_info") + Var("dart2js_info_rev"), |
"src/dart/third_party/pkg/collection": |
- "https://github.com/dart-lang/collection.git" + Var("collection_rev"), |
+ (Var("github_mirror") % "collection") + Var("collection_rev"), |
"src/dart/third_party/pkg/glob": |
- "https://github.com/dart-lang/glob.git" + Var("glob_rev"), |
+ (Var("github_mirror") % "glob") + Var("glob_rev"), |
"src/dart/third_party/pkg/html": |
- "https://github.com/dart-lang/html.git" + Var("html_tag"), |
+ (Var("github_mirror") % "html") + Var("html_tag"), |
"src/dart/third_party/pkg/json_rpc_2": |
- "https://github.com/dart-lang/json_rpc_2.git" + Var("json_rpc_2_rev"), |
+ (Var("github_mirror") % "json_rpc_2") + Var("json_rpc_2_rev"), |
"src/dart/third_party/pkg/http": |
- "https://github.com/dart-lang/http.git" + Var("http_rev"), |
+ (Var("github_mirror") % "http") + Var("http_rev"), |
"src/dart/third_party/pkg/http_multi_server": |
- "https://github.com/dart-lang/http_multi_server.git" + |
+ (Var("github_mirror") % "http_multi_server") + |
Var("http_multi_server_tag"), |
"src/dart/third_party/pkg/http_parser": |
- "https://github.com/dart-lang/http_parser.git" + Var("http_parser_rev"), |
+ (Var("github_mirror") % "http_parser") + Var("http_parser_rev"), |
"src/dart/third_party/pkg/http_throttle": |
- "https://github.com/dart-lang/http_throttle.git" + Var("http_throttle_rev"), |
+ (Var("github_mirror") % "http_throttle") + Var("http_throttle_rev"), |
"src/dart/third_party/pkg/logging": |
- "https://github.com/dart-lang/logging.git" + Var("logging_rev"), |
+ (Var("github_mirror") % "logging") + Var("logging_rev"), |
+ "src/dart/third_party/pkg/matcher": |
+ (Var("github_mirror") % "matcher") + Var("matcher_tag"), |
+ "src/dart/third_party/pkg/metatest": |
+ (Var("github_mirror") % "metatest") + Var("metatest_rev"), |
"src/dart/third_party/pkg/mime": |
- "https://github.com/dart-lang/mime.git" + Var("mime_rev"), |
+ (Var("github_mirror") % "mime") + Var("mime_rev"), |
"src/dart/third_party/pkg/oauth2": |
- "https://github.com/dart-lang/oauth2.git" + Var("oauth2_rev"), |
+ (Var("github_mirror") % "oauth2") + Var("oauth2_rev"), |
+ "src/dart/third_party/observatory_pub_packages": |
+ (Var("github_mirror") % "observatory_pub_packages") + |
+ Var("observatory_pub_packages_rev"), |
+ "src/dart/third_party/pkg/package_config": |
+ (Var("github_mirror") % "package_config") + Var("package_config_rev"), |
+ "src/dart/third_party/pkg/path": |
+ (Var("github_mirror") % "path") + Var("path_rev"), |
"src/dart/third_party/pkg/plugin": |
- "https://github.com/dart-lang/plugin.git" + Var("plugin_tag"), |
+ (Var("github_mirror") % "plugin") + Var("plugin_tag"), |
"src/dart/third_party/pkg/pool": |
- "https://github.com/dart-lang/pool.git" + Var("pool_rev"), |
+ (Var("github_mirror") % "pool") + Var("pool_rev"), |
"src/dart/third_party/pkg/pub": |
- "https://github.com/dart-lang/pub.git" + Var("pub_rev"), |
+ (Var("github_mirror") % "pub") + Var("pub_rev"), |
"src/dart/third_party/pkg/pub_semver": |
- "https://github.com/dart-lang/pub_semver.git" + Var("pub_semver_tag"), |
+ (Var("github_mirror") % "pub_semver") + Var("pub_semver_tag"), |
"src/dart/third_party/pkg/shelf": |
- "https://github.com/dart-lang/shelf.git" + Var("shelf_rev"), |
+ (Var("github_mirror") % "shelf") + Var("shelf_rev"), |
"src/dart/third_party/pkg/shelf_web_socket": |
- "https://github.com/dart-lang/shelf_web_socket.git" + |
- Var("shelf_web_socket_rev"), |
- "src/dart/third_party/pkg/utf": |
- "https://github.com/dart-lang/utf.git" + Var("utf_rev"), |
- "src/dart/third_party/pkg/watcher": |
- "https://github.com/dart-lang/watcher.git" + Var("watcher_tag"), |
- "src/dart/third_party/pkg/yaml": |
- "https://github.com/dart-lang/yaml.git" + Var("yaml_rev"), |
- |
- "src/dart/third_party/pkg/args": |
- "https://github.com/dart-lang/args.git" + Var("args_tag"), |
- "src/dart/third_party/pkg/charcode": |
- "https://github.com/dart-lang/charcode.git" + Var("charcode_tag"), |
- "src/dart/third_party/pkg/http_parser": |
- "https://github.com/dart-lang/http_parser.git" + Var("http_parser_rev"), |
- "src/dart/third_party/pkg/matcher": |
- "https://github.com/dart-lang/matcher.git" + Var("matcher_tag"), |
- "src/dart/third_party/pkg/metatest": |
- "https://github.com/dart-lang/metatest.git" + Var("metatest_rev"), |
- "src/dart/third_party/observatory_pub_packages": |
- "https://github.com/dart-lang/observatory_pub_packages.git" |
- + Var("observatory_pub_packages_rev"), |
- "src/dart/third_party/pkg/path": |
- "https://github.com/dart-lang/path.git" + Var("path_rev"), |
- "src/dart/third_party/pkg/package_config": |
- "https://github.com/dart-lang/package_config.git" + |
- Var("package_config_rev"), |
+ (Var("github_mirror") % "shelf_web_socket") + Var("shelf_web_socket_rev"), |
"src/dart/third_party/pkg/source_span": |
- "https://github.com/dart-lang/source_span.git" + Var("source_span_rev"), |
+ (Var("github_mirror") % "source_span") + Var("source_span_rev"), |
"src/dart/third_party/pkg/stack_trace": |
- "https://github.com/dart-lang/stack_trace.git" + Var("stack_trace_tag"), |
+ (Var("github_mirror") % "stack_trace") + Var("stack_trace_tag"), |
"src/dart/third_party/pkg/string_scanner": |
- "https://github.com/dart-lang/string_scanner.git" + |
- Var("string_scanner_rev"), |
+ (Var("github_mirror") % "string_scanner") + Var("string_scanner_rev"), |
"src/dart/third_party/pkg/test": |
- "https://github.com/dart-lang/test.git" + Var("test_tag"), |
+ (Var("github_mirror") % "test") + Var("test_tag"), |
+ "src/dart/third_party/pkg/utf": |
+ (Var("github_mirror") % "utf") + Var("utf_rev"), |
+ "src/dart/third_party/pkg/watcher": |
+ (Var("github_mirror") % "watcher") + Var("watcher_tag"), |
+ "src/dart/third_party/pkg/web_components": |
+ (Var("github_mirror") % "web-components") + Var("web_components_rev"), |
+ "src/dart/third_party/pkg/yaml": |
+ (Var("github_mirror") % "yaml") + Var("yaml_rev"), |
+ |
# TODO(sigmund): should be src/dart/third_party/pkg/unittest (dartbug.com/21949) |
"src/dart/pkg/unittest": |
- "https://github.com/dart-lang/test.git" + Var("unittest_tag"), |
- "src/dart/third_party/pkg/web_components": |
- "https://github.com/dart-lang/web-components.git" + |
- Var("web_components_rev"), |
+ (Var("github_mirror") % "test") + Var("unittest_tag"), |
"src/dart/third_party/WebCore": |
"http://dart.googlecode.com/svn/third_party/WebCore", |
@@ -181,7 +188,7 @@ deps.update({ |
Var("fake_async_rev"), |
"src/dart/tests/co19/src": |
- "https://github.com/dart-lang/co19.git" + Var("co19_rev"), |
+ (Var("github_mirror") % "co19") + Var("co19_rev"), |
"src/dart/third_party/zlib": |
Var("chromium_git") + "/chromium/src/third_party/zlib.git" + |