Repository navigation
Regression: flutter update-packages has lots of extra output #116627
Copy link
Copy link
Closed
Labels
c: regressionIt was better in the past than it is nowIt was better in the past than it is nowr: fixedIssue is closed as already fixed in a newer versionIssue is closed as already fixed in a newer versiontoolAffects the "flutter" command-line tool. See also t: labels.Affects the "flutter" command-line tool. See also t: labels.
Description
When I run flutter update-packages in the flutter/flutter repo, I get a bunch of extraneous output that didn't used to be printed. This changed recently (in the last few weeks).
This appears to have been a regression that started with #115801, according to git bisect.
Before the regression, the output of flutter update-packages looked like this:
...
Ran pub get in dev/integration_tests/abstract_method_smoke_test in 2.2s...
Ran pub get in packages/integration_test in 2.1s...
Ran pub get in examples/flutter_view in 2.2s...
Ran pub get in dev/integration_tests/flutter_gallery in 2.2s...
Ran pub get in packages/integration_test/integration_test_macos in 2.2s...
Ran pub get in packages/flutter_goldens_client in 2.3s...
Ran pub get in dev/integration_tests/ios_add2app_life_cycle/flutterapp in 2.3s...
Ran pub get in packages/flutter_web_plugins in 2.4s...
Ran pub get in packages/flutter/test_private in 2.4s...
Ran pub get in dev/manual_tests in 2.4s...
Ran pub get in dev/integration_tests/gradle_deprecated_settings in 2.5s...
Ran pub get in examples/image_list in 2.4s...
Ran pub get in dev/tracing_tests in 2.5s...
Ran pub get in dev/tools/vitool in 2.5s...
Ran pub get in dev/integration_tests/non_nullable in 2.5s...
Ran pub get in dev/integration_tests/ios_app_with_extensions in 2.5s...
Ran pub get in examples/splash in 2.5s...
Ran pub get in dev/integration_tests/release_smoke_test in 2.6s...
Ran pub get in dev/integration_tests/android_embedding_v2_smoke_test in 2.6s...
Ran pub get in examples/layers in 2.6s...
Ran pub get in dev/benchmarks/multiple_flutters/module in 2.7s...
Ran pub get in packages/flutter_localizations in 2.6s...
Ran pub get in packages/flutter_goldens in 2.6s...
Ran pub get in packages/flutter/test_private/test in 2.7s...
...
Now it looks like this, with random bold package names interspersed in the output:
...
Ran pub get in examples/platform_view in 2.2s...
Running "flutter pub get" in affected packages... ⡿(1.7s)
Ran pub get in examples/platform_channel in 2.2s...
Running "flutter pub get" in affected packages... ⢿ frontend_server_client 3.1.0 (3.2.0 available)
mime 1.0.2 (1.0.3 available)
path 1.8.2 (1.8.3 available)
pedantic 1.11.1 (discontinued replaced by lints)
Got dependencies in packages/integration_test/example!
Ran pub get in dev/integration_tests/hybrid_android_views in 2.2s...
connectivity 3.0.6 (discontinued)
connectivity_for_web 0.4.0+1 (discontinued)
device_info 2.0.3 (discontinued)
frontend_server_client 3.1.0 (3.2.0 available)
mime 1.0.2 (1.0.3 available)Ran pub get in dev/integration_tests/abstract_method_smoke_test in 2.2s...
path 1.8.2 (1.8.3 available)
url_launcher_android 6.0.17 (6.0.22 available)
Running "flutter pub get" in affected packages... ⣽Got dependencies in dev/integration_tests/flutter_gallery!
(1.7s)
Ran pub get in packages/integration_test in 2.2s...
Running "flutter pub get" in affected packages... ⣾ frontend_server_client 3.1.0 (3.2.0 available)
mime 1.0.2 (1.0.3 available)
path 1.8.2 (1.8.3 available)
Got dependencies in packages/flutter_tools!
Ran pub get in examples/flutter_view in 2.2s...
Ran pub get in packages/integration_test/example in 2.2s...
...
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
c: regressionIt was better in the past than it is nowIt was better in the past than it is nowr: fixedIssue is closed as already fixed in a newer versionIssue is closed as already fixed in a newer versiontoolAffects the "flutter" command-line tool. See also t: labels.Affects the "flutter" command-line tool. See also t: labels.
Activity
nehalvpatel commentedon Dec 7, 2022
It looks like I missed the
printProgressparameter when I did that PR. I can get a fix up tomorrow, most likely.nehalvpatel commentedon Jan 6, 2023
This should be fixed with the merge of #116687. 😃
bleroux commentedon Feb 23, 2023
Closing this issue because it was fixed in #116687
github-actions commentedon Mar 9, 2023
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of
flutter doctor -vand a minimal reproduction of the issue.