Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(147)

Issue 16426003: Add footer license check to licensecheck.pl (Closed)

Created:
7 years, 6 months ago by Nils Barth (inactive)
Modified:
7 years, 6 months ago
CC:
chromium-reviews, haraken, kojih
Visibility:
Public.

Description

Some files, notably CPAN Perl modules, have the license in the footer. This adds a check to the footer if no license is found in the header. (Reading the footer is *much* slower than the header, and can lead to spurious results if there is a legit header license, so do only if necessary.) Minor changes: * refactor "remove_comments" so common header/footer processing; * change "program" to "(program|library)" in Perl license regex. BUG=239771 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=205104

Patch Set 1 #

Total comments: 8

Patch Set 2 : Update per comments #

Patch Set 3 : Wording #

Unified diffs Side-by-side diffs Delta from patch set Stats (+38 lines, -12 lines) Patch
M third_party/devscripts/licensecheck.pl View 1 2 5 chunks +38 lines, -12 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
Nils Barth (inactive)
Hi Paweł and Lei, Here's a CL that adds a footer check so we catch ...
7 years, 6 months ago (2013-06-05 06:41:46 UTC) #1
Paweł Hajdan Jr.
Thank you for the patch, just some minor comments. https://codereview.chromium.org/16426003/diff/1/third_party/devscripts/licensecheck.pl File third_party/devscripts/licensecheck.pl (right): https://codereview.chromium.org/16426003/diff/1/third_party/devscripts/licensecheck.pl#newcode311 third_party/devscripts/licensecheck.pl:311: ...
7 years, 6 months ago (2013-06-05 17:37:38 UTC) #2
Nils Barth (inactive)
Hi Paweł, Updated CL per comments (moved LGPL fix to other CL, will post shortly). ...
7 years, 6 months ago (2013-06-06 06:28:26 UTC) #3
Paweł Hajdan Jr.
LGTM
7 years, 6 months ago (2013-06-06 17:58:05 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/nbarth@chromium.org/16426003/8001
7 years, 6 months ago (2013-06-06 18:00:17 UTC) #5
commit-bot: I haz the power
Retried try job too often on chromium_presubmit for step(s) presubmit http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=chromium_presubmit&number=7298
7 years, 6 months ago (2013-06-06 18:13:48 UTC) #6
Nils Barth (inactive)
On 2013/06/06 18:13:48, I haz the power (commit-bot) wrote: > Retried try job too often ...
7 years, 6 months ago (2013-06-07 06:09:14 UTC) #7
Nils Barth (inactive)
Hi Carlos & Darin, This CL needs an ok from third_party/OWNERS b/c there's no OWNERS ...
7 years, 6 months ago (2013-06-07 06:12:18 UTC) #8
cpu_(ooo_6.6-7.5)
lgtm
7 years, 6 months ago (2013-06-07 17:58:40 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/nbarth@chromium.org/16426003/8001
7 years, 6 months ago (2013-06-08 10:43:40 UTC) #10
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) chrome_frame_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_rel&number=160057
7 years, 6 months ago (2013-06-08 17:30:26 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/nbarth@chromium.org/16426003/8001
7 years, 6 months ago (2013-06-09 01:46:22 UTC) #12
commit-bot: I haz the power
7 years, 6 months ago (2013-06-09 06:04:54 UTC) #13
Message was sent while issue was closed.
Change committed as 205104

Powered by Google App Engine
This is Rietveld 408576698