Skip to content

Conversation

gaaclarke
Copy link
Member

@gaaclarke gaaclarke commented Jul 12, 2025

changes:

  1. Now NOTICES files can be parsed
  2. Now DEP files are parsed to make sure we are scanning cipd dependencies. Previously we just checked git repos.
  3. Added a secondary directory to data that allows us to inject our own licenses. In a perfect world we wouldn't have this. When the dust settles it may not be necessary anymore.

After this we are about 60 copyrights shy of having everything.

Pre-launch Checklist

If you need help, consider asking for advice on the #hackers-new channel on Discord.

@github-actions github-actions bot added the engine flutter/engine related. See also e: labels. label Jul 12, 2025
Copy link
Member Author

Choose a reason for hiding this comment

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

I took this approach when I thought that NOTICES were being ignored by the old license checker. We should be able to get this from the NOTICES file eventually, right now it isn't matching. I'm leaving this functionality here for now since it may be needed.

@gaaclarke gaaclarke marked this pull request as ready for review July 15, 2025 20:52
@gaaclarke gaaclarke changed the title Licenses cpp notices Licenses_cpp: Parses NOTICES and DEPS Jul 15, 2025
@gaaclarke gaaclarke requested review from matanlurey and jtmcdole July 15, 2025 21:37
@gaaclarke gaaclarke added the autosubmit Merge PR when tree becomes green via auto submit App label Jul 15, 2025
Copy link
Contributor

auto-submit bot commented Jul 15, 2025

autosubmit label was removed for flutter/flutter/172044, because - The status or check suite Mac mac_unopt has failed. Please fix the issues identified (or deflake) before re-applying this label.

@auto-submit auto-submit bot removed the autosubmit Merge PR when tree becomes green via auto submit App label Jul 15, 2025
@gaaclarke
Copy link
Member Author

This is failing because of the bug we had with the old license checker where dart's license was changing it's url as it got updated so the licenses file wouldn't match. I've started ignoring those lines (the same fix we had for the old tool).

@gaaclarke gaaclarke added the autosubmit Merge PR when tree becomes green via auto submit App label Jul 15, 2025
@auto-submit auto-submit bot added this pull request to the merge queue Jul 15, 2025
Merged via the queue into flutter:master with commit bc3ed4a Jul 16, 2025
178 of 179 checks passed
@flutter-dashboard flutter-dashboard bot removed the autosubmit Merge PR when tree becomes green via auto submit App label Jul 16, 2025
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Jul 16, 2025
auto-submit bot pushed a commit to flutter/packages that referenced this pull request Jul 16, 2025
flutter/flutter@cc3110c...c2739f0

