Skip to content

licenses_cpp: Started writing the licenses file #170539

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 13 commits into from
Jun 13, 2025

Conversation

gaaclarke
Copy link
Member

@gaaclarke gaaclarke commented Jun 12, 2025

This writes the licenses and associates them with packages. It has simple deduplication. This also adds linux ci tests. Writing the file adds about 7 seconds, now we are at 37s. Too much is getting written now though so that should come down once the output is corrected.

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 Jun 12, 2025
@gaaclarke gaaclarke changed the title Started writing the licenses file licenses_cpp: Started writing the licenses file Jun 12, 2025
@gaaclarke gaaclarke force-pushed the licenses-write-file branch from 65ad748 to a9937df Compare June 12, 2025 18:13
@@ -137,13 +166,24 @@ std::vector<absl::Status> LicenseChecker::Run(std::string_view working_dir,
return errors;
}
}
auto package_emplace_result =
license_map.try_emplace(package, absl::flat_hash_set<std::string>());

This comment was marked as outdated.

@gaaclarke gaaclarke marked this pull request as ready for review June 12, 2025 22:09
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.

RSLGTM

@gaaclarke gaaclarke added the autosubmit Merge PR when tree becomes green via auto submit App label Jun 13, 2025
@auto-submit auto-submit bot added this pull request to the merge queue Jun 13, 2025
Merged via the queue into flutter:master with commit 3bddd07 Jun 13, 2025
181 of 182 checks passed
@flutter-dashboard flutter-dashboard bot removed the autosubmit Merge PR when tree becomes green via auto submit App label Jun 13, 2025
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