Skip to content

Licenses_cpp: Parses NOTICES and DEPS #172044

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

Merged
merged 16 commits into from
Jul 16, 2025

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 repository. 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
engine flutter/engine repository. See also e: labels.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy