Skip to content

Commit 032550e

Browse files
Fix test expectations and address feedback
Signed-off-by: Ayan Sinha Mahapatra <[email protected]>
1 parent d2f343c commit 032550e

File tree

37 files changed

+273
-259
lines changed

37 files changed

+273
-259
lines changed

src/licensedcode/data/licenses/apple-academic-lisa-os-3.1.LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ name: Apple Academic License Agreement Lisa OS v3.1
55
category: Proprietary Free
66
owner: Apple
77
homepage_url: https://info.computerhistory.org/apple-lisa-code
8-
spdx_license_key: LicenseRef-scancode-apple-academic-lisa-OS-3.1
8+
spdx_license_key: LicenseRef-scancode-apple-academic-lisa-os-3.1
99
text_urls:
1010
- https://d1yx3ys82bpsa0.cloudfront.net/source/lisa-source.zip
1111
other_urls:

src/licensedcode/data/licenses/bsd-advertising-acknowledgement.LICENSE

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -7,19 +7,8 @@ owner: David Giffin
77
spdx_license_key: BSD-Advertising-Acknowledgement
88
other_urls:
99
- https://github.com/python-excel/xlrd/blob/master/LICENSE#L33
10-
ignorable_copyrights:
11-
- Copyright (c) 2001 David Giffin
12-
ignorable_holders:
13-
- David Giffin
14-
ignorable_authors:
15-
- David Giffin <[email protected]>
16-
ignorable_emails:
17-
1810
---
1911

20-
Copyright (c) 2001 David Giffin.
21-
All rights reserved.
22-
2312
Redistribution and use in source and binary forms, with or without
2413
modification, are permitted provided that the following conditions
2514
are met:

src/licensedcode/data/licenses/kazlib.LICENSE

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,6 @@ owner: Kaz Kylheku
77
spdx_license_key: Kazlib
88
other_urls:
99
- http://git.savannah.gnu.org/cgit/kazlib.git/tree/except.c?id=0062df360c2d17d57f6af19b0e444c51feb99036
10-
ignorable_copyrights:
11-
- Copyright (c) 1999 Kaz Kylheku
12-
ignorable_holders:
13-
- Kaz Kylheku
1410
---
1511

1612
Free Software License:

src/licensedcode/data/rules/brian-gladman-3-clause_10.RULE

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22
license_expression: brian-gladman-3-clause
33
is_license_notice: yes
44
relevance: 100
5+
ignorable_copyrights:
6+
- Copyright (c) 2003, Dr Brian Gladman, Worcester, UK.
7+
ignorable_holders:
8+
- Dr Brian Gladman, Worcester, UK.
59
---
610

711
Copyright (c) 2003, Dr Brian Gladman, Worcester, UK. All rights reserved.

src/licensedcode/data/rules/martin-birgmeier_1.RULE

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22
license_expression: martin-birgmeier
33
is_license_text: yes
44
relevance: 100
5+
ignorable_copyrights:
6+
- Copyright (c) 1993 Martin Birgmeier
7+
ignorable_holders:
8+
- Martin Birgmeier
59
---
610

711
Copyright (c) 1993 Martin Birgmeier All rights reserved.

src/licensedcode/data/rules/other-permissive_300.RULE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
license_expression: other-permissive
2+
license_expression: bsd-advertising-acknowledgement
33
is_license_text: yes
44
notes: https://fedoraproject.org/wiki/Licensing:BSD?rd=Licensing/BSD#Advertising_Variant
55
---

src/licensedcode/data/rules/snprintf_2.RULE

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,14 @@
22
license_expression: snprintf
33
is_license_text: yes
44
relevance: 100
5+
ignorable_authors:
6+
- Patrick Powell ([email protected])
7+
ignorable_copyrights:
8+
- Copyright Patrick Powell 1995
9+
ignorable_emails:
10+
11+
ignorable_holders:
12+
- Patrick Powell
513
---
614

715
Copyright Patrick Powell 1995

src/licensedcode/data/rules/sunpro_2.RULE

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22
license_expression: sunpro
33
is_license_text: yes
44
relevance: 100
5+
ignorable_copyrights:
6+
- Copyright (c) 1993 by Sun Microsystems, Inc.
7+
ignorable_holders:
8+
- Sun Microsystems, Inc.
59
---
610

711
Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
license_expressions:
2-
- brian-gladman-3-clause OR gpl-1.0-plus
2+
- brian-gladman-3-clause

tests/licensedcode/data/datadriven/lic4/gpl-2.0-plus_and_gpl-2.0-plus_and_gpl-3.0-plus_and_lgpl-2.1-plus_and_other.txt.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ license_expressions:
33
- lgpl-2.1-plus
44
- lgpl-2.1-plus
55
- lgpl-2.1-plus AND free-unknown
6-
- mit-modern
6+
- cornell-lossless-jpeg
77
- gpl-2.0-plus
88
- gpl-2.0-plus
99
- lgpl-2.1 AND gpl-2.0 AND gpl-3.0

0 commit comments

Comments
 (0)