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

Issue 660163002: Collect license version as an optional_key in licenses.py (Closed)

Created:
6 years, 2 months ago by mckev
Modified:
6 years, 1 month ago
CC:
chromium-reviews, Paweł Hajdan Jr.
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Collect license version as an optional_key in licenses.py This changes licenses.py to collect the license version information during ParseDir, as an optional field. This is for scripts that import this script as a module, that may need this information. Additionally, this removes the "Required Text" support from licenses.py, because it was only used by SwiftShader, which no longer needs this functionality. BUG=424424 Committed: https://crrev.com/95468c6efabd1ec13b9926c762f2021400a14192 Cr-Commit-Position: refs/heads/master@{#302213}

Patch Set 1 #

Patch Set 2 : Added optional_keys kwarg to ParseDir #

Total comments: 6

Patch Set 3 : Fix line width #

Patch Set 4 : Removed Required Text functionality #

Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -18 lines) Patch
M android_webview/tools/webview_licenses.py View 1 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/resources/about_credits_entry.tmpl View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M tools/licenses.py View 1 2 3 5 chunks +4 lines, -16 lines 0 comments Download

Messages

Total messages: 21 (3 generated)
mckev
6 years, 1 month ago (2014-10-24 02:07:34 UTC) #2
Lei Zhang
Can't you just patch your local version of licenses.py for use in your project?
6 years, 1 month ago (2014-10-24 19:34:27 UTC) #3
mckev
On 2014/10/24 19:34:27, Lei Zhang wrote: > Can't you just patch your local version of ...
6 years, 1 month ago (2014-10-24 23:04:59 UTC) #4
Lei Zhang
Maybe add an optional "optional_keys" parameter to ParseDir() ? i.e. def ParseDir(path, root, require_license_file=True, optional_keys=[]): ...
6 years, 1 month ago (2014-10-25 01:15:35 UTC) #5
Lei Zhang
On 2014/10/25 01:15:35, Lei Zhang wrote: > Maybe add an optional "optional_keys" parameter to ParseDir() ...
6 years, 1 month ago (2014-10-25 01:17:23 UTC) #6
mckev
On 2014/10/25 01:17:23, Lei Zhang wrote: > On 2014/10/25 01:15:35, Lei Zhang wrote: > > ...
6 years, 1 month ago (2014-10-28 00:49:03 UTC) #7
mckev
+mkosiba for android_webview version of licenses.py PTAL, thanks!
6 years, 1 month ago (2014-10-30 01:35:04 UTC) #9
mkosiba (inactive)
lgtm
6 years, 1 month ago (2014-10-30 08:54:43 UTC) #10
Lei Zhang
+jbauman FYI for "required text" key. https://codereview.chromium.org/660163002/diff/20001/tools/licenses.py File tools/licenses.py (right): https://codereview.chromium.org/660163002/diff/20001/tools/licenses.py#newcode432 tools/licenses.py:432: # 'Required Text' ...
6 years, 1 month ago (2014-10-30 09:14:12 UTC) #11
mckev
https://codereview.chromium.org/660163002/diff/20001/tools/licenses.py File tools/licenses.py (right): https://codereview.chromium.org/660163002/diff/20001/tools/licenses.py#newcode432 tools/licenses.py:432: # 'Required Text' is a relative path to a ...
6 years, 1 month ago (2014-10-30 16:45:13 UTC) #12
Lei Zhang
https://codereview.chromium.org/660163002/diff/20001/tools/licenses.py File tools/licenses.py (right): https://codereview.chromium.org/660163002/diff/20001/tools/licenses.py#newcode432 tools/licenses.py:432: # 'Required Text' is a relative path to a ...
6 years, 1 month ago (2014-10-30 19:06:13 UTC) #13
jbauman
On 2014/10/30 19:06:13, Lei Zhang wrote: > https://codereview.chromium.org/660163002/diff/20001/tools/licenses.py > File tools/licenses.py (right): > > https://codereview.chromium.org/660163002/diff/20001/tools/licenses.py#newcode432 ...
6 years, 1 month ago (2014-10-30 20:22:28 UTC) #14
mckev
https://codereview.chromium.org/660163002/diff/20001/tools/licenses.py File tools/licenses.py (right): https://codereview.chromium.org/660163002/diff/20001/tools/licenses.py#newcode432 tools/licenses.py:432: # 'Required Text' is a relative path to a ...
6 years, 1 month ago (2014-10-30 20:45:54 UTC) #15
Lei Zhang
lgtm, thanks
6 years, 1 month ago (2014-10-31 01:19:32 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/660163002/60001
6 years, 1 month ago (2014-10-31 01:54:29 UTC) #18
mckev
On 2014/10/31 01:54:29, I haz the power (commit-bot) wrote: > CQ is trying da patch. ...
6 years, 1 month ago (2014-10-31 02:01:23 UTC) #19
commit-bot: I haz the power
Committed patchset #4 (id:60001)
6 years, 1 month ago (2014-10-31 02:30:22 UTC) #20
commit-bot: I haz the power
6 years, 1 month ago (2014-10-31 02:31:04 UTC) #21
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/95468c6efabd1ec13b9926c762f2021400a14192
Cr-Commit-Position: refs/heads/master@{#302213}

Powered by Google App Engine
This is Rietveld 408576698