Skip to content

Commit 373c497

Browse files
authored
Merge pull request #226 from jeremiah/patch-2
Clarify license problem descriptions in ambiguities.json Unrelated build errors dealt with elsewhere.
2 parents ec88e81 + 1f51c7f commit 373c497

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

tests/shell/shell-test.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ test_shell_silent()
4141

4242
# test command: license
4343
test_shell_silent "license\nmit" "MIT"
44-
test_shell_silent "license\nmit and mit" "MIT AND MIT"
44+
test_shell_silent "license\nmit and mit" "MIT"
4545

4646
# test command: simplify
4747
test_shell_silent "simplify\nmit and mit" "MIT"

tests/shell/test-issues.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,4 +35,4 @@ echo "Testing issues"
3535
echo "=============="
3636
echo " https://github.com/hesa/foss-licenses/issues/214"
3737
echo "---------------------------------------------------"
38-
test_flame license "GPL" "GPL"
38+
test_flame license "GPL" "GPL-1.0-only OR GPL-2.0-only OR GPL-3.0-only"

var/ambiguities.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,14 @@
1212
"License :: OSI Approved :: Academic Free License",
1313
"ACADEMIC FREE LICENSE _AFL_"
1414
],
15-
"problem": "This license has many different versions (1.1, 1.2, 2.0, 2.1 and 3.0). Without a version number it is not possible to determine which of the versions is meant."
15+
"problem": "The Academic Free license has multiple versions: 1.1, 1.2, 2.0, 2.1 and 3.0. Without a version number it is impossible to determine the specific license being used."
1616
},
1717
"GNU Affero General Public License": {
1818
"aliases": [
1919
"AGPL",
2020
" Affero General Public License"
2121
],
22-
"problem": "This license has different versions (1.0, 2.0 and 3.0) and different names (version 1.0 does not have GNU in the name). Without a version number it is not possible to determine which of the versions is meant."
22+
"problem": "This license has multiple versions (1.0, 2.0 and 3.0), and different names (version 1.0 does not have GNU in the name). Without a version number it is impossible to determine the specific license being used."
2323
},
2424
"Apache License": {
2525
"aliases": [

0 commit comments

Comments
 (0)