Skip to content

Commit 7417bc6

Browse files
committed
Improve copyright detection
For the form of "Contributors to the project..." Signed-off-by: Philippe Ombredanne <[email protected]>
1 parent 713a605 commit 7417bc6

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

src/cluecode/copyrights.py

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2663,6 +2663,7 @@ def build_detection_from_node(
26632663
# Copyright (c) 2004, The Codehaus
26642664
COPYRIGHT: {<COPY> <COPY> <YR-RANGE> <NN> <NNP>} #22790
26652665
2666+
# Copyright (c) 2017-2023 Contributors to the OpenSTEF project
26662667
# SPDX-FileCopyrightText: © 2020 Contributors to the project Clay <https://github.com/liferay/clay/graphs/contributors>
26672668
COPYRIGHT: {<COPY>+ <YR-RANGE> <CONTRIBUTORS> <TO> <COMPANY>} #22790.1
26682669
@@ -2678,10 +2679,11 @@ def build_detection_from_node(
26782679
# Copyright base-x contributors (c) 2016
26792680
COPYRIGHT: {<COPY>+ <NN> <CONTRIBUTORS|COMMIT|AUTHS|MAINT> <COPY> <YR-RANGE>} #22793.2
26802681
2681-
# Copyright (c) 2017 odahcam or Copyright (C) 2006 XStream committers.
2682-
# or Copyright (c) 2019-2021, Open source contributors.
2683-
# or Copyright 2007 ZXing authors
2684-
# or Copyright (c) 2002 the Initial Developer
2682+
# Copyright (c) 2017 odahcam
2683+
# Copyright (C) 2006 XStream committers.
2684+
# Copyright (c) 2019-2021, Open source contributors.
2685+
# Copyright 2007 ZXing authors
2686+
# Copyright (c) 2002 the Initial Developer
26852687
COPYRIGHT: {<COPY>+ <YR-RANGE> <NN>+ <CONTRIBUTORS|COMMIT|AUTHS|MAINT>? <ALLRIGHTRESERVED>?} #22793
26862688
26872689
# Licensed material of Foobar Company, All Rights Reserved, (C) 2005

0 commit comments

Comments
 (0)