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

Issue 12209034: [Android WebView] Make 3rd party licenses checker to turn bot red (Closed)

Created:
7 years, 10 months ago by mnaganov (inactive)
Modified:
7 years, 10 months ago
CC:
chromium-reviews, android-webview-reviews_chromium.org, bulach+watch_chromium.org, yfriedman+watch_chromium.org, klundberg+watch_chromium.org, ilevy+watch_chromium.org, frankf+watch_chromium.org
Visibility:
Public.

Description

[Android WebView] Make 3rd party licenses checker to turn bot red We have substantially improved the licenses checker to avoid false positives in finding copyrighted code in non-third_party dirs. Also, this change makes the presence of stale entries in the whitelist file to be a warning, not an error. BUG=161461 NOTRY=true Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=181679

Patch Set 1 #

Patch Set 2 : Return error code if cmdline args are invalid #

Total comments: 7

Patch Set 3 : Comments addressed #

Total comments: 4

Patch Set 4 : Comments addressed #

Patch Set 5 : Add a check step to the main waterfall #

Patch Set 6 : ...and remove from the fyi bot #

Patch Set 7 : Keep the check on the FYI bot #

Unified diffs Side-by-side diffs Delta from patch set Stats (+36 lines, -19 lines) Patch
M android_webview/tools/webview_licenses.py View 1 2 3 6 chunks +27 lines, -17 lines 0 comments Download
M build/android/buildbot/bb_run_bot.py View 1 2 3 4 6 1 chunk +2 lines, -1 line 0 comments Download
M build/android/buildbot/buildbot_functions.sh View 1 2 3 1 chunk +7 lines, -1 line 0 comments Download

Messages

Total messages: 19 (0 generated)
mnaganov (inactive)
Marcin, please take a look. bulach@ - please look at the buildbot changes.
7 years, 10 months ago (2013-02-06 11:37:35 UTC) #1
mkosiba (inactive)
https://codereview.chromium.org/12209034/diff/2001/android_webview/tools/webview_licenses.py File android_webview/tools/webview_licenses.py (right): https://codereview.chromium.org/12209034/diff/2001/android_webview/tools/webview_licenses.py#newcode79 android_webview/tools/webview_licenses.py:79: SCAN_ERRORS = 1 << 1 It seems these are ...
7 years, 10 months ago (2013-02-06 15:40:48 UTC) #2
mnaganov (inactive)
https://codereview.chromium.org/12209034/diff/2001/android_webview/tools/webview_licenses.py File android_webview/tools/webview_licenses.py (right): https://codereview.chromium.org/12209034/diff/2001/android_webview/tools/webview_licenses.py#newcode79 android_webview/tools/webview_licenses.py:79: SCAN_ERRORS = 1 << 1 On 2013/02/06 15:40:49, Martin ...
7 years, 10 months ago (2013-02-06 16:42:16 UTC) #3
mkosiba (inactive)
lgtm https://codereview.chromium.org/12209034/diff/2001/android_webview/tools/webview_licenses.py File android_webview/tools/webview_licenses.py (right): https://codereview.chromium.org/12209034/diff/2001/android_webview/tools/webview_licenses.py#newcode88 android_webview/tools/webview_licenses.py:88: SCAN_OK if all files with non-standard license headers ...
7 years, 10 months ago (2013-02-06 16:54:51 UTC) #4
mnaganov (inactive)
Marcus, ping!
7 years, 10 months ago (2013-02-07 11:52:12 UTC) #5
mnaganov (inactive)
Marcus, ping!
7 years, 10 months ago (2013-02-07 11:52:12 UTC) #6
bulach
lgtm, tiny nit below. sorry about the delay! :) https://codereview.chromium.org/12209034/diff/1004/android_webview/tools/webview_licenses.py File android_webview/tools/webview_licenses.py (right): https://codereview.chromium.org/12209034/diff/1004/android_webview/tools/webview_licenses.py#newcode77 android_webview/tools/webview_licenses.py:77: ...
7 years, 10 months ago (2013-02-07 11:57:14 UTC) #7
Isaac (away)
https://codereview.chromium.org/12209034/diff/1004/build/android/buildbot/buildbot_functions.sh File build/android/buildbot/buildbot_functions.sh (right): https://codereview.chromium.org/12209034/diff/1004/build/android/buildbot/buildbot_functions.sh#newcode277 build/android/buildbot/buildbot_functions.sh:277: return $licenses_exit_code This syntax will not work - the ...
7 years, 10 months ago (2013-02-07 12:08:47 UTC) #8
mnaganov (inactive)
https://codereview.chromium.org/12209034/diff/1004/android_webview/tools/webview_licenses.py File android_webview/tools/webview_licenses.py (right): https://codereview.chromium.org/12209034/diff/1004/android_webview/tools/webview_licenses.py#newcode77 android_webview/tools/webview_licenses.py:77: class ScanResult: On 2013/02/07 11:57:15, bulach wrote: > nit: ...
7 years, 10 months ago (2013-02-07 13:48:51 UTC) #9
Isaac (away)
The other thing discussed on the bug is extending the curret license check script rather ...
7 years, 10 months ago (2013-02-07 16:48:55 UTC) #10
mnaganov (inactive)
On 2013/02/07 16:48:55, Isaac wrote: > The other thing discussed on the bug is extending ...
7 years, 10 months ago (2013-02-07 17:03:33 UTC) #11
joth
On 7 February 2013 09:03, <mnaganov@chromium.org> wrote: > On 2013/02/07 16:48:55, Isaac wrote: > >> ...
7 years, 10 months ago (2013-02-07 18:53:49 UTC) #12
mnaganov (inactive)
So, Isaac, what do you think about the plan? The check anyway currently runs on ...
7 years, 10 months ago (2013-02-08 10:07:33 UTC) #13
Isaac (away)
After looking at the background to this change, I'm on board. The last time we ...
7 years, 10 months ago (2013-02-09 22:46:09 UTC) #14
mnaganov (inactive)
On 2013/02/09 22:46:09, Isaac wrote: > After looking at the background to this change, I'm ...
7 years, 10 months ago (2013-02-11 10:18:46 UTC) #15
Isaac (away)
On 2013/02/11 10:18:46, Mikhail Naganov (Chromium) wrote: > The copyright scanning we are doing is ...
7 years, 10 months ago (2013-02-11 10:56:42 UTC) #16
Isaac (away)
By 'keep this step on fyi' I mean in addition to adding to main waterfall ...
7 years, 10 months ago (2013-02-11 10:57:43 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mnaganov@chromium.org/12209034/1007
7 years, 10 months ago (2013-02-11 11:52:16 UTC) #18
commit-bot: I haz the power
7 years, 10 months ago (2013-02-11 12:10:33 UTC) #19
Message was sent while issue was closed.
Change committed as 181679

Powered by Google App Engine
This is Rietveld 408576698