-
Notifications
You must be signed in to change notification settings - Fork 3.4k
[all_packages] Enforce property assignment for compile sdk over method assignment #8897
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
[all_packages] Enforce property assignment for compile sdk over method assignment #8897
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tool changes LGTM, but I'm still seeing ~40 violations of this locally.
if (methodAssignmentLine == null) { | ||
printError('${indentation}No compileSdk or compileSdkVersion found.'); | ||
} else { | ||
printError('${indentation}No compileSdk = found. Please use property assignment.'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How about No "compileSdk =" found
to make this easier to parse if you don't already know what the issue is?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
autosubmit label was removed for flutter/packages/8897, because - The status or check suite Linux_web web_dart_unit_test_wasm_shard_2 master has failed. Please fix the issues identified (or deflake) before re-applying this label. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Failures appear unrelated. Hopefully an updated branch will fix the issue. |
autosubmit label was removed for flutter/packages/8897, because - The status or check suite Linux_web web_dart_unit_test_wasm_shard_2 master has failed. Please fix the issues identified (or deflake) before re-applying this label. |
Blocked on flutter/flutter#165664 |
Clicked "Update branch" because web tests seem to be fixed in master after @stuartmorgan's fix. |
autosubmit label was removed for flutter/packages/8897, because - The status or check suite Mac_arm64 ios_platform_tests_shard_2 master has failed. Please fix the issues identified (or deflake) before re-applying this label. |
I'm seeing this same issue on a roller PR. I'm wondering if it's OOB failure from a maps SDK or server change. |
Looking at the build history for the suite, it seems this was the first build broken like this was on: 2025-03-25 @ 09:55: Associated to this commit:
|
Once #8967 lands, merging in |
…over method assignment (flutter/packages#8897)
flutter/packages@07496eb...4a36dc6 2025-04-03 1063596+reidbaker@users.noreply.github.com [all_packages] Enforce property assignment for compile sdk over method assignment (flutter/packages#8897) 2025-04-03 stuartmorgan@google.com [google_maps_flutter] Fix iOS info window regression (flutter/packages#8939) 2025-04-02 engine-flutter-autoroll@skia.org Roll Flutter from 05b5e79 to a0b1b32 (37 revisions) (flutter/packages#8985) 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-flutter-autoroll Please CC flutter-ecosystem@google.com on the revert to ensure that a human is aware of the problem. To file a bug in Flutter: 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
…d assignment (flutter#8897) No issue I just noticed that we were almost consistent in our approach to compileSdk.
…d assignment (flutter#8897) No issue I just noticed that we were almost consistent in our approach to compileSdk.
…r#166542) flutter/packages@07496eb...4a36dc6 2025-04-03 1063596+reidbaker@users.noreply.github.com [all_packages] Enforce property assignment for compile sdk over method assignment (flutter/packages#8897) 2025-04-03 stuartmorgan@google.com [google_maps_flutter] Fix iOS info window regression (flutter/packages#8939) 2025-04-02 engine-flutter-autoroll@skia.org Roll Flutter from 05b5e79 to a0b1b32 (37 revisions) (flutter/packages#8985) 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-flutter-autoroll Please CC flutter-ecosystem@google.com on the revert to ensure that a human is aware of the problem. To file a bug in Flutter: 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
…d assignment (flutter#8897) No issue I just noticed that we were almost consistent in our approach to compileSdk.
…d assignment (flutter#8897) No issue I just noticed that we were almost consistent in our approach to compileSdk.
No issue I just noticed that we were almost consistent in our approach to compileSdk.
dart format
.)[shared_preferences]
pubspec.yaml
with an appropriate new version according to the [pub versioning philosophy], or I have commented below to indicate which [version change exemption] this PR falls under[^1].CHANGELOG.md
to add a description of the change, [following repository CHANGELOG style], or I have commented below to indicate which [CHANGELOG exemption] this PR falls under[^1].///
).