From da644669ea88acb64753bc26765c02fbb1010818 Mon Sep 17 00:00:00 2001 From: Jesse Seales <103135467+sealesj@users.noreply.github.com> Date: Tue, 9 Jan 2024 16:58:06 +0000 Subject: [PATCH] Migrate to Flutter mirrors for Google-owned Github repositories (flutter/engine#49203) Flutter dependencies coming from Github origins need to be mirrored so that they are not taken directly from github. This is part of an effort to standardize the dependency sources from third party dependencies. Google is creating internal mirrors for these public repos, but we would be limited by the relatively strict access placed on those new repos, requiring this solution of Flutter GoB mirrors (as has already been done with non-Google Github repos and also Fuchsia-owned mirrors) *List which issues are fixed by this PR. You must list at least one issue.* Addresses b/316597637 *If you had to change anything in the [flutter/tests] repo, include a link to the migration guide as per the [breaking change policy].* [C++, Objective-C, Java style guides]: https://github.com/flutter/engine/blob/main/CONTRIBUTING.md#style --- DEPS | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/DEPS b/DEPS index f82a3ae3a18..7a6050ce9c2 100644 --- a/DEPS +++ b/DEPS @@ -309,14 +309,13 @@ deps = { Var('dart_git') + '/boringssl_gen.git' + '@' + Var('dart_boringssl_gen_rev'), 'src/flutter/third_party/yapf': - Var('github_git') + '/google/yapf' + '@' + '212c5b5ad8e172d2d914ae454c121c89cccbcb35', + Var('flutter_git') + '/third_party/yapf' + '@' + '212c5b5ad8e172d2d914ae454c121c89cccbcb35', 'src/third_party/boringssl/src': 'https://boringssl.googlesource.com/boringssl.git' + '@' + Var('dart_boringssl_rev'), 'src/third_party/perfetto': - Var('fuchsia_git') + "/third_party/android.googlesource.com/platform/external/perfetto" - + '@' + Var('dart_perfetto_rev'), + Var('flutter_git') + "/third_party/perfetto" + '@' + Var('dart_perfetto_rev'), 'src/third_party/protobuf': Var('fuchsia_git') + '/third_party/protobuf' + '@' + Var('dart_libprotobuf_rev'), @@ -677,10 +676,10 @@ deps = { Var('flutter_git') + '/mirrors/packages' + '@' + '25454e63851fe7933f04d025606e68c1eac4fe0f', # various 'src/flutter/third_party/pkg/gcloud': - Var('github_git') + '/dart-lang/gcloud.git' + '@' + 'a5276b85c4714378e84b1fb478b8feeeb686ac26', # 0.8.6-dev + Var('flutter_git') + '/third_party/gcloud.git' + '@' + 'a5276b85c4714378e84b1fb478b8feeeb686ac26', # 0.8.6-dev 'src/flutter/third_party/pkg/googleapis': - Var('github_git') + '/google/googleapis.dart.git' + '@' + '526011f56d98eab183cc6075ee1392e8303e43e2', # various + Var('flutter_git') + '/third_party/googleapis.dart.git' + '@' + '526011f56d98eab183cc6075ee1392e8303e43e2', # various 'src/flutter/third_party/pkg/platform': Var('dart_git') + '/platform.dart' + '@' + '1ffad63428bbd1b3ecaa15926bacfb724023648c', # 3.1.0 @@ -689,7 +688,7 @@ deps = { Var('dart_git') + '/process.dart' + '@' + '0c9aeac86dcc4e3a6cf760b76fed507107e244d5', # 4.2.1 'src/flutter/third_party/pkg/process_runner': - Var('github_git') + '/google/process_runner.git' + '@' + 'f24c69efdcaf109168f23d381fa281453d2bc9b1', # 4.1.2 + Var('flutter_git') + '/third_party/process_runner.git' + '@' + 'f24c69efdcaf109168f23d381fa281453d2bc9b1', # 4.1.2 'src/flutter/third_party/pkg/vector_math': Var('dart_git') + '/external/github.com/google/vector_math.dart.git' + '@' + '0a5fd95449083d404df9768bc1b321b88a7d2eef', # 2.1.0