Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace flutter/plugins analysis #51494

Conversation

stuartmorgan
Copy link
Contributor

Replaces the flutter/plugns with analysis of flutter/packages, now that flutter/plugins has been merged into flutter/packages and will no longer be updated.

Also switches to calling the tool script directly, since the wrapper uses branch-based behavior that is no longer correct for this usage. This version matches the invocation used in flutter/flutter, so breakage due to repo changes is unlikely.

Replaces the flutter/plugns with analysis of flutter/packages, now that
flutter/plugins has been merged into flutter/packages and will no longer
be updated.

Also switches to calling the tool script directly, since the wrapper
uses branch-based behavior that is no longer correct for this usage.
This version matches the invocation used in flutter/flutter, so
breakage due to repo changes is unlikely.

# validate the tool's source
(cd script/tool; dart pub get)
(cd script/tool; dart analyze --fatal-infos)

# Invoke the repo's analysis script.
./script/tool_runner.sh analyze \
dart run script/tool/bin/flutter_plugin_tools.dart analyze \
Copy link
Contributor Author

Choose a reason for hiding this comment

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

If we have any issues with this in the future, I'll create a custom wrapper called something like script/out_of_repo_analysis.sh, and update here and flutter/flutter to use it.

@copybara-service
Copy link

Thank you for your contribution. This project uses Gerrit for code reviews. Your pull request has automatically been converted into a code review at:

https://dart-review.googlesource.com/c/sdk/+/284741

Please wait for a developer to review your code review at the above link. See CONTRIBUTING.md to learn how to upload changes to Gerrit directly. You can speed up the review if you sign into Gerrit and manually add a reviewer that has recently worked on the relevant code and they will help you. You can also push additional commits to this pull request to update the code review.

@copybara-service
Copy link

https://dart-review.googlesource.com/c/sdk/+/284741 has been updated with the latest commits from this pull request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant