Skip to content

Conversation

@srawlins
Copy link
Contributor

The tool currently prints that the dart command is run, and does not include the 'pub' sub-command. Something like:

/private/var/folders/72/ltck4q353hsg3bn8kpkg7f84005w15/T/flutterzXpww6/bin/dart \
    global run --enable-asserts dartdoc

(newline mine)

But this is incorrect; the runPubGet function runs the flutter command, and prepends pub to the list of arguments.

The tool currently prints that the _dart_ command is run, and does not include
the 'pub' sub-command. Something like:

```none
/private/var/folders/72/ltck4q353hsg3bn8kpkg7f84005w15/T/flutterzXpww6/bin/dart \
    global run --enable-asserts dartdoc
```

(newline mine)

But this is incorrect; the `runPubGet` function runs the _flutter_ command, and
prepends `pub` to the list of arguments.
@flutter-dashboard
Copy link

It looks like this pull request may not have tests. Please make sure to add tests before merging. If you need an exemption, contact "@test-exemption-reviewer" in the #hackers channel in Discord (don't just cc them here, they won't see it!).

If you are not sure if you need tests, consider this rule of thumb: the purpose of a test is to make sure someone doesn't accidentally revert the fix. Ask yourself, is there anything in your PR that you feel it is important we not accidentally revert back to how it was before your fix?

Reviewers: Read the Tree Hygiene page and make sure this patch meets those guidelines before LGTMing. The test exemption team is a small volunteer group, so all reviewers should feel empowered to ask for tests, without delegating that responsibility entirely to the test exemption group.

Copy link
Contributor

@gspencergoog gspencergoog left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

32384589-a60f0e74-c078-11e7-9bc1-e5b5287aea9d

Thanks, Sam.

@gspencergoog
Copy link
Contributor

Looks like the analyzer warning is legit. getDartBinaryPath isn't used anymore and can be removed, I suspect.

@srawlins srawlins added the autosubmit Merge PR when tree becomes green via auto submit App label Sep 22, 2024
@auto-submit auto-submit bot merged commit ec28b05 into master Sep 22, 2024
@auto-submit auto-submit bot deleted the correct-create-api-docs-output branch September 22, 2024 16:01
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Sep 22, 2024
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Sep 22, 2024
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Sep 22, 2024
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Sep 23, 2024
auto-submit bot pushed a commit to flutter/packages that referenced this pull request Sep 23, 2024
flutter/flutter@2f149da...4ca51a1

2024-09-23 engine-flutter-autoroll@skia.org Roll Flutter Engine from c1bcd87b44a3 to 61f0a3fbabbe (1 revision) (flutter/flutter#155534)
2024-09-23 engine-flutter-autoroll@skia.org Roll Flutter Engine from c11e75b9842a to c1bcd87b44a3 (1 revision) (flutter/flutter#155528)
2024-09-23 engine-flutter-autoroll@skia.org Roll Flutter Engine from 0155f8fc4569 to c11e75b9842a (9 revisions) (flutter/flutter#155524)
2024-09-22 engine-flutter-autoroll@skia.org Roll Flutter Engine from 76b7abb5c853 to 0155f8fc4569 (1 revision) (flutter/flutter#155472)
2024-09-22 srawlins@google.com create_api_docs.dart: correct command logging (flutter/flutter#155226)

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 louisehsu@google.com,rmistry@google.com,stuartmorgan@google.com 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://issues.skia.org/issues/new?component=1389291&template=1850622

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
thejitenpatel pushed a commit to thejitenpatel/flutter that referenced this pull request Sep 26, 2024
The tool currently prints that the _dart_ command is run, and does not include the 'pub' sub-command. Something like:

```none
/private/var/folders/72/ltck4q353hsg3bn8kpkg7f84005w15/T/flutterzXpww6/bin/dart \
    global run --enable-asserts dartdoc
```

(newline mine)

But this is incorrect; the `runPubGet` function runs the _flutter_ command, and prepends `pub` to the list of arguments.
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Dec 11, 2024
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Dec 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

autosubmit Merge PR when tree becomes green via auto submit App

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants