-
Notifications
You must be signed in to change notification settings - Fork 170
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
☂ downstream package updates to prepare for 1.4.0 (and improved directives_ordering
)
#2609
Comments
I like the change, it just requires some follow-up on the package side. |
UPDATE: I've got yet one more change queued up to fix flutter (flutter/flutter#81210) but even then it's a race and there's a chance that violations will get introduced before the auto-roll. @goderbauer: do you object to me disabling the lint until the next roll when I can re-enable it and fix up any newly introduced breakages? |
@kevmoo: 💯 To be honest, I wasn't expecting this broad impact. (Nor do I expect was @davidmorgan 😄.) Thinking ahead, it'd be great to have some way to get proactive about tracking soon to be breaking ecosystem packages so we can (ideally) fix them up proactively. @athomas and I were chatting about this a bit... Maybe we could leverage the index you have in repo_manager? |
FWIW, here's another breakage, unrelated to this change, that would have been nice to detect (and fix) proactively: (fyi @bwilkerson @scheglov) |
No objections. (I suspect there will still be a race between your change enabling it again and other changes, but maybe that race is easier to manage?) |
Right. It also has the advantage of something I can do and manage manually (as opposed to an auto-roll that just gets blocked). |
This is a reland of 17644ee Additional supporting changes in flutter (and plugins): flutter/flutter#81017 flutter/plugins#3823 flutter/flutter#80817 flutter/flutter#80901 flutter/flutter#81210 Additional context in meta linter issue: dart-lang/linter#2609 Original change's description: > linter 1.4.0 > > Mitigating PRs: > > https://dart-review.googlesource.com/c/sdk/+/196223 > https://dart-review.googlesource.com/c/sdk/+/196180 > > flutter/flutter#80817 > flutter/flutter#80901 > > > > > > Change-Id: Ib916d541076e24b9e8db1d6120dbc043d9e40b87 > Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/196026 > Commit-Queue: Phil Quitslund <[email protected]> > Reviewed-by: Brian Wilkerson <[email protected]> Change-Id: Ie6b9682a2f54ef039dd7ac9c6a46cb925615acef Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/196581 Commit-Queue: Phil Quitslund <[email protected]> Reviewed-by: Brian Wilkerson <[email protected]>
Linter 1.4.0 is re-landed in the SDK as of dart-lang/sdk@513c1a1. When it gets rolled into Flutter, I'll loop back and re-enable the lint in the Flutter options. |
…#1183) * Update imports to match the latest directives_ordering analyzer check See dart-lang/linter#2609 * Update README.md to describe new import sorting rules. Co-authored-by: Zachary Anderson <[email protected]>
Closed w/ flutter/flutter#81219. Downstream changes may continue to trickle in. |
Linter 1.4.0 introduces
directives_ordering
updated to sort more cases (see #2596). In order to land in the Dart SDK (cl/196581), a number of downstream fixes need to be made to SDK and Flutter packages.Dart SDK:
Flutter:
...
sort_directives
flutter/flutter#81220 (disable lint temporarily)directives_ordering
flutter/flutter#81219 (re-enable once SDK lands)(Some downstream packages):
The text was updated successfully, but these errors were encountered: