Clearer text about what happens with --disable-telemetry + enable-telemetry command#125995
Merged
auto-submit[bot] merged 8 commits intoflutter:masterfrom May 8, 2023
Conversation
eliasyishak
commented
May 4, 2023
Comment on lines
-320
to
-324
| final Usage legacyAnalytics = TestUsage(); | ||
| setUp(() { | ||
| legacyAnalytics.enabled = false; | ||
| }); | ||
|
|
Contributor
Author
There was a problem hiding this comment.
Wasn't being used anywhere in the tests, removing
gspencergoog
reviewed
May 4, 2023
packages/flutter_tools/lib/src/runner/flutter_command_runner.dart
Outdated
Show resolved
Hide resolved
gspencergoog
reviewed
May 4, 2023
eliasyishak
commented
May 4, 2023
Comment on lines
+68
to
+72
| throwToolExit( | ||
| 'Both enable and disable telemetry commands were detected ' | ||
| 'when only one can be supplied per invocation.', | ||
| exitCode: 1); | ||
| } |
Contributor
Author
There was a problem hiding this comment.
Is an exit code of 1 appropriate for this exit code? @gspencergoog
Contributor
There was a problem hiding this comment.
Yes, I think so. Anything non-zero would work.
Contributor
Author
|
@gspencergoog friendly ping, does this look good to go? |
engine-flutter-autoroll
added a commit
to engine-flutter-autoroll/packages
that referenced
this pull request
May 8, 2023
…enable-telemetry command (flutter/flutter#125995)
auto-submit bot
pushed a commit
to flutter/packages
that referenced
this pull request
May 8, 2023
flutter/flutter@43ac23b...4ed1c92 2023-05-08 [email protected] Roll Flutter Engine from c42dd23e29f6 to a8e9ac63fd95 (1 revision) (flutter/flutter#126265) 2023-05-08 [email protected] Clearer text about what happens with `--disable-telemetry` + enable-telemetry command (flutter/flutter#125995) 2023-05-08 [email protected] Roll Flutter Engine from 23f730efbff7 to c42dd23e29f6 (13 revisions) (flutter/flutter#126262) 2023-05-08 [email protected] Fix leaks (flutter/flutter#126144) 2023-05-08 [email protected] Update packages (flutter/flutter#126140) 2023-05-06 [email protected] [ExpansionPanelList] add materialGapSize property in ExpansionPanelList Widget (flutter/flutter#123971) 2023-05-06 [email protected] Roll Flutter Engine from eedcee66a710 to 23f730efbff7 (1 revision) (flutter/flutter#126199) 2023-05-06 [email protected] Roll Flutter Engine from 393b5649e7b4 to eedcee66a710 (1 revision) (flutter/flutter#126198) 2023-05-06 [email protected] Roll Flutter Engine from 876968833e46 to 393b5649e7b4 (1 revision) (flutter/flutter#126195) 2023-05-06 [email protected] [ios] fix hold and drag spacebar does not move cursor when obscureTex� (flutter/flutter#122383) 2023-05-06 [email protected] Roll Flutter Engine from d9116d94a111 to 876968833e46 (1 revision) (flutter/flutter#126192) 2023-05-06 [email protected] Roll Flutter Engine from 332f53219c4c to d9116d94a111 (1 revision) (flutter/flutter#126190) 2023-05-06 [email protected] Roll Flutter Engine from b7c79b41b9d4 to 332f53219c4c (3 revisions) (flutter/flutter#126188) 2023-05-06 [email protected] � Add `rect` argument to `_ArcPaintPredicate` for tests (flutter/flutter#125953) 2023-05-06 [email protected] Roll Flutter Engine from 758cbadfac1f to b7c79b41b9d4 (4 revisions) (flutter/flutter#126187) 2023-05-06 [email protected] Add Windows and Linux support to the 'layers' example (flutter/flutter#126105) If this roll has caused a breakage, revert this CL and stop the roller using the controls here: https://autoroll.skia.org/r/flutter-packages Please CC [email protected],[email protected],[email protected] on the revert to ensure that a human is aware of the problem. To file a bug in Packages: https://github.com/flutter/flutter/issues/new/choose To report a problem with the AutoRoller itself, please file a bug: https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
nploi
pushed a commit
to nploi/packages
that referenced
this pull request
Jul 16, 2023
flutter/flutter@43ac23b...4ed1c92 2023-05-08 [email protected] Roll Flutter Engine from c42dd23e29f6 to a8e9ac63fd95 (1 revision) (flutter/flutter#126265) 2023-05-08 [email protected] Clearer text about what happens with `--disable-telemetry` + enable-telemetry command (flutter/flutter#125995) 2023-05-08 [email protected] Roll Flutter Engine from 23f730efbff7 to c42dd23e29f6 (13 revisions) (flutter/flutter#126262) 2023-05-08 [email protected] Fix leaks (flutter/flutter#126144) 2023-05-08 [email protected] Update packages (flutter/flutter#126140) 2023-05-06 [email protected] [ExpansionPanelList] add materialGapSize property in ExpansionPanelList Widget (flutter/flutter#123971) 2023-05-06 [email protected] Roll Flutter Engine from eedcee66a710 to 23f730efbff7 (1 revision) (flutter/flutter#126199) 2023-05-06 [email protected] Roll Flutter Engine from 393b5649e7b4 to eedcee66a710 (1 revision) (flutter/flutter#126198) 2023-05-06 [email protected] Roll Flutter Engine from 876968833e46 to 393b5649e7b4 (1 revision) (flutter/flutter#126195) 2023-05-06 [email protected] [ios] fix hold and drag spacebar does not move cursor when obscureTex� (flutter/flutter#122383) 2023-05-06 [email protected] Roll Flutter Engine from d9116d94a111 to 876968833e46 (1 revision) (flutter/flutter#126192) 2023-05-06 [email protected] Roll Flutter Engine from 332f53219c4c to d9116d94a111 (1 revision) (flutter/flutter#126190) 2023-05-06 [email protected] Roll Flutter Engine from b7c79b41b9d4 to 332f53219c4c (3 revisions) (flutter/flutter#126188) 2023-05-06 [email protected] � Add `rect` argument to `_ArcPaintPredicate` for tests (flutter/flutter#125953) 2023-05-06 [email protected] Roll Flutter Engine from 758cbadfac1f to b7c79b41b9d4 (4 revisions) (flutter/flutter#126187) 2023-05-06 [email protected] Add Windows and Linux support to the 'layers' example (flutter/flutter#126105) If this roll has caused a breakage, revert this CL and stop the roller using the controls here: https://autoroll.skia.org/r/flutter-packages Please CC [email protected],[email protected],[email protected] on the revert to ensure that a human is aware of the problem. To file a bug in Packages: https://github.com/flutter/flutter/issues/new/choose To report a problem with the AutoRoller itself, please file a bug: https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
engine-flutter-autoroll
added a commit
to engine-flutter-autoroll/packages
that referenced
this pull request
Aug 16, 2023
…enable-telemetry command (flutter/flutter#125995)
engine-flutter-autoroll
added a commit
to engine-flutter-autoroll/packages
that referenced
this pull request
Aug 17, 2023
…enable-telemetry command (flutter/flutter#125995)
engine-flutter-autoroll
added a commit
to engine-flutter-autoroll/packages
that referenced
this pull request
Aug 17, 2023
…enable-telemetry command (flutter/flutter#125995)
engine-flutter-autoroll
added a commit
to engine-flutter-autoroll/packages
that referenced
this pull request
Aug 17, 2023
…enable-telemetry command (flutter/flutter#125995)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Fixes:
This PR is cleaning up the
--disable-telemetryhelp message to make it clear that opting out will opt out of all telemetry collection for flutter and dart commands. It is also adding the opposite flag--enable-telemetrywhich will enable telemetry collectionPre-launch Checklist
///).If you need help, consider asking for advice on the #hackers-new channel on Discord.