-
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
consider enforcing sort order in the build #2368
Comments
Now that we're in the SDK, we can do this easily. 🎉 |
Fixes: dart-lang/linter#2368 Change-Id: I498e271dc32348115a34472b44688be8de2169a3 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/323901 Reviewed-by: Brian Wilkerson <[email protected]> Reviewed-by: Konstantin Shcheglov <[email protected]> Commit-Queue: Phil Quitslund <[email protected]>
Implemented w/ dart-lang/sdk@349e626. |
Nice cleanup! One less thing to spend brain power on 🥳 |
💯 |
We've wanted this for a while. Nice reward for the long haul of migrating the linter into the SDK! |
I wonder why your commits aren't closing the linked issues automatically? Is it because you're not actually committing, but the Commit Queue is? I've had the same problem with closing site-www issues from the SDK before, but thought it was repo access issues on my end. |
I believe it's because copybara (the tool that pushes the code from googlesource.com didn't have push access to the linter repo). I made an attempt at fixing that. Let me know if it works! Background: to close issues in another repo the user pushing the commit has to have access to the other repo. I couldn't find documentation on what access exactly, though. GitHub scans the pushed commits for keywords and then applies its own rules to decide what to do. |
Thanks for looking! Not sure it worked unfortunately. I had to make a manual edit here: (though I'd expect it to have been fixed in the referencing PR: https://dart-review.googlesource.com/c/sdk/+/323940). |
Unfortunately, I don't know... 🤷 This is basically what we're doing but I'm not sure what permission we need to grant the bot: It's an "app" so I can't grant it write access to linter specifically, and it already has write access to every repo. |
Ah well. Thanks for looking! On the bright side, the plan is to move the linter issues over to the SDK sooner than later so the issue won't be long lived. Again, thanks! |
See churn in #2362. Also, discussion in #2367.
The text was updated successfully, but these errors were encountered: