Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,11 +61,6 @@ jobs:
bin/pytest -n 3 -vvs --test-suite=all \
tests/licensedcode/test_detection_datadriven_external.py

license_validate_basic: |
bin/pytest -n 3 -vvs --test-suite=validate \
tests/licensedcode/test_detection_validate.py \
-k TestValidateLicenseBasic

license_validate_ext_1: |
bin/pytest -n 3 -vvs --test-suite=validate \
tests/licensedcode/test_detection_validate.py \
Expand Down
4 changes: 3 additions & 1 deletion src/cluecode/copyrights.py
Original file line number Diff line number Diff line change
Expand Up @@ -1044,6 +1044,8 @@ def from_node(
(r'^JMagnetic$', 'NN'),
(r'^Joint$', 'NN'),
(r'^Jsunittest$', 'NN'),
(r'^List$', 'NN'),
(r'^Set$', 'NN'),
(r'^Last$', 'NN'),
(r'^LAW', 'NN'),
(r'^Legal$', 'NN'),
Expand Down Expand Up @@ -2215,7 +2217,7 @@ def from_node(
COPYRIGHT: {<COPY>+ <YR-RANGE> <NN> <NNP>} #22792

# Copyright (c) 2017 odahcam
COPYRIGHT: {<COPY>+ <YR-RANGE> <NN> <ALLRIGHTRESERVED>?} #22793
COPYRIGHT: {<COPY>+ <YR-RANGE> <NN>+ <ALLRIGHTRESERVED>?} #22793

# Licensed material of Foobar Company, All Rights Reserved, (C) 2005
COPYRIGHT: {<COMPANY> <ALLRIGHTRESERVED> <COPYRIGHT>} #22794
Expand Down
4 changes: 3 additions & 1 deletion src/licensedcode/data/licenses/accellera-systemc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,13 @@ homepage_url: https://www.accellera.org/images/about/policies/SystemC_Open_Sourc
spdx_license_key: LicenseRef-scancode-accellera-systemc
faq_url: https://accellera.org/about/policies-and-procedures
ignorable_copyrights:
- (c) 1996- current
- (c) 1996- current year here
- (c) 1996- current year here by all Contributors
- Copyright (c) 1996- current year here by all Contributors
ignorable_authors:
- through the Accellera working group process
ignorable_holders:
- here
- here by all Contributors
ignorable_urls:
- http://www.accellera.org/
Expand Down
4 changes: 2 additions & 2 deletions src/licensedcode/data/licenses/sata.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ other_urls:
- https://github.com/zTrix/sata-license
- https://github.com/kongtianyi/sata-license
ignorable_copyrights:
- Copyright (c) 2014 zTrix(i@ztrix.me)
- Copyright (c) 2014 zTrix(i@ztrix.me) kongtianyi(kongtianyi@foxmail.com)
ignorable_holders:
- zTrix(i@ztrix.me)
- zTrix(i@ztrix.me) kongtianyi(kongtianyi@foxmail.com)
ignorable_urls:
- https://github.com/kongtianyi/sata-license
- https://github.com/zTrix/sata-license
Expand Down
4 changes: 4 additions & 0 deletions tests/cluecode/data/copyrights/line-set.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#
# Copyright (c) 2007-2010 Sharon Rosner, Wayne E. Seguin, Aman Gupta, Adrian Madrid, Jeremy Evans
module List
# Set
4 changes: 4 additions & 0 deletions tests/cluecode/data/copyrights/line-set.txt.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
what:
- copyrights
copyrights:
- Copyright (c) 2007-2010 Sharon Rosner, Wayne E. Seguin, Aman Gupta, Adrian Madrid, Jeremy Evans
6 changes: 6 additions & 0 deletions tests/cluecode/data/copyrights/lines.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Files: src/macos/src/macos_main.cpp
Copyright: 2001, Eric Lavigne
License: curl

Files: docs/examples/rtsp.c
Copyright: 2011, Jim Hollinger
5 changes: 5 additions & 0 deletions tests/cluecode/data/copyrights/lines.txt.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
what:
- copyrights
copyrights:
- Copyright 2001, Eric Lavigne
- Copyright 2011, Jim Hollinger
1 change: 1 addition & 0 deletions tests/cluecode/data/copyrights/the_native_web.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Copyright (c) 2014-2018 the native web.
7 changes: 7 additions & 0 deletions tests/cluecode/data/copyrights/the_native_web.txt.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
what:
- copyrights
- holders
copyrights:
- Copyright (c) 2014-2018 the native web
holders:
- the native web
Original file line number Diff line number Diff line change
Expand Up @@ -14,19 +14,19 @@ copyrights:
- (c) 2004 - 2007 Nigel McNie, 2007 - 2008 Benny Baumann (http://qbnz.com/highlighter/ and
http://geshi.org/)
- Copyright (c) 2004 Nigel McNie (http://qbnz.com/highlighter/)
- Copyright (c) 2008 name
- Copyright (c) 2008 name ( website URL )
holders:
- Nigel McNie, - Benny Baumann
- Nigel McNie, - Benny Baumann
- Nigel McNie, - Benny Baumann
- Nigel McNie, - Benny Baumann
- Nigel McNie, - Benny Baumann
- Nigel McNie
- name
- name website URL
holders_summary:
- value: Nigel McNie, - Benny Baumann
count: 5
- value: Nigel McNie
count: 1
- value: name
- value: name website URL
count: 1
6 changes: 3 additions & 3 deletions tests/cluecode/data/ics/oprofile-utils/opcontrol.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@ what:
- holders
- holders_summary
copyrights:
- Copyright 2002 Read
- Copyright 2002 Read the
- Copyright IBM Corporation 2007
holders:
- Read
- Read the
- IBM Corporation
holders_summary:
- value: IBM Corporation
count: 1
- value: Read
- value: Read the
count: 1