Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add license dump option #3100

Merged
merged 52 commits into from
Nov 2, 2022
Merged
Show file tree
Hide file tree
Changes from 49 commits
Commits
Show all changes
52 commits
Select commit Hold shift + click to select a range
07b0269
Initial commit
tdruez Dec 4, 2020
27c255c
Add the generated static website
tdruez Dec 4, 2020
b39763d
Create CNAME
pombredanne Dec 4, 2020
3bf65b9
Upgrade ScanCode-toolkit to latest 21.2.9 version
tdruez Feb 10, 2021
e97dc5d
Do not display "LicenseRef-" SPDX key as links
tdruez Feb 10, 2021
76c145d
Create CNAME
tdruez Feb 10, 2021
07316b6
Inject the search value in the browser href
tdruez Feb 10, 2021
3e56341
Merge branch 'main' of https://github.com/nexB/scancode-licensedb int…
tdruez Feb 10, 2021
4e8389b
Do not remove the CNAME file on Make clean
tdruez Feb 10, 2021
9164413
Upgrade ScanCode-toolkit to latest version
tdruez Apr 14, 2021
cf386c8
Add "publish" command in Makefile
tdruez Apr 14, 2021
efdb626
Expose SPDX license info in index.json #7
JonoYang Jun 2, 2021
c6a64d1
Merge pull request #8 from nexB/7-expose-spdx-information
tdruez Jun 3, 2021
f98b976
Fix header layout for smaller display sizes
tdruez Jun 3, 2021
8c69070
Merge branch
tdruez Jun 3, 2021
d2f3920
Upgrade ScanCode-toolkit to latest version
tdruez Jun 3, 2021
16dd721
Upgrade ScanCode-toolkit to latest version
tdruez Jun 3, 2021
13e9166
Enhance the details view UI and display URLs as link #5
tdruez Jun 3, 2021
2a4e4cb
Do not display deprecated licenses in main listing by default #2
tdruez Jun 3, 2021
40c5a8d
Expose is_deprecated in index.json #9
JonoYang Jun 7, 2021
d7fa06b
Merge pull request #10 from nexB/9-expose-is_deprecated
tdruez Jun 8, 2021
3069232
Upgrade ScanCode-toolkit to latest version
tdruez Jun 8, 2021
5b0f829
Upgrade ScanCode-toolkit to latest version
tdruez Jun 9, 2021
1d81315
Upgrade ScanCode-toolkit to latest version
tdruez Aug 25, 2021
838f364
Upgrade ScanCode-toolkit to latest version
tdruez Oct 18, 2021
8d234ca
Rename .yml files to .RULE.new
AyanSinhaMahapatra Aug 29, 2022
0156b3a
Rename the .RULE files to .RULE.new
AyanSinhaMahapatra Aug 29, 2022
e755274
Merge branch '3049-too-many-files-rename' into 3049-too-many-files
AyanSinhaMahapatra Aug 29, 2022
e71edc1
Rename .RULE.new files back to .RULE #3049
AyanSinhaMahapatra Aug 29, 2022
bd3545c
Use modified functions and classes from frontmatter
AyanSinhaMahapatra Sep 5, 2022
6e38358
Modify RULE loading/writing to use frontmatter
AyanSinhaMahapatra Sep 5, 2022
89d62ae
Modify test RULE files to use frontmatter
AyanSinhaMahapatra Sep 5, 2022
01e50d6
Add python-frontmatter v1.0.0 to requirements
AyanSinhaMahapatra Sep 5, 2022
b66efb1
Assign correct LICENSE file name for frontmatter ABOUT file
AyanSinhaMahapatra Sep 5, 2022
d29ed2c
Upgrade scancode-toolkit to version 31.1.1
AyanSinhaMahapatra Sep 5, 2022
fa51349
Rename .LICENSE files to .LICENSE.new files
AyanSinhaMahapatra Sep 7, 2022
35f93a7
Rename .yml files to .LICENSE.new files
AyanSinhaMahapatra Sep 7, 2022
025b9ff
Merge branch 'add-license-dump-option-rename-data' into add-license-d…
AyanSinhaMahapatra Sep 7, 2022
172eb4e
Rename LICENSE.new files back to .LICENSE files
AyanSinhaMahapatra Sep 7, 2022
2622763
Modify LICENSE loading/writing to use frontmatter
AyanSinhaMahapatra Sep 9, 2022
c1d8f9f
Modify tests and test files to support YAML frontmatter
AyanSinhaMahapatra Sep 9, 2022
4139a88
Merge remote-tracking branch 'licensedb/main' into add-license-dump-o…
AyanSinhaMahapatra Sep 10, 2022
2861d74
Move licensedb files into licensedcode
AyanSinhaMahapatra Sep 10, 2022
6f0e151
Add command line option to dump license data
AyanSinhaMahapatra Sep 10, 2022
80d5491
Fix about file and help text errors
AyanSinhaMahapatra Sep 12, 2022
12355c5
dump sorted license data by key
AyanSinhaMahapatra Sep 28, 2022
5366e68
Add license dump tests
AyanSinhaMahapatra Sep 28, 2022
a7cc2d5
Merge branch 'develop' into add-license-dump-option
AyanSinhaMahapatra Oct 13, 2022
8a8fba0
Fix binary gibberish bug on extra newlines
AyanSinhaMahapatra Oct 13, 2022
8b2bbfe
Reinstate whitespace in license text
AyanSinhaMahapatra Nov 1, 2022
bc6d6a5
Merge branch 'develop' into add-license-dump-option
AyanSinhaMahapatra Nov 1, 2022
c857fa4
Update changelog
AyanSinhaMahapatra Nov 1, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
17 changes: 17 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -95,3 +95,20 @@ tcl
/00-*.txt
/z-todo-licenses-*

# Extra ignores from licensedb
*.pyc
*.db
.installed.cfg
parts
develop-eggs
eggs
downloads
.settings
TAGS
Procfile
local.cfg
geckodriver.log
var
.metaflow
selenium
/dist/
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ pygmars==0.7.0
Pygments==2.12.0
pymaven-patch==0.3.0
pyparsing==3.0.9
python-frontmatter==1.0.0
pytz==2022.1
PyYAML==6.0
rdflib==6.2.0
Expand Down
1 change: 1 addition & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ install_requires =
pygmars >= 0.7.0
pygments
pymaven_patch >= 0.2.8
python-frontmatter >= 1.0.0
requests >= 2.7.0
saneyaml >= 0.5.2
spdx_tools >= 0.7.0a3
Expand Down
11 changes: 11 additions & 0 deletions src/licensedcode/data/inactive/rules/free-unknown_url_glc_90.RULE
Original file line number Diff line number Diff line change
@@ -1 +1,12 @@
---
license_expression: free-unknown
relevance: 100
notes: |
License test derived from a file of the BSD-licensed repository at:
https://raw.githubusercontent.com/google/licensecheck/v0.3.1/testdata/ccurls.t1
originally expected to be detected as LiLiQ-P-1.1
with coverage of 0
This is a URL test extracted from ccurls.t1.
---

http://opensource.org/licenses/liliq-p-1.1

This file was deleted.

11 changes: 11 additions & 0 deletions src/licensedcode/data/inactive/rules/free-unknown_url_glc_91.RULE
Original file line number Diff line number Diff line change
@@ -1 +1,12 @@
---
license_expression: free-unknown
relevance: 100
notes: |
License test derived from a file of the BSD-licensed repository at:
https://raw.githubusercontent.com/google/licensecheck/v0.3.1/testdata/ccurls.t1
originally expected to be detected as LiLiQ-P-1.1
with coverage of 0
This is a URL test extracted from ccurls.t1.
---

https://opensource.org/licenses/liliq-p-1.1

This file was deleted.

11 changes: 11 additions & 0 deletions src/licensedcode/data/inactive/rules/free-unknown_url_glc_92.RULE
Original file line number Diff line number Diff line change
@@ -1 +1,12 @@
---
license_expression: free-unknown
relevance: 100
notes: |
License test derived from a file of the BSD-licensed repository at:
https://raw.githubusercontent.com/google/licensecheck/v0.3.1/testdata/ccurls.t1
originally expected to be detected as LiLiQ-R-1.1
with coverage of 0
This is a URL test extracted from ccurls.t1.
---

http://opensource.org/licenses/liliq-r-1.1

This file was deleted.

11 changes: 11 additions & 0 deletions src/licensedcode/data/inactive/rules/free-unknown_url_glc_93.RULE
Original file line number Diff line number Diff line change
@@ -1 +1,12 @@
---
license_expression: free-unknown
relevance: 100
notes: |
License test derived from a file of the BSD-licensed repository at:
https://raw.githubusercontent.com/google/licensecheck/v0.3.1/testdata/ccurls.t1
originally expected to be detected as LiLiQ-R-1.1
with coverage of 0
This is a URL test extracted from ccurls.t1.
---

https://opensource.org/licenses/liliq-r-1.1

This file was deleted.

11 changes: 11 additions & 0 deletions src/licensedcode/data/inactive/rules/free-unknown_url_glc_94.RULE
Original file line number Diff line number Diff line change
@@ -1 +1,12 @@
---
license_expression: free-unknown
relevance: 100
notes: |
License test derived from a file of the BSD-licensed repository at:
https://raw.githubusercontent.com/google/licensecheck/v0.3.1/testdata/ccurls.t1
originally expected to be detected as LiLiQ-Rplus-1.1
with coverage of 0
This is a URL test extracted from ccurls.t1.
---

http://opensource.org/licenses/liliq-rplus-1.1

This file was deleted.

11 changes: 11 additions & 0 deletions src/licensedcode/data/inactive/rules/free-unknown_url_glc_95.RULE
Original file line number Diff line number Diff line change
@@ -1 +1,12 @@
---
license_expression: free-unknown
relevance: 100
notes: |
License test derived from a file of the BSD-licensed repository at:
https://raw.githubusercontent.com/google/licensecheck/v0.3.1/testdata/ccurls.t1
originally expected to be detected as LiLiQ-Rplus-1.1
with coverage of 0
This is a URL test extracted from ccurls.t1.
---

https://opensource.org/licenses/liliq-rplus-1.1

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1 +1,7 @@
---
license_expression: unknown
is_license_reference: yes
notes: mostly used by Oracle in the JDK and Linux
---

Use is subject to licence term

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1 +1,7 @@
---
license_expression: unknown
is_license_reference: yes
notes: mostly used by Oracle in the JDK and Linux
---

Use is subject to licence terms.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1 +1,7 @@
---
license_expression: unknown
is_license_reference: yes
notes: mostly used by Oracle in the JDK and Linux
---

Use is subject to license term

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1 +1,7 @@
---
license_expression: unknown
is_license_reference: yes
notes: mostly used by Oracle in the JDK and Linux
---

Use is subject to license terms.

This file was deleted.

46 changes: 46 additions & 0 deletions src/licensedcode/data/licenses/389-exception.LICENSE
Original file line number Diff line number Diff line change
@@ -1,3 +1,49 @@
---
key: 389-exception
short_name: 389 Directory Server Exception to GPL 2.0
name: 389 Directory Server Exception to GPL 2.0
category: Copyleft Limited
owner: Fedora
homepage_url: https://spdx.org/licenses/389-exception.html
is_exception: yes
spdx_license_key: 389-exception
text_urls:
- http://www.directory.fedora.redhat.com/wiki/GPL_Exception_License_Text
other_urls:
- http://directory.fedoraproject.org/wiki/GPL_Exception_License_Text
- http://www.gnu.org/licenses/gpl-2.0.txt
- https://web.archive.org/web/20080828121337/http://directory.fedoraproject.org/wiki/GPL_Exception_License_Text
standard_notice: |
This Program is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the Free
Software Foundation; version 2 of the License.
This Program is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
more details.
You should have received a copy of the GNU General Public License along
with this Program; if not, write to the Free Software Foundation, Inc., 59
Temple Place, Suite 330, Boston, MA 02111-1307 USA.
In addition, as a special exception, Red Hat, Inc. gives You the additional
right to link the code of this Program with code not covered under the GNU
General Public License ("Non-GPL Code") and to distribute linked
combinations including the two, subject to the limitations in this
paragraph. Non-GPL Code permitted under this exception must only link to
the code of this Program through those well defined interfaces identified
in the file named EXCEPTION found in the source code files (the "Approved
Interfaces"). The files of Non-GPL Code may instantiate templates or use
macros or inline functions from the Approved Interfaces without causing the
resulting work to be covered by the GNU General Public License. Only Red
Hat, Inc. may make changes or additions to the list of Approved Interfaces.
You must obey the GNU General Public License in all respects for all of the
Program code and other code used in conjunction with the Program except the
Non-GPL Code covered by this exception. If you modify this file, you may
extend this exception to your version of the file, but you are not
obligated to do so. If you do not wish to provide this exception without
modification, you must delete this exception statement from your version
and license this file solely under the GPL without exception.
---

In addition, as a special exception, Red Hat, Inc. gives You the additional
right to link the code of this Program with code not covered under the GNU
General Public License ("Non-GPL Code") and to distribute linked combinations
Expand Down
43 changes: 0 additions & 43 deletions src/licensedcode/data/licenses/389-exception.yml

This file was deleted.

12 changes: 11 additions & 1 deletion src/licensedcode/data/licenses/3com-microcode.LICENSE
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
---
key: 3com-microcode
short_name: 3Com Microcode
name: 3Com Microcode
category: Permissive
owner: HP - Hewlett Packard
notes: this is a Linux firmware BSD-like license with some weird extra terms
spdx_license_key: LicenseRef-scancode-3com-microcode
---


Redistribution and use in source and binary forms of the
microcode software are permitted provided that the following conditions
Expand Down Expand Up @@ -26,4 +36,4 @@ MICROCODE SOFTWARE WILL NOT CREATE OR GIVE GROUNDS FOR A LICENSE BY
IMPLICATION, ESTOPPEL, OR OTHERWISE IN ANY INTELLECTUAL PROPERTY RIGHTS
(PATENT, COPYRIGHT, TRADE SECRET, MASK WORK, OR OTHER PROPRIETARY RIGHT)
EMBODIED IN ANY OTHER 3COM HARDWARE OR SOFTWARE EITHER SOLELY OR IN
COMBINATION WITH THE MICROCODE SOFTWARE
COMBINATION WITH THE MICROCODE SOFTWARE
7 changes: 0 additions & 7 deletions src/licensedcode/data/licenses/3com-microcode.yml

This file was deleted.

18 changes: 18 additions & 0 deletions src/licensedcode/data/licenses/3dslicer-1.0.LICENSE
Original file line number Diff line number Diff line change
@@ -1,3 +1,21 @@
---
key: 3dslicer-1.0
short_name: 3D Slicer License 1.0
name: 3D Slicer Contribution and Software License Agreement v1.0
category: Permissive
owner: Slicer Project
homepage_url: https://www.slicer.org/wiki/License
spdx_license_key: LicenseRef-scancode-3dslicer-1.0
text_urls:
- https://github.com/Slicer/Slicer/blob/v4.6.2/COPYRIGHT.txt
faq_url: https://www.slicer.org/wiki/CommercialUse
other_urls:
- http://www.slicer.org
- http://wiki.na-mic.org/Wiki/index.php/Slicer3
ignorable_authors:
- The Brigham and Women's Hospital, Inc.
---

3D Slicer Contribution and Software License Agreement ("Agreement")
Version 1.0 (December 20, 2005)

Expand Down
15 changes: 0 additions & 15 deletions src/licensedcode/data/licenses/3dslicer-1.0.yml

This file was deleted.

Loading