Skip to content

Commit 3e22598

Browse files
authored
Add a breadcrumb for the pub autoroller (#146786)
Adds some breadcrumbs to update-packages so that people can easily figure out how to tell what's going on with the pub autoroller.
1 parent bb4c9b3 commit 3e22598

File tree

2 files changed

+12
-3
lines changed

2 files changed

+12
-3
lines changed

packages/flutter_tools/lib/src/commands/update_packages.dart

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,11 @@ import '../runner/flutter_command.dart';
2121
import '../update_packages_pins.dart';
2222
import '../version.dart';
2323

24+
// Pub packages are rolled automatically by the flutter-pub-roller-bot
25+
// by using the `flutter update-packages --force-upgrade`.
26+
// For the latest status, see:
27+
// https://github.com/pulls?q=author%3Aflutter-pub-roller-bot
28+
2429
class UpdatePackagesCommand extends FlutterCommand {
2530
UpdatePackagesCommand() {
2631
argParser
@@ -32,7 +37,7 @@ class UpdatePackagesCommand extends FlutterCommand {
3237
)
3338
..addOption(
3439
'cherry-pick-package',
35-
help: 'Attempt to update only the specified package. The "-cherry-pick-version" version must be specified also.',
40+
help: 'Attempt to update only the specified package. The "--cherry-pick-version" version must be specified also.',
3641
)
3742
..addOption(
3843
'cherry-pick-version',
@@ -64,7 +69,7 @@ class UpdatePackagesCommand extends FlutterCommand {
6469
'consumer-only',
6570
help: 'Only prints the dependency graph that is the transitive closure '
6671
'that a consumer of the Flutter SDK will observe (when combined '
67-
'with transitive-closure).',
72+
'with "--transitive-closure").',
6873
negatable: false,
6974
)
7075
..addFlag(

packages/flutter_tools/lib/src/update_packages_pins.dart

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,14 @@
22
// Use of this source code is governed by a BSD-style license that can be
33
// found in the LICENSE file.
44

5-
// This constant is in its own library so that the test exemption bot knows
5+
// The constant below is in its own library so that the test exemption bot knows
66
// that changing a pin does not require a new test. These pins are already
77
// tested as part of the analysis shard.
88

9+
// Pub packages are rolled automatically by the flutter-pub-roller-bot.
10+
// For the latest status, see:
11+
// https://github.com/pulls?q=author%3Aflutter-pub-roller-bot
12+
913
/// Map from package name to package version, used to artificially pin a pub
1014
/// package version in cases when upgrading to the latest breaks Flutter.
1115
///

0 commit comments

Comments
 (0)