Skip to content

Commit 3b6b8a8

Browse files
committed
#4181 - Update ABOUT files
* Mainly added package_url into ABOUT files * Removed "package_url" field if it refers to borrowed code Signed-off-by: Chin Yeung Li <[email protected]>
1 parent 3a69ef2 commit 3b6b8a8

18 files changed

+46
-14
lines changed

scancode-toolkit.ABOUT

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,5 @@ copyright: Copyright (c) nexB Inc. and others.
55
homepage_url: https://www.aboutcode.org/
66
vcs_url: git+https://github.com/nexB/scancode-toolkit
77
bug_tracking_url: https://github.com/nexB/scancode-toolkit/issues
8-
notice_file: NOTICE
8+
notice_file: NOTICE
9+
package_url: pkg:pypi/scancode-toolkit

src/formattedcode/templates/html-app/assets/DataTables.ABOUT

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,5 @@ licenses:
1515
url: https://github.com/DataTables/DataTables/blob/1.10.9/license.txt
1616
spdx_license_key: MIT
1717
notes: DataTables images are also included in /images directory.
18+
19+
package_url: pkg:github/DataTables/[email protected]

src/formattedcode/templates/html-app/assets/bootstrap.min.js.ABOUT

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,4 @@ licenses:
1313
name: MIT License
1414

1515
copyright: Copyright (c) 2011-2015 Twitter, Inc
16+
package_url: pkg:github/twbs/[email protected]

src/formattedcode/templates/html-app/assets/d3.min.js.ABOUT

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,4 @@ owner: Mike Bostock
1919
owner_url: http://bost.ocks.org/mike/
2020
vcs_url: https://github.com/d3/d3
2121
version: 3.5.9
22+
package_url: pkg:github/d3/[email protected]

src/formattedcode/templates/html-app/assets/html5shiv.ABOUT

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,4 @@ licenses:
1414
file: html5shiv.LICENSE
1515
url: https://raw.githubusercontent.com/aFarkas/html5shiv/master/MIT%20and%20GPL2%20licenses.md
1616
spdx_license_key: MIT
17+
package_url: pkg:github/aFarkas/[email protected]

src/formattedcode/templates/html-app/assets/jquery.ABOUT

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,5 @@ licenses:
1414
file: jquery.LICENSE
1515
url: https://raw.githubusercontent.com/jquery/jquery/2.1.3/MIT-LICENSE.txt
1616
spdx_license_key: MIT
17+
18+
package_url: pkg:github/jquery/[email protected]

src/formattedcode/templates/html-app/assets/jstree.ABOUT

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,5 @@ licenses:
1515
url: https://raw.githubusercontent.com/vakata/jstree/3.1.1/LICENSE-MIT
1616
spdx_license_key: MIT
1717
notes: the files throbber.gif, style.min.css and 32px.png are also from jstree.
18+
19+
package_url: pkg:github/vakata/[email protected]

src/formattedcode/templates/html-app/assets/respond.ABOUT

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,5 @@ licenses:
1414
file: respond.LICENSE
1515
url: https://raw.githubusercontent.com/scottjehl/Respond/1.4.2/LICENSE-MIT
1616
spdx_license_key: MIT
17+
18+
package_url: pkg:github/scottjehl/[email protected]

src/formattedcode/templates/html-app/assets/simple-sidebar.ABOUT

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,5 @@ licenses:
1414
file: simple-sidebar.LICENSE
1515
url: https://raw.githubusercontent.com/BlackrockDigital/startbootstrap-simple-sidebar/v1.0.5/LICENSE
1616
spdx_license_key: Apache-2.0
17+
18+
package_url: pkg:github/BlackrockDigital/[email protected]
Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,18 @@
11
about_resource: .
22
name: ScanCode datasets
33
license_expression: cc-by-4.0
4+
licenses:
5+
- key: cc-by-4.0
6+
name: CC-BY-4.0
7+
file: cc-by-4.0.LICENSE
8+
49
copyright: copyright (c) nexb Inc. and others.
510
notes: |
611
the preferred attribution notice for data is:
712
Copyright (c) nexB Inc. and others. All rights reserved.
813
ScanCode is a trademark of nexB Inc.
914
SPDX-License-Identifier: CC-BY-4.0
1015
See https://creativecommons.org/licenses/by/4.0/legalcode for the license text.
11-
See https://github.com/nexB/scancode-toolkit for support or download.
16+
See https://github.com/nexB/scancode-toolkit for support or download.
1217
See https://aboutcode.org for more information about nexB OSS projects.
18+
package_url: pkg:github/aboutcode-org/scancode-toolkit#licensedcode/data