2025-07-16 engine-flutter-autoroll@skia.org Roll Dart SDK from 2f2dd1780d45 to 766ee8029b11 (2 revisions) (flutter/flutter#172226)
2025-07-16 engine-flutter-autoroll@skia.org Roll Skia from af685eaf1b52 to 59be8479c637 (3 revisions) (flutter/flutter#172208)
2025-07-16 dkwingsmt@users.noreply.github.com Add dartpad example to `RoundedSuperellipseBorder` (flutter/flutter#172185)
2025-07-16 engine-flutter-autoroll@skia.org Roll Skia from ab79199bd0f3 to af685eaf1b52 (2 revisions) (flutter/flutter#172195)
2025-07-16 engine-flutter-autoroll@skia.org Roll Dart SDK from a4e60e5add75 to 2f2dd1780d45 (8 revisions) (flutter/flutter#172197)
2025-07-16 137456488+flutter-pub-roller-bot@users.noreply.github.com Roll pub packages (flutter/flutter#172193)
2025-07-15 30870216+gaaclarke@users.noreply.github.com Licenses_cpp: Parses NOTICES and DEPS (flutter/flutter#172044)
2025-07-15 engine-flutter-autoroll@skia.org Roll Fuchsia Linux SDK from tQAtsLtpc0oBIqRwC... to JRFUXSNXExcfjVYvA... (flutter/flutter#172189)
2025-07-15 engine-flutter-autoroll@skia.org Roll Skia from fec78c0da2e6 to ab79199bd0f3 (4 revisions) (flutter/flutter#172186)
2025-07-15 matanlurey@users.noreply.github.com Allow a release without engine cherrypicks (adds fallback logic) (flutter/flutter#172184)
2025-07-15 kjlubick@users.noreply.github.com [skia] Add missing param to makeRasterImage calls (flutter/flutter#172122)
2025-07-15 51940183+Sameri11@users.noreply.github.com [Android] remove obsolete gradle api in FGP (flutter/flutter#172085)
2025-07-15 engine-flutter-autoroll@skia.org Roll Skia from 8ffff8c8e01b to fec78c0da2e6 (6 revisions) (flutter/flutter#172178)
2025-07-15 engine-flutter-autoroll@skia.org Roll Skia from 2f4ad5d83704 to 8ffff8c8e01b (7 revisions) (flutter/flutter#172169)
2025-07-15 ivan.inozemtsev@gmail.com Roll Dart SDK to 3.9.0-333.2.beta (flutter/flutter#172167)

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
Please CC bmparr@google.com,stuartmorgan@google.com on the revert to ensure that a human
is aware of the problem.

To file a bug in Packages: 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
azatech pushed a commit to azatech/flutter that referenced this pull request Jul 28, 2025
changes:
1) Now NOTICES files can be parsed
1) Now DEP files are parsed to make sure we are scanning cipd
dependencies. Previously we just checked git repos.
1) Added a `secondary` directory to `data` that allows us to inject our
own licenses. In a perfect world we wouldn't have this. When the dust
settles it may not be necessary anymore.

After this we are about 60 copyrights shy of having everything.

## Pre-launch Checklist

- [x] I read the [Contributor Guide] and followed the process outlined
there for submitting PRs.
- [x] I read the [Tree Hygiene] wiki page, which explains my
responsibilities.
- [x] I read and followed the [Flutter Style Guide], including [Features
we expect every widget to implement].
- [x] I signed the [CLA].
- [x] I listed at least one issue that this PR fixes in the description
above.
- [x] I updated/added relevant documentation (doc comments with `///`).
- [x] I added new tests to check the change I am making, or this PR is
[test-exempt].
- [x] I followed the [breaking change policy] and added [Data Driven
Fixes] where supported.
- [x] All existing and new tests are passing.

If you need help, consider asking for advice on the #hackers-new channel
on [Discord].

<!-- Links -->
[Contributor Guide]:
https://github.com/flutter/flutter/blob/main/docs/contributing/Tree-hygiene.md#overview
[Tree Hygiene]:
https://github.com/flutter/flutter/blob/main/docs/contributing/Tree-hygiene.md
[test-exempt]:
https://github.com/flutter/flutter/blob/main/docs/contributing/Tree-hygiene.md#tests
[Flutter Style Guide]:
https://github.com/flutter/flutter/blob/main/docs/contributing/Style-guide-for-Flutter-repo.md
[Features we expect every widget to implement]:
https://github.com/flutter/flutter/blob/main/docs/contributing/Style-guide-for-Flutter-repo.md#features-we-expect-every-widget-to-implement
[CLA]: https://cla.developers.google.com/
[flutter/tests]: https://github.com/flutter/tests
[breaking change policy]:
https://github.com/flutter/flutter/blob/main/docs/contributing/Tree-hygiene.md#handling-breaking-changes
[Discord]:
https://github.com/flutter/flutter/blob/main/docs/contributing/Chat.md
[Data Driven Fixes]:
https://github.com/flutter/flutter/blob/main/docs/contributing/Data-driven-Fixes.md
vashworth pushed a commit to vashworth/packages that referenced this pull request Jul 30, 2025
…r#9633)

flutter/flutter@cc3110c...c2739f0

2025-07-16 engine-flutter-autoroll@skia.org Roll Dart SDK from 2f2dd1780d45 to 766ee8029b11 (2 revisions) (flutter/flutter#172226)
2025-07-16 engine-flutter-autoroll@skia.org Roll Skia from af685eaf1b52 to 59be8479c637 (3 revisions) (flutter/flutter#172208)
2025-07-16 dkwingsmt@users.noreply.github.com Add dartpad example to `RoundedSuperellipseBorder` (flutter/flutter#172185)
2025-07-16 engine-flutter-autoroll@skia.org Roll Skia from ab79199bd0f3 to af685eaf1b52 (2 revisions) (flutter/flutter#172195)
2025-07-16 engine-flutter-autoroll@skia.org Roll Dart SDK from a4e60e5add75 to 2f2dd1780d45 (8 revisions) (flutter/flutter#172197)
2025-07-16 137456488+flutter-pub-roller-bot@users.noreply.github.com Roll pub packages (flutter/flutter#172193)
2025-07-15 30870216+gaaclarke@users.noreply.github.com Licenses_cpp: Parses NOTICES and DEPS (flutter/flutter#172044)
2025-07-15 engine-flutter-autoroll@skia.org Roll Fuchsia Linux SDK from tQAtsLtpc0oBIqRwC... to JRFUXSNXExcfjVYvA... (flutter/flutter#172189)
2025-07-15 engine-flutter-autoroll@skia.org Roll Skia from fec78c0da2e6 to ab79199bd0f3 (4 revisions) (flutter/flutter#172186)
2025-07-15 matanlurey@users.noreply.github.com Allow a release without engine cherrypicks (adds fallback logic) (flutter/flutter#172184)
2025-07-15 kjlubick@users.noreply.github.com [skia] Add missing param to makeRasterImage calls (flutter/flutter#172122)
2025-07-15 51940183+Sameri11@users.noreply.github.com [Android] remove obsolete gradle api in FGP (flutter/flutter#172085)
2025-07-15 engine-flutter-autoroll@skia.org Roll Skia from 8ffff8c8e01b to fec78c0da2e6 (6 revisions) (flutter/flutter#172178)
2025-07-15 engine-flutter-autoroll@skia.org Roll Skia from 2f4ad5d83704 to 8ffff8c8e01b (7 revisions) (flutter/flutter#172169)
2025-07-15 ivan.inozemtsev@gmail.com Roll Dart SDK to 3.9.0-333.2.beta (flutter/flutter#172167)

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
Please CC bmparr@google.com,stuartmorgan@google.com on the revert to ensure that a human
is aware of the problem.

To file a bug in Packages: 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
ksokolovskyi pushed a commit to ksokolovskyi/flutter that referenced this pull request Aug 19, 2025
changes:
1) Now NOTICES files can be parsed
1) Now DEP files are parsed to make sure we are scanning cipd
dependencies. Previously we just checked git repos.
1) Added a `secondary` directory to `data` that allows us to inject our
own licenses. In a perfect world we wouldn't have this. When the dust
settles it may not be necessary anymore.

After this we are about 60 copyrights shy of having everything.

## Pre-launch Checklist

- [x] I read the [Contributor Guide] and followed the process outlined
there for submitting PRs.
- [x] I read the [Tree Hygiene] wiki page, which explains my
responsibilities.
- [x] I read and followed the [Flutter Style Guide], including [Features
we expect every widget to implement].
- [x] I signed the [CLA].
- [x] I listed at least one issue that this PR fixes in the description
above.
- [x] I updated/added relevant documentation (doc comments with `///`).
- [x] I added new tests to check the change I am making, or this PR is
[test-exempt].
- [x] I followed the [breaking change policy] and added [Data Driven
Fixes] where supported.
- [x] All existing and new tests are passing.

If you need help, consider asking for advice on the #hackers-new channel
on [Discord].

<!-- Links -->
[Contributor Guide]:
https://github.com/flutter/flutter/blob/main/docs/contributing/Tree-hygiene.md#overview
[Tree Hygiene]:
https://github.com/flutter/flutter/blob/main/docs/contributing/Tree-hygiene.md
[test-exempt]:
https://github.com/flutter/flutter/blob/main/docs/contributing/Tree-hygiene.md#tests
[Flutter Style Guide]:
https://github.com/flutter/flutter/blob/main/docs/contributing/Style-guide-for-Flutter-repo.md
[Features we expect every widget to implement]:
https://github.com/flutter/flutter/blob/main/docs/contributing/Style-guide-for-Flutter-repo.md#features-we-expect-every-widget-to-implement
[CLA]: https://cla.developers.google.com/
[flutter/tests]: https://github.com/flutter/tests
[breaking change policy]:
https://github.com/flutter/flutter/blob/main/docs/contributing/Tree-hygiene.md#handling-breaking-changes
[Discord]:
https://github.com/flutter/flutter/blob/main/docs/contributing/Chat.md
[Data Driven Fixes]:
https://github.com/flutter/flutter/blob/main/docs/contributing/Data-driven-Fixes.md
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
engine flutter/engine related. See also e: labels.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants