-
Notifications
You must be signed in to change notification settings - Fork 9.8k
[scripts/tool] use 'flutter pub get' for both dart and flutter packages #3973
[scripts/tool] use 'flutter pub get' for both dart and flutter packages #3973
Conversation
Isn't this less efficient? Presumably the Flutter version is a superset of the Dart version. |
I don't think this will have any significant impact on time - |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
This pull request is not suitable for automatic merging in its current state.
|
Follow flutter/flutter#83349 |
I landed https://flutter-review.googlesource.com/c/recipes/+/13920 and re-triggered Windows Plugins, hopefully it goes green. |
Ok, since the recipe change didn't work, I reverted the tools change and re-triggered "Windows Plugins" again. |
* master: (131 commits) [in_app_purchase] fix "autoConsume" param in "buyConsumable" (flutter#3957) [video_player_web] fix: set autoplay to false during initialization (flutter#3985) [multiple_web] Adapt web PlatformView widgets to work slotted. (flutter#3964) [url_launcher] Add iOS unit and UI tests (flutter#3987) [image_picker] Change storage location for camera captures to internal cache on Android, to comply with new Google Play storage requirements. (flutter#3956) [script/tool] Use 'dart pub' instead of deprecated 'pub' (flutter#3991) [video_player] Add iOS unit and UI tests (flutter#3986) Add pubspec convention checks (flutter#3984) Enable pubspec dependency sorting lint (flutter#3983) [image_picker] Migrate maven repo from jcenter to mavenCentral (flutter#3915) [video_player] Update README.md (flutter#3975) [script/tool] speed up the pub get portion of the analyze command (flutter#3982) Revert commit e742a7b (flutter#3976) Added support to request list of purchases (flutter#3944) [google_maps_flutter] Add iOS unit and UI tests (flutter#3978) Added Windows to the description (flutter#3936) use 'flutter pub get' for both dart and flutter packages (flutter#3973) [camera] android-rework part 3: Android exposure related features (flutter#3797) Remove exoplayer workaround from everything but video_player (flutter#3980) Allow reverts when checking versions (flutter#3981) ...
This PR switches the CI to calling
flutter pub get
for both Dart and Flutter packages (previously, we'd calldart pub get
for non-Flutter packages). This normalizes the output in CIs a bit -dart pub get
lists all the packages and versions that were resolved, whileflutter pub get
just emits one line of stdout. See https://logs.chromium.org/logs/dart/buildbucket/cr-buildbucket.appspot.com/8846322703236505168/+/u/analyze_flutter_plugins/stdout for an example of the existing CI output.This work is generally in service to dart-lang/sdk#45873 (which itself is part of dart-lang/sdk#46075).
List which issues are fixed by this PR. You must list at least one issue.
If you had to change anything in the flutter/tests repo, include a link to the migration guide as per the breaking change policy.
Pre-launch Checklist
dart format
. See plugin_tool format)[shared_preferences]
///
).If you need help, consider asking for advice on the #hackers-new channel on Discord.