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

Pre-format licenses script #57219

Merged
merged 2 commits into from
Dec 17, 2024
Merged

Pre-format licenses script #57219

merged 2 commits into from
Dec 17, 2024

Conversation

goderbauer
Copy link
Member

@goderbauer goderbauer commented Dec 16, 2024

The license script has load-baring formatting: Changing its format makes signature checks fail. To ensure the formatting change goes in smoothly later this week I am taking it off the critical path by pre-formatting it.

The script itself is fairly stable, so I am not expecting any changes to it between now and when we actually enforce formatting.

Edit: The issue that surfaced with ci/licenses_golden/licenses_dart is another reason to take this off the critical path of enforcing formatting.

@@ -4807,7 +4807,7 @@ Exhibit B - "Incompatible With Secondary Licenses" Notice
This Source Code Form is "Incompatible With Secondary Licenses", as
defined by the Mozilla Public License, v. 2.0.

You may obtain a copy of this library's Source Code Form from: https://dart.googlesource.com/sdk/+/770ff2b085fc4a2992c8f085e5654b11da336555
You may obtain a copy of this library's Source Code Form from: https://dart.googlesource.com/sdk/+/02aa27c6a075f33b9ea0551b192ad28aef74fbd1
Copy link
Member Author

Choose a reason for hiding this comment

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

It's not super-clear to me why this diff is surfacing in this PR. In theory, this should have been updated as part of the Dart SDK roll in #57161. Other Dart SDK rolls have updated this line as expected (example: #57159). So, unclear, why that particular roll didn't.

cc @jonahwilliams FYI (you were listed as the contact point for the roll in question)

Copy link
Member

@jonahwilliams jonahwilliams left a comment

Choose a reason for hiding this comment

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

LGTM

@goderbauer goderbauer added the autosubmit Merge PR when tree becomes green via auto submit App label Dec 16, 2024
@auto-submit auto-submit bot removed the autosubmit Merge PR when tree becomes green via auto submit App label Dec 16, 2024
Copy link
Contributor

auto-submit bot commented Dec 16, 2024

auto label is removed for flutter/engine/57219, due to Pull request flutter/engine/57219 is not in a mergeable state.

@goderbauer goderbauer added the autosubmit Merge PR when tree becomes green via auto submit App label Dec 16, 2024
@auto-submit auto-submit bot merged commit 90c9185 into flutter:main Dec 17, 2024
28 checks passed
@goderbauer goderbauer deleted the licenseFormat branch December 17, 2024 00:57
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Dec 17, 2024
github-merge-queue bot pushed a commit to flutter/flutter that referenced this pull request Dec 17, 2024
…160399)

flutter/engine@1d2eb3f...90c9185

2024-12-17 [email protected] Pre-format licenses script
(flutter/engine#57219)

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC [email protected],[email protected] 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
nick9822 pushed a commit to nick9822/flutter that referenced this pull request Dec 18, 2024
The license script has load-baring formatting: Changing its format makes signature checks fail. To ensure the formatting change goes in smoothly later this week I am taking it off the critical path by pre-formatting it. 

The script itself is fairly stable, so I am not expecting any changes to it between now and when we actually enforce formatting.

Edit: The issue that surfaced with `ci/licenses_golden/licenses_dart` is another reason to take this off the critical path of enforcing formatting.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
autosubmit Merge PR when tree becomes green via auto submit App
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants