Skip to content

Commit 7efb9a7

Browse files
committed
improve license_db
1 parent a4415e7 commit 7efb9a7

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

57 files changed

+6054
-6035
lines changed

src/licensedcode/static/datatables/jquery.dataTables-1.10.22.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/licensedcode/templates/base.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
.anchor {color: #6362dc; display: none; margin-left: .2rem; padding: 0 .2rem;}
1818
h4:focus .anchor, h4:hover .anchor {display: inline; text-decoration: none;}
1919
.help_text, .help_text:hover, .help_text:visited {color: #3b4351!important; border-bottom: dotted 0.0625rem #cccccc; text-decoration: inherit;}
20+
.table-head{position: sticky; top: 0; overflow: hidden; background-color: #FFFFFF;}
2021
</style>
2122
<link rel="stylesheet" href="static/spectre-0.5.9.min.css">
2223
<script src="static/jquery-3.5.1.slim.min.js"></script>

src/licensedcode/templates/license_list.html

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
<div class="container">
1212
<div class="loading loading-lg" style="margin-top:50px;"></div>
1313
<table class="display" style="visibility: hidden;">
14-
<thead>
14+
<thead class="table-head">
1515
<tr>
1616
<th>Key</th>
1717
<th>Short name</th>
@@ -99,8 +99,10 @@
9999

100100
// https://datatables.net/reference/api/search()
101101
let searchbox = $("#searchbox");
102-
searchbox.on("keyup", function() {
103-
table.search(this.value).draw();
102+
searchbox.on("keyup", function () {
103+
table.columns([0, 1])
104+
.search(this.value)
105+
.draw();
104106

105107
// Inject the search value in the browser href
106108
if (history.replaceState) {
Lines changed: 145 additions & 145 deletions
Original file line numberDiff line numberDiff line change
@@ -1,146 +1,146 @@
1-
[
2-
{
3-
"license_key": "bash-exception-gpl",
4-
"category": "Copyleft",
5-
"spdx_license_key": "LicenseRef-scancode-bash-exception-gpl-2.0",
6-
"other_spdx_license_keys": [],
7-
"is_exception": true,
8-
"is_deprecated": false,
9-
"json": "bash-exception-gpl.json",
10-
"yaml": "bash-exception-gpl.yml",
11-
"html": "bash-exception-gpl.html",
12-
"license": "bash-exception-gpl.LICENSE"
13-
},
14-
{
15-
"license_key": "binary-linux-firmware",
16-
"category": "Proprietary Free",
17-
"spdx_license_key": "LicenseRef-scancode-binary-linux-firmware",
18-
"other_spdx_license_keys": [],
19-
"is_exception": false,
20-
"is_deprecated": false,
21-
"json": "binary-linux-firmware.json",
22-
"yaml": "binary-linux-firmware.yml",
23-
"html": "binary-linux-firmware.html",
24-
"license": "binary-linux-firmware.LICENSE"
25-
},
26-
{
27-
"license_key": "bison-exception-2.0",
28-
"category": "Copyleft Limited",
29-
"spdx_license_key": "LicenseRef-scancode-bison-exception-2.0",
30-
"other_spdx_license_keys": [],
31-
"is_exception": true,
32-
"is_deprecated": false,
33-
"json": "bison-exception-2.0.json",
34-
"yaml": "bison-exception-2.0.yml",
35-
"html": "bison-exception-2.0.html",
36-
"license": "bison-exception-2.0.LICENSE"
37-
},
38-
{
39-
"license_key": "bison-exception-2.2",
40-
"category": "Copyleft Limited",
41-
"spdx_license_key": "Bison-exception-2.2",
42-
"other_spdx_license_keys": [],
43-
"is_exception": true,
44-
"is_deprecated": false,
45-
"json": "bison-exception-2.2.json",
46-
"yaml": "bison-exception-2.2.yml",
47-
"html": "bison-exception-2.2.html",
48-
"license": "bison-exception-2.2.LICENSE"
49-
},
50-
{
51-
"license_key": "bittorrent-1.0",
52-
"category": "Copyleft Limited",
53-
"spdx_license_key": "BitTorrent-1.0",
54-
"other_spdx_license_keys": [],
55-
"is_exception": false,
56-
"is_deprecated": false,
57-
"json": "bittorrent-1.0.json",
58-
"yaml": "bittorrent-1.0.yml",
59-
"html": "bittorrent-1.0.html",
60-
"license": "bittorrent-1.0.LICENSE"
61-
},
62-
{
63-
"license_key": "bittorrent-1.1",
64-
"category": "Copyleft Limited",
65-
"spdx_license_key": "BitTorrent-1.1",
66-
"other_spdx_license_keys": [],
67-
"is_exception": false,
68-
"is_deprecated": false,
69-
"json": "bittorrent-1.1.json",
70-
"yaml": "bittorrent-1.1.yml",
71-
"html": "bittorrent-1.1.html",
72-
"license": "bittorrent-1.1.LICENSE"
73-
},
74-
{
75-
"license_key": "bittorrent-1.2",
76-
"category": "Copyleft Limited",
77-
"spdx_license_key": "LicenseRef-scancode-bittorrent-1.2",
78-
"other_spdx_license_keys": [],
79-
"is_exception": false,
80-
"is_deprecated": false,
81-
"json": "bittorrent-1.2.json",
82-
"yaml": "bittorrent-1.2.yml",
83-
"html": "bittorrent-1.2.html",
84-
"license": "bittorrent-1.2.LICENSE"
85-
},
86-
{
87-
"license_key": "bittorrent-eula",
88-
"category": "Proprietary Free",
89-
"spdx_license_key": "LicenseRef-scancode-bittorrent-eula",
90-
"other_spdx_license_keys": [],
91-
"is_exception": false,
92-
"is_deprecated": false,
93-
"json": "bittorrent-eula.json",
94-
"yaml": "bittorrent-eula.yml",
95-
"html": "bittorrent-eula.html",
96-
"license": "bittorrent-eula.LICENSE"
97-
},
98-
{
99-
"license_key": "boost-1.0",
100-
"category": "Permissive",
101-
"spdx_license_key": "BSL-1.0",
102-
"other_spdx_license_keys": [],
103-
"is_exception": false,
104-
"is_deprecated": false,
105-
"json": "boost-1.0.json",
106-
"yaml": "boost-1.0.yml",
107-
"html": "boost-1.0.html",
108-
"license": "boost-1.0.LICENSE"
109-
},
110-
{
111-
"license_key": "boost-original",
112-
"category": "Permissive",
113-
"spdx_license_key": "LicenseRef-scancode-boost-original",
114-
"other_spdx_license_keys": [],
115-
"is_exception": false,
116-
"is_deprecated": false,
117-
"json": "boost-original.json",
118-
"yaml": "boost-original.yml",
119-
"html": "boost-original.html",
120-
"license": "boost-original.LICENSE"
121-
},
122-
{
123-
"license_key": "bootloader-exception",
124-
"category": "Copyleft Limited",
125-
"spdx_license_key": "Bootloader-exception",
126-
"other_spdx_license_keys": [],
127-
"is_exception": true,
128-
"is_deprecated": false,
129-
"json": "bootloader-exception.json",
130-
"yaml": "bootloader-exception.yml",
131-
"html": "bootloader-exception.html",
132-
"license": "bootloader-exception.LICENSE"
133-
},
134-
{
135-
"license_key": "bsla",
136-
"category": "Permissive",
137-
"spdx_license_key": "LicenseRef-scancode-bsla",
138-
"other_spdx_license_keys": [],
139-
"is_exception": false,
140-
"is_deprecated": false,
141-
"json": "bsla.json",
142-
"yaml": "bsla.yml",
143-
"html": "bsla.html",
144-
"license": "bsla.LICENSE"
145-
}
1+
[
2+
{
3+
"license_key": "bash-exception-gpl",
4+
"category": "Copyleft",
5+
"spdx_license_key": "LicenseRef-scancode-bash-exception-gpl-2.0",
6+
"other_spdx_license_keys": [],
7+
"is_exception": true,
8+
"is_deprecated": false,
9+
"json": "bash-exception-gpl.json",
10+
"yaml": "bash-exception-gpl.yml",
11+
"html": "bash-exception-gpl.html",
12+
"license": "bash-exception-gpl.LICENSE"
13+
},
14+
{
15+
"license_key": "binary-linux-firmware",
16+
"category": "Proprietary Free",
17+
"spdx_license_key": "LicenseRef-scancode-binary-linux-firmware",
18+
"other_spdx_license_keys": [],
19+
"is_exception": false,
20+
"is_deprecated": false,
21+
"json": "binary-linux-firmware.json",
22+
"yaml": "binary-linux-firmware.yml",
23+
"html": "binary-linux-firmware.html",
24+
"license": "binary-linux-firmware.LICENSE"
25+
},
26+
{
27+
"license_key": "bison-exception-2.0",
28+
"category": "Copyleft Limited",
29+
"spdx_license_key": "LicenseRef-scancode-bison-exception-2.0",
30+
"other_spdx_license_keys": [],
31+
"is_exception": true,
32+
"is_deprecated": false,
33+
"json": "bison-exception-2.0.json",
34+
"yaml": "bison-exception-2.0.yml",
35+
"html": "bison-exception-2.0.html",
36+
"license": "bison-exception-2.0.LICENSE"
37+
},
38+
{
39+
"license_key": "bison-exception-2.2",
40+
"category": "Copyleft Limited",
41+
"spdx_license_key": "Bison-exception-2.2",
42+
"other_spdx_license_keys": [],
43+
"is_exception": true,
44+
"is_deprecated": false,
45+
"json": "bison-exception-2.2.json",
46+
"yaml": "bison-exception-2.2.yml",
47+
"html": "bison-exception-2.2.html",
48+
"license": "bison-exception-2.2.LICENSE"
49+
},
50+
{
51+
"license_key": "bittorrent-1.0",
52+
"category": "Copyleft Limited",
53+
"spdx_license_key": "BitTorrent-1.0",
54+
"other_spdx_license_keys": [],
55+
"is_exception": false,
56+
"is_deprecated": false,
57+
"json": "bittorrent-1.0.json",
58+
"yaml": "bittorrent-1.0.yml",
59+
"html": "bittorrent-1.0.html",
60+
"license": "bittorrent-1.0.LICENSE"
61+
},
62+
{
63+
"license_key": "bittorrent-1.1",
64+
"category": "Copyleft Limited",
65+
"spdx_license_key": "BitTorrent-1.1",
66+
"other_spdx_license_keys": [],
67+
"is_exception": false,
68+
"is_deprecated": false,
69+
"json": "bittorrent-1.1.json",
70+
"yaml": "bittorrent-1.1.yml",
71+
"html": "bittorrent-1.1.html",
72+
"license": "bittorrent-1.1.LICENSE"
73+
},
74+
{
75+
"license_key": "bittorrent-1.2",
76+
"category": "Copyleft Limited",
77+
"spdx_license_key": "LicenseRef-scancode-bittorrent-1.2",
78+
"other_spdx_license_keys": [],
79+
"is_exception": false,
80+
"is_deprecated": false,
81+
"json": "bittorrent-1.2.json",
82+
"yaml": "bittorrent-1.2.yml",
83+
"html": "bittorrent-1.2.html",
84+
"license": "bittorrent-1.2.LICENSE"
85+
},
86+
{
87+
"license_key": "bittorrent-eula",
88+
"category": "Proprietary Free",
89+
"spdx_license_key": "LicenseRef-scancode-bittorrent-eula",
90+
"other_spdx_license_keys": [],
91+
"is_exception": false,
92+
"is_deprecated": false,
93+
"json": "bittorrent-eula.json",
94+
"yaml": "bittorrent-eula.yml",
95+
"html": "bittorrent-eula.html",
96+
"license": "bittorrent-eula.LICENSE"
97+
},
98+
{
99+
"license_key": "boost-1.0",
100+
"category": "Permissive",
101+
"spdx_license_key": "BSL-1.0",
102+
"other_spdx_license_keys": [],
103+
"is_exception": false,
104+
"is_deprecated": false,
105+
"json": "boost-1.0.json",
106+
"yaml": "boost-1.0.yml",
107+
"html": "boost-1.0.html",
108+
"license": "boost-1.0.LICENSE"
109+
},
110+
{
111+
"license_key": "boost-original",
112+
"category": "Permissive",
113+
"spdx_license_key": "LicenseRef-scancode-boost-original",
114+
"other_spdx_license_keys": [],
115+
"is_exception": false,
116+
"is_deprecated": false,
117+
"json": "boost-original.json",
118+
"yaml": "boost-original.yml",
119+
"html": "boost-original.html",
120+
"license": "boost-original.LICENSE"
121+
},
122+
{
123+
"license_key": "bootloader-exception",
124+
"category": "Copyleft Limited",
125+
"spdx_license_key": "Bootloader-exception",
126+
"other_spdx_license_keys": [],
127+
"is_exception": true,
128+
"is_deprecated": false,
129+
"json": "bootloader-exception.json",
130+
"yaml": "bootloader-exception.yml",
131+
"html": "bootloader-exception.html",
132+
"license": "bootloader-exception.LICENSE"
133+
},
134+
{
135+
"license_key": "bsla",
136+
"category": "Permissive",
137+
"spdx_license_key": "LicenseRef-scancode-bsla",
138+
"other_spdx_license_keys": [],
139+
"is_exception": false,
140+
"is_deprecated": false,
141+
"json": "bsla.json",
142+
"yaml": "bsla.yml",
143+
"html": "bsla.html",
144+
"license": "bsla.LICENSE"
145+
}
146146
]
Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
1-
---
2-
key: bash-exception-gpl
3-
short_name: Bash exception to GPL
4-
name: Bash exception to GPL
5-
category: Copyleft
6-
owner: Free Software Foundation (FSF)
7-
notes: this used with GPL 1.0 and 2.0. It was removed from the V3 text https://git.savannah.gnu.org/cgit/bash.git/commit/COPYING?id=3185942a5234e26ab13fa02f9c51d340cec514f8
8-
is_exception: yes
9-
spdx_license_key: LicenseRef-scancode-bash-exception-gpl-2.0
10-
text_urls:
11-
- https://git.savannah.gnu.org/cgit/bash.git/plain/COPYING?h=bash-3.0-rc1&id=dd9e6dfa23d0dae4888f11fb8c6a27bc36d1b283
12-
---
13-
14-
The Free Software Foundation has exempted Bash from the requirement of
15-
Paragraph 2c of the General Public License. This is to say, there is
16-
no requirement for Bash to print a notice when it is started
17-
interactively in the usual way. We made this exception because users
18-
and standards expect shells not to print such messages. This
19-
exception applies to any program that serves as a shell and that is
1+
---
2+
key: bash-exception-gpl
3+
short_name: Bash exception to GPL
4+
name: Bash exception to GPL
5+
category: Copyleft
6+
owner: Free Software Foundation (FSF)
7+
notes: this used with GPL 1.0 and 2.0. It was removed from the V3 text https://git.savannah.gnu.org/cgit/bash.git/commit/COPYING?id=3185942a5234e26ab13fa02f9c51d340cec514f8
8+
is_exception: yes
9+
spdx_license_key: LicenseRef-scancode-bash-exception-gpl-2.0
10+
text_urls:
11+
- https://git.savannah.gnu.org/cgit/bash.git/plain/COPYING?h=bash-3.0-rc1&id=dd9e6dfa23d0dae4888f11fb8c6a27bc36d1b283
12+
---
13+
14+
The Free Software Foundation has exempted Bash from the requirement of
15+
Paragraph 2c of the General Public License. This is to say, there is
16+
no requirement for Bash to print a notice when it is started
17+
interactively in the usual way. We made this exception because users
18+
and standards expect shells not to print such messages. This
19+
exception applies to any program that serves as a shell and that is
2020
based primarily on Bash as opposed to other GNU software.

0 commit comments

Comments
 (0)