src/licensedcode/dmp.py.ABOUT

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,5 @@ license_expression: apache-2.0
1616
licenses:
1717
- file: dmp.py.LICENSE
1818
key: apache-2.0
19+
20+
package_url: pkg:github/google/diff-match-patch@a6367d7

src/licensedcode/seq.py.ABOUT

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
about_resource: seq.py
2-
version: 3.5
2+
33
download_url: https://hg.python.org/cpython/raw-file/0a69b1e8b7fe/Lib/difflib.py
44

55
name: Python difflib

src/licensedcode/spans.py.ABOUT

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ vcs_url: hg+https://bitbucket.org/mchaput/whoosh@72e06bd0aac8
55
homepage_url: https://bitbucket.org/mchaput/whoosh
66
owner: Matt Chaput
77
copyright: Copyright (c) 2011 Matt Chaput.
8-
download_url: https://bitbucket.org/mchaput/whoosh/get/2.4.1.tar.gz
8+
download_url: https://files.pythonhosted.org/packages/55/6c/c2ef99a8c851010b0700bf3ee036184911762b1146177be543fe17f39d52/Whoosh-2.4.1.tar.gz
99
description: Manage spans of tokens and text.
1010
This file was originally copied and modified from Whoosh.
1111

@@ -14,3 +14,5 @@ license_expression: bsd-simplified
1414
licenses:
1515
- file: spans.py.LICENSE
1616
key: bsd-simplified
17+
18+
package_url: pkg:pypi/[email protected]

src/packagedcode/bashlex.py.ABOUT

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@ homepage_url: http://pygments.org/
77
license_expression: bsd-simplified
88
name: bashlex.py
99
notice_file: bashlex.py.NOTICE
10-
package_url: pkg:generic/bashlex.py
10+
1111
primary_language: Python
1212
notes: this is a derived and heavily modified Pygments bash lexer

src/packagedcode/pypi.py.ABOUT

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
about_resource: pypi.py
22
name: pyserial
33
namespace: pyserial
4-
package_url: pkg:github/pyserial/pyserial@d867871e6aa33301#setup.py
54
attribute: yes
65
copyright: Copyright (c) 2001-2020 Chris Liechti <[email protected]>
76
download_url: https://github.com/pyserial/pyserial/blob/d867871e6aa333014a77498b4ac96fdd1d3bf1d8/setup.py#L34

src/packagedcode/pypi_setup_py.py.ABOUT

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@ author: Gram (@orsinium)
44
author_email: [email protected]
55
homepage_url: https://github.com/dephell/dephell_setuptools
66
license_expression: mit
7-
package_url: pkg:github/dephell/[email protected]
8-
notes: code heavily modified from original
7+
8+
notes: code heavily modified from original

src/packagedcode/pyrpm.py.ABOUT

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,10 @@ name: pyrpm
33
version: ca1c91d03dd7da2504f6205276cfc0eb0d197395
44
download_url: https://github.com/mjvm/pyrpm/archive/ca1c91d03dd7da2504f6205276cfc0eb0d197395.zip
55
vcs_repository: https://github.com/mjvm/pyrpm.git
6-
license: bsd-simplified
7-
license_text: pyrpm.py.LICENSE
6+
license_expression: bsd-simplified
7+
licenses:
8+
- file: pyrpm.py.LICENSE
9+
key: bsd-simplified
810
owner: Mário Morgado
911
description: PyRPM is a pure python module to extract information from a RPM package.
10-
notes: heavily modified
12+
notes: heavily modified

src/scancode/outdated.ABOUT

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,14 @@ about_resource: outdated.py
22
name: pip
33
version: 9974f2
44
download_url: https://raw.githubusercontent.com/pypa/pip/9974f274e1c86fb556b5d51dcfd2d4dc637b7b67/pip/utils/outdated.py
5-
license: mit
5+
6+
copyright: Copyright (c) 2008-2014 The pip developers
67
notice_file: outdated.NOTICE
7-
license_text_file: outdated.LICENSE
8-
notes: this code was derived and heavily modified from pip/utils/outdated.py.
8+
9+
license_expression: mit
10+
licenses:
11+
- key: mit
12+
name: MIT License
13+
file: outdated.LICENSE
14+
15+
notes: this code was derived and heavily modified from pip/utils/outdated.py.

0 commit comments

Comments
 (0)