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

☂ downstream package updates to prepare for 1.4.0 (and improved directives_ordering) #2609

Closed
9 tasks done
pq opened this issue Apr 25, 2021 · 8 comments
Closed
9 tasks done

Comments

@kevmoo
Copy link
Member

kevmoo commented Apr 26, 2021

I like the change, it just requires some follow-up on the package side.

@pq
Copy link
Member Author

pq commented Apr 26, 2021

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?

@pq
Copy link
Member Author

pq commented Apr 26, 2021

@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?

@pq
Copy link
Member Author

pq commented Apr 26, 2021

FWIW, here's another breakage, unrelated to this change, that would have been nice to detect (and fix) proactively:

dart-archive/graphs#63

(fyi @bwilkerson @scheglov)

@goderbauer
Copy link
Contributor

@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?

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?)

@pq
Copy link
Member Author

pq commented Apr 26, 2021

Right. It also has the advantage of something I can do and manage manually (as opposed to an auto-roll that just gets blocked).

dart-bot pushed a commit to dart-lang/sdk that referenced this issue Apr 27, 2021
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]>
@pq
Copy link
Member Author

pq commented Apr 27, 2021

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.

jason-simmons added a commit to jason-simmons/flutter_cocoon that referenced this issue Apr 29, 2021
jason-simmons added a commit to jason-simmons/flutter_gallery that referenced this issue Apr 29, 2021
jason-simmons added a commit to jason-simmons/flutter_packages that referenced this issue Apr 29, 2021
jason-simmons added a commit to jason-simmons/flutter_gallery that referenced this issue Apr 29, 2021
godofredoc pushed a commit to flutter/cocoon that referenced this issue Apr 29, 2021
…#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]>
@pq
Copy link
Member Author

pq commented May 1, 2021

Closed w/ flutter/flutter#81219. Downstream changes may continue to trickle in.

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

No branches or pull requests

3 participants