Skip to content

Commit b0a6e26

Browse files
committed
Detect new form of copyright
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
1 parent 1fc7cea commit b0a6e26

File tree

3 files changed

+16
-0
lines changed

3 files changed

+16
-0
lines changed

src/cluecode/copyrights.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2755,6 +2755,9 @@ def build_detection_from_node(
27552755
27562756
COPYRIGHT2: {<COPY>+ <NN|CAPS>? <YR-RANGE>+ <PN>*} #2280
27572757
2758+
# using #2280 above: Copyright 2018 Developers of the Rand project
2759+
COPYRIGHT: {<COPYRIGHT2> <MAINT> <OF> <COMPANY>} #2280.123
2760+
27582761
COPYRIGHT2: {<COPY>+ <NN|CAPS>? <YR-RANGE>+ <NN|CAPS>* <COMPANY>?} #2300
27592762
27602763
# Copyright (c) 2014, 2015, the respective contributors All rights reserved.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Copyright 2018 Developers of the Rand project
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
what:
2+
- copyrights
3+
- holders
4+
- holders_summary
5+
- authors
6+
copyrights:
7+
- Copyright 2018 Developers of the Rand project
8+
holders:
9+
- Developers of the Rand project
10+
holders_summary:
11+
- value: Developers of the Rand project
12+
count: 1

0 commit comments

Comments
 (0)