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

Enforce licenses in third_party code added to brave-core #5333

Merged
merged 6 commits into from
May 14, 2020

Conversation

fmarier
Copy link
Member

@fmarier fmarier commented Apr 23, 2020

Resolves brave/brave-browser#9408.

It depends on #5332.

Submitter Checklist:

Test Plan:

Open brave://credits and look for:

  • Brave background images
  • extension-whitelist
  • speedreader-rust-ffi

They should all have an entry on that page with a license and a working link.

Reviewer Checklist:

  • New files have MPL-2.0 license header.
  • Request a security/privacy review as needed.
  • Adequate test coverage exists to prevent regressions
  • Verify test plan is specified in PR before merging to source

After-merge Checklist:

  • The associated issue milestone is set to the smallest version that the
    changes has landed on.
  • All relevant documentation has been updated.

@fmarier fmarier added this to the 1.10.x - Nightly milestone Apr 23, 2020
@fmarier fmarier requested a review from bridiver as a code owner April 23, 2020 04:13
@fmarier fmarier self-assigned this Apr 23, 2020
@fmarier fmarier force-pushed the enforce_missing_brave_licenses-9408 branch 2 times, most recently from 5e0d785 to 7999e51 Compare April 24, 2020 00:10
@bsclifton
Copy link
Member

Restarted CI after brave/brave-browser#9431 was merged 😄

@fmarier fmarier force-pushed the enforce_missing_brave_licenses-9408 branch from 7999e51 to 13d5406 Compare April 24, 2020 22:32
for path in third_party_dirs:
try:
metadata = ParseDir(path, _REPOSITORY_ROOT)
- except LicenseError:
Copy link
Member Author

Choose a reason for hiding this comment

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

This code is very unlikely to change since https://bugs.chromium.org/p/chromium/issues/detail?id=39240 has been open for 10 years. That said, if it did change due to this bug being fixed, we would then simply be able to drop this patch hunk entirely.

@fmarier fmarier force-pushed the enforce_missing_brave_licenses-9408 branch 3 times, most recently from eb57b3f to b4e6cb9 Compare May 1, 2020 00:31
@fmarier fmarier force-pushed the enforce_missing_brave_licenses-9408 branch 7 times, most recently from db55000 to aa7b503 Compare May 8, 2020 01:00
@fmarier fmarier force-pushed the enforce_missing_brave_licenses-9408 branch 3 times, most recently from 16adf72 to f905f3c Compare May 12, 2020 18:27
@fmarier fmarier force-pushed the enforce_missing_brave_licenses-9408 branch from f905f3c to f020ffb Compare May 13, 2020 18:36
@fmarier fmarier merged commit 509bcf3 into master May 14, 2020
@fmarier fmarier deleted the enforce_missing_brave_licenses-9408 branch May 14, 2020 01:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Enforce licenses in third_party code added to brave-core
3 participants