Skip to content

Commit e830934

Browse files
authored
Merge pull request #4184 from aboutcode-org/4181-update_ABOUT_to_use_license_expression
4181 update about to use license expression
2 parents e0db4dd + 636b8c8 commit e830934

24 files changed

+133
-63
lines changed

CHANGELOG.rst

+2
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,8 @@ v33.0.0 (next next, roadmap)
3838
- Update Dockerfile and test container build.
3939
See https://github.com/aboutcode-org/scancode-toolkit/issues/3955
4040

41+
- Update ABOUT files to adapt the ABOUT File Specification.
42+
See https://github.com/aboutcode-org/scancode-toolkit/issues/4181
4143

4244
v32.3.3 - 2025-03-06
4345
--------------------

scancode-toolkit.ABOUT

+2-1
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

+11-5
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,17 @@ download_url: https://codeload.github.com/DataTables/DataTables/zip/1.10.9
33

44
version: 1.10.9
55
name: jQuery
6-
home_url: https://www.datatables.net/
6+
homepage_url: https://www.datatables.net/
77
owner: SpryMedia Limited
88
copyright: Copyright (c) 2008-2013 SpryMedia Limited
99

10-
license_url: https://github.com/DataTables/DataTables/blob/1.10.9/license.txt
11-
dje_license: mit
12-
license_text_file: DataTables.LICENSE
13-
notes: DataTables images are also included in /images directory.
10+
license_expression: mit
11+
licenses:
12+
- key: mit
13+
name: MIT License
14+
file: DataTables.LICENSE
15+
url: https://github.com/DataTables/DataTables/blob/1.10.9/license.txt
16+
spdx_license_key: MIT
17+
notes: DataTables images are also included in /images directory.
18+
19+
package_url: pkg:github/DataTables/[email protected]
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,16 @@
1-
about_resource: bootstrap.min.css
1+
about_resource: fonts
2+
23
download_url: https://github.com/twbs/bootstrap/tree/v3.3.4/dist
34
version: 3.3.4
45

56
name: Bootstrap
6-
home_url: http://twitter.github.com/bootstrap/
7-
owner: Twitter, Inc.
8-
contact: https://twitter.com/about/contact
9-
dje_license: mit
10-
license_text_file: bootstrap.LICENSE
7+
homepage_url: http://getbootstrap.com
8+
9+
license_expression: mit
10+
licenses:
11+
- file: mit.LICENSE
12+
key: mit
13+
name: MIT License
14+
1115
copyright: Copyright (c) 2011-2015 Twitter, Inc
12-
notes: Bootstrap files are also included in /fonts directory.
16+
package_url: pkg:github/twbs/[email protected]
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,18 @@
1-
about_resource: fonts
2-
1+
about_resource: bootstrap.min.css
32
download_url: https://github.com/twbs/bootstrap/tree/v3.3.4/dist
43
version: 3.3.4
54

65
name: Bootstrap
7-
homepage_url: http://getbootstrap.com
8-
6+
homepage_url: http://twitter.github.com/bootstrap/
7+
owner: Twitter, Inc.
8+
contact: https://twitter.com/about/contact
99
license_expression: mit
1010
licenses:
11-
- file: mit.LICENSE
12-
key: mit
11+
- key: mit
1312
name: MIT License
14-
13+
file: mit.LICENSE
14+
url: https://scancode-licensedb.aboutcode.org/mit.LICENSE
15+
spdx_license_key: MIT
1516
copyright: Copyright (c) 2011-2015 Twitter, Inc
17+
notes: Bootstrap files are also included in /fonts directory.
18+
package_url: pkg:github/twbs/[email protected]

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

+1
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

+1
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

+9-4
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,15 @@ download_url: https://github.com/aFarkas/html5shiv/archive/3.7.0.zip
33

44
version: 3.7.0
55
name: HTML5 Shiv
6-
home_url: https://github.com/aFarkas/html5shiv/tree/3.7.0
6+
homepage_url: https://github.com/aFarkas/html5shiv/tree/3.7.0
77
owner: Alexander Farkas
88
copyright: Copyright (c) 2014 Alexander Farkas (aFarkas).
99

10-
license_url: https://raw.githubusercontent.com/aFarkas/html5shiv/master/MIT%20and%20GPL2%20licenses.md
11-
dje_license: mit
12-
license_text_file: html5shiv.LICENSE
10+
license_expression: mit
11+
licenses:
12+
- key: mit
13+
name: MIT License
14+
file: html5shiv.LICENSE
15+
url: https://raw.githubusercontent.com/aFarkas/html5shiv/master/MIT%20and%20GPL2%20licenses.md
16+
spdx_license_key: MIT
17+
package_url: pkg:github/aFarkas/[email protected]

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

+10-4
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,16 @@ download_url: https://github.com/jquery/jquery/archive/1.11.2.zip
33

44
version: 2.1.3
55
name: jQuery
6-
home_url: http://jquery.com/
6+
homepage_url: http://jquery.com/
77
owner: jQuery Foundation, Inc.
88
copyright: Copyright 2014 jQuery Foundation and other contributors
99

10-
license_url: https://raw.githubusercontent.com/jquery/jquery/2.1.3/MIT-LICENSE.txt
11-
dje_license: mit
12-
license_text_file: jquery.LICENSE
10+
license_expression: mit
11+
licenses:
12+
- key: mit
13+
name: MIT License
14+
file: jquery.LICENSE
15+
url: https://raw.githubusercontent.com/jquery/jquery/2.1.3/MIT-LICENSE.txt
16+
spdx_license_key: MIT
17+
18+
package_url: pkg:github/jquery/[email protected]

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

+11-5
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,17 @@ download_url: https://github.com/vakata/jstree/archive/3.1.1.zip
33

44
version: 3.1.1
55
name: jsTree
6-
home_url: http://www.jstree.com/
6+
homepage_url: http://www.jstree.com/
77
owner: Ivan Bozhanov
88
copyright: Copyright (c) 2014 Ivan Bozhanov
99

10-
license_url: https://raw.githubusercontent.com/vakata/jstree/3.1.1/LICENSE-MIT
11-
dje_license: mit
12-
license_text_file: jstree.LICENSE
13-
notes: the files throbber.gif, style.min.css and 32px.png are also from jstree.
10+
license_expression: mit
11+
licenses:
12+
- key: mit
13+
name: MIT License
14+
file: jstree.LICENSE
15+
url: https://raw.githubusercontent.com/vakata/jstree/3.1.1/LICENSE-MIT
16+
spdx_license_key: MIT
17+
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

+10-4
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,16 @@ download_url: https://github.com/scottjehl/Respond/archive/1.4.2.tar.gz
33

44
version: 1.4.2
55
name: Respond.js
6-
home_url: https://github.com/scottjehl/Respond/tree/1.4.2
6+
homepage_url: https://github.com/scottjehl/Respond/tree/1.4.2
77
owner: Scott Jehl
88
copyright: Copyright (c) 2012 Scott Jehl
99

10-
license_url: https://raw.githubusercontent.com/scottjehl/Respond/1.4.2/LICENSE-MIT
11-
dje_license: mit
12-
license_text_file: respond.LICENSE
10+
license_expression: mit
11+
licenses:
12+
- key: mit
13+
name: MIT License
14+
file: respond.LICENSE
15+
url: https://raw.githubusercontent.com/scottjehl/Respond/1.4.2/LICENSE-MIT
16+
spdx_license_key: MIT
17+
18+
package_url: pkg:github/scottjehl/[email protected]

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

+10-4
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,16 @@ download_url: https://github.com/BlackrockDigital/startbootstrap-simple-sidebar/
33

44
version: 1.0.5
55
name: Start Bootstrap - Simple Sidebar
6-
home_url: http://startbootstrap.com/template-overviews/simple-sidebar/
6+
homepage_url: http://startbootstrap.com/template-overviews/simple-sidebar/
77
owner: Iron Summit Media Strategies, LLC
88
copyright: Copyright 2013-2015 Iron Summit Media Strategies, LLC.
99

10-
license_url: https://raw.githubusercontent.com/BlackrockDigital/startbootstrap-simple-sidebar/v1.0.5/LICENSE
11-
dje_license: apache-2.0
12-
license_text_file: simple-sidebar.LICENSE
10+
license_expression: apache-2.0
11+
licenses:
12+
- key: apache-2.0
13+
name: Apache 2.0
14+
file: simple-sidebar.LICENSE
15+
url: https://raw.githubusercontent.com/BlackrockDigital/startbootstrap-simple-sidebar/v1.0.5/LICENSE
16+
spdx_license_key: Apache-2.0
17+
18+
package_url: pkg:github/BlackrockDigital/[email protected]
+7-1
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

+2
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

+1-1
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

+6-4
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,18 @@
11
about_resource: spans.py
2-
version: 2.4.1
2+
version: 2.4.1
33
name: Whoosh Spans
44
vcs_url: hg+https://bitbucket.org/mchaput/whoosh@72e06bd0aac8
5-
home_url: https://bitbucket.org/mchaput/whoosh
5+
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
9-
description: Manage spans of tokens and text.
8+
download_url: https://files.pythonhosted.org/packages/55/6c/c2ef99a8c851010b0700bf3ee036184911762b1146177be543fe17f39d52/Whoosh-2.4.1.tar.gz
9+
description: Manage spans of tokens and text.
1010
This file was originally copied and modified from Whoosh.
1111

1212
license_expression: bsd-simplified
1313

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

src/packagedcode/bashlex.py.ABOUT

+1-1
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/nevra.py.ABOUT

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
about_resource: nevra.py
22
name: rpmhelper.py
3-
home_url: https://github.com/sassoftware/conary
3+
homepage_url: https://github.com/sassoftware/conary
44
download_url: https://raw.githubusercontent.com/sassoftware/conary/c26507001b62b0839539908cc5bf28893c45c0b4/conary/rpmhelper.py
55
license_text_file: nevra.py.LICENSE
66
notice_file: nevra.py.NOTICE
77
copyright: Copyright (c) SAS Institute Inc.
8-
license_expression: apache-2.0
8+
license_expression: apache-2.0

src/packagedcode/pypi.py.ABOUT

-1
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

+2-2
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

+5-3
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/interrupt-robotframework.ABOUT

+8-3
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,16 @@ version: 3.0.2
33
download_url: https://pypi.python.org/packages/3e/79/d8b9a7ea833cf4f33d51c0d5f24b825ac72105bf30c147b472da10895143/robotframework-3.0.2.tar.gz#md5=ea49a54b9d7e38302712194e85c37eaa
44

55
name: robotframework
6-
home_url: http://robotframework.org/
6+
homepage_url: http://robotframework.org/
77
owner: Robot Framework Foundation
8-
dje_license: apache-2.0
98
notice_file: interrupt-robotframework.NOTICE
10-
license_text_file: apache-2.0.LICENSE
9+
license_expression: apache-2.0
10+
licenses:
11+
- key: apache-2.0
12+
name: Apache 2.0
13+
file: apache-2.0.LICENSE
14+
url: https://scancode-licensedb.aboutcode.org/apache-2.0.LICENSE
15+
spdx_license_key: Apache-2.0
1116

1217
copyright: Copyright 2008-2015 Nokia Networks
1318
Copyright 2016- Robot Framework Foundation

src/scancode/outdated.ABOUT

+10-3
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.

tests/packagedcode/data/about/aboutfiles/apipkg.ABOUT

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ download_url: https://pypi.python.org/packages/94/72/fd4f2e46ce7b0d388191c819ef6
33
version: 1.4
44

55
name: apipkg
6-
home_url: https://bitbucket.org/hpk42/apipkg
6+
homepage_url: https://bitbucket.org/hpk42/apipkg
77
owner: Holger Krekel
88
license_expression: mit
99
license_file: apipkg.LICENSE

0 commit comments

Comments
 (0)