]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
patchtest: update SPDX identifiers
authorTrevor Gamblin <tgamblin@baylibre.com>
Tue, 17 Oct 2023 13:25:45 +0000 (09:25 -0400)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 17 Oct 2023 21:53:26 +0000 (22:53 +0100)
Replace full license headers with SPDX identifiers and adjust all
patchtest-related code to use GPL-2.0-only.

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
34 files changed:
meta/lib/patchtest/data.py
meta/lib/patchtest/patch.py
meta/lib/patchtest/repo.py
meta/lib/patchtest/selftest/selftest
meta/lib/patchtest/tests/base.py
meta/lib/patchtest/tests/pyparsing/common.py
meta/lib/patchtest/tests/pyparsing/parse_cve_tags.py
meta/lib/patchtest/tests/pyparsing/parse_shortlog.py
meta/lib/patchtest/tests/pyparsing/parse_signed_off_by.py
meta/lib/patchtest/tests/pyparsing/parse_upstream_status.py
meta/lib/patchtest/tests/test_mbox_author.py
meta/lib/patchtest/tests/test_mbox_bugzilla.py
meta/lib/patchtest/tests/test_mbox_cve.py
meta/lib/patchtest/tests/test_mbox_description.py
meta/lib/patchtest/tests/test_mbox_format.py
meta/lib/patchtest/tests/test_mbox_mailinglist.py
meta/lib/patchtest/tests/test_mbox_merge.py
meta/lib/patchtest/tests/test_mbox_shortlog.py
meta/lib/patchtest/tests/test_mbox_signed_off_by.py
meta/lib/patchtest/tests/test_metadata_lic_files_chksum.py
meta/lib/patchtest/tests/test_metadata_license.py
meta/lib/patchtest/tests/test_metadata_max_length.py
meta/lib/patchtest/tests/test_metadata_src_uri.py
meta/lib/patchtest/tests/test_metadata_summary.py
meta/lib/patchtest/tests/test_patch_cve.py
meta/lib/patchtest/tests/test_patch_signed_off_by.py
meta/lib/patchtest/tests/test_patch_upstream_status.py
meta/lib/patchtest/tests/test_python_pylint.py
meta/lib/patchtest/utils.py
scripts/patchtest
scripts/patchtest-get-branch
scripts/patchtest-get-series
scripts/patchtest-send-results
scripts/patchtest-setup-sharedir

index 12f36aa14d9b0db54234008b082bdfcf1f893fbb..25a9a57dfb1e791a331dd21adcdaa36f7991c16f 100644 (file)
@@ -6,20 +6,7 @@
 #
 # Copyright (C) 2016 Intel Corporation
 #
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 as
-# published by the Free Software Foundation.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along
-# with this program; if not, write to the Free Software Foundation, Inc.,
-# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
-#
-# Author: Leo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>
+# SPDX-License-Identifier: GPL-2.0-only
 #
 # NOTE: Strictly speaking, unit test should be isolated from outside,
 #       but patchtest test suites uses command line input data and
index c0e7d579eba68aa243d0141ef4b6418ce0a69743..baf62838730d23a2b2a4073aa4b02fe94f83d209 100644 (file)
@@ -5,18 +5,7 @@
 #
 # Copyright (C) 2016 Intel Corporation
 #
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 as
-# published by the Free Software Foundation.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along
-# with this program; if not, write to the Free Software Foundation, Inc.,
-# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+# SPDX-License-Identifier: GPL-2.0-only
 #
 
 import logging
index 5c85c65ffb8354f982d0095c0738156009dd0420..8a11af5fd66e7d8b187e9e6078dbaa8b485b61c2 100644 (file)
@@ -5,18 +5,8 @@
 #
 # Copyright (C) 2016 Intel Corporation
 #
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 as
-# published by the Free Software Foundation.
+# SPDX-License-Identifier: GPL-2.0-only
 #
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along
-# with this program; if not, write to the Free Software Foundation, Inc.,
-# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 
 import os
 import utils
index f8985314f5e6cbbd9e4ad124768926247e01612b..79b12542488791a075123409f778d21590d31634 100755 (executable)
@@ -4,7 +4,7 @@
 #
 # Copyright (C) 2016 Intel Corporation
 #
-# SPDX-License-Identifier: GPL-2.0
+# SPDX-License-Identifier: GPL-2.0-only
 
 import os
 import subprocess
index 27db380353c381cf3bdf565cdd4cb254a293e39d..aecbbc4aae51a1d9186757cb9bc58201bef3ccc9 100644 (file)
@@ -2,7 +2,7 @@
 #
 # Copyright (C) 2016 Intel Corporation
 #
-# SPDX-License-Identifier: GPL-2.0
+# SPDX-License-Identifier: GPL-2.0-only
 
 import unittest
 import logging
index 9d37b0403d186943b175068d4e6e3c65bca4547d..cbce4c38bc8b0dadeb0eb0d0f5b341f89ccbf0a0 100644 (file)
@@ -2,7 +2,7 @@
 #
 # Copyright (C) 2016 Intel Corporation
 #
-# SPDX-License-Identifier: GPL-2.0
+# SPDX-License-Identifier: GPL-2.0-only
 
 import pyparsing
 
index dd7131a650caadf9e831f1793f15386e2d26c48f..f7fb82ec2bd3e5ae03c5f4c13b7080f6e5eb8ea2 100644 (file)
@@ -2,7 +2,7 @@
 #
 # Copyright (C) 2016 Intel Corporation
 #
-# SPDX-License-Identifier: GPL-2.0
+# SPDX-License-Identifier: GPL-2.0-only
 
 
 import pyparsing
index 26e9612c4a5abc5e69bfcc98152b36accd1992a8..30d3ab35b327dae4f13a1b67dc5c6a728ed36e3c 100644 (file)
@@ -2,7 +2,7 @@
 #
 # Copyright (C) 2016 Intel Corporation
 #
-# SPDX-License-Identifier: GPL-2.0
+# SPDX-License-Identifier: GPL-2.0-only
 
 # NOTE:This is an oversimplified syntax of the mbox's summary
 
index c8a43515515bd67deaa8810ce68c5031fbc96bb6..692ebec3ffceb5ab7c1dcac360e586d53071eeba 100644 (file)
@@ -2,7 +2,7 @@
 #
 # Copyright (C) 2016 Intel Corporation
 #
-# SPDX-License-Identifier: GPL-2.0
+# SPDX-License-Identifier: GPL-2.0-only
 
 
 import pyparsing
index d63567efbe15efe2d3857895d50d3bbea8b671f5..bc6c427c4ce36547e03aedae8740e79da00417b2 100644 (file)
@@ -2,7 +2,7 @@
 #
 # Copyright (C) 2016 Intel Corporation
 #
-# SPDX-License-Identifier: GPL-2.0
+# SPDX-License-Identifier: GPL-2.0-only
 
 
 import common
index e68e7a5ac4d71ae78d387ae20a9a0eff6693b1d5..74bc441250ae18901681e1e1a43d595537be7f57 100644 (file)
@@ -2,7 +2,7 @@
 #
 # Copyright (C) 2016 Intel Corporation
 #
-# SPDX-License-Identifier: GPL-2.0
+# SPDX-License-Identifier: GPL-2.0-only
 
 import base
 import pyparsing
index adf46b5d59b1d508452c538c7b4c4c4ef0ae7480..99b529b755944a018c3ff52a16966a8c64875726 100644 (file)
@@ -2,7 +2,7 @@
 #
 # Copyright (C) 2016 Intel Corporation
 #
-# SPDX-License-Identifier: GPL-2.0
+# SPDX-License-Identifier: GPL-2.0-only
 
 import pyparsing
 import base
index af3712c19289a56d0e090f89b1b0c29a809c7fb9..31faeb5ef5ab21dbe855c50eaf5fc88d16c07ce2 100644 (file)
@@ -2,20 +2,8 @@
 #
 # Copyright (C) 2016 Intel Corporation
 #
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 as
-# published by the Free Software Foundation.
+# SPDX-License-Identifier: GPL-2.0-only
 #
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along
-# with this program; if not, write to the Free Software Foundation, Inc.,
-# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
-
-# SPDX-License-Identifier: GPL-2.0-or-later
 
 import base
 import os
index 46bedd46ce57201a5014f69d217c812c52c16de6..7874f9d03828313c9df77f8d7d77317bdea00308 100644 (file)
@@ -2,7 +2,7 @@
 #
 # Copyright (C) 2016 Intel Corporation
 #
-# SPDX-License-Identifier: GPL-2.0
+# SPDX-License-Identifier: GPL-2.0-only
 
 import base
 
index c9e046583569d96ccbade4b8cefb076b5d003130..fea3793e2e4cdb95f0d04c9e08ad75cad918490b 100644 (file)
@@ -2,7 +2,7 @@
 #
 # Copyright (C) 2016 Intel Corporation
 #
-# SPDX-License-Identifier: GPL-2.0
+# SPDX-License-Identifier: GPL-2.0-only
 
 import base
 
index c02c71ac6a7d3f81ab6c2382a9f57a2e7ae0feae..0ffb6056c083b2f652ec060fa557ac684580520f 100644 (file)
@@ -2,7 +2,7 @@
 #
 # Copyright (C) 2017 Intel Corporation
 #
-# SPDX-License-Identifier: GPL-2.0
+# SPDX-License-Identifier: GPL-2.0-only
 
 import subprocess
 import collections
index a7e0821e726dc1f42b76e69283226663ae00d88b..bc55c588b402c94743dde2b6e841214527700b7e 100644 (file)
@@ -2,7 +2,7 @@
 #
 # Copyright (C) 2016 Intel Corporation
 #
-# SPDX-License-Identifier: GPL-2.0
+# SPDX-License-Identifier: GPL-2.0-only
 
 import subprocess
 import base
index 7cc71562f6bb1a250736117e58b91d5642fe7ec8..f5dbbc7807b41780534d545ef94f367feb7fe683 100644 (file)
@@ -2,7 +2,7 @@
 #
 # Copyright (C) 2016 Intel Corporation
 #
-# SPDX-License-Identifier: GPL-2.0
+# SPDX-License-Identifier: GPL-2.0-only
 
 import base
 import parse_shortlog
index 59a89bd1bc419ae5f08370c15a8480510018385f..f3c5770961927243661b99585039f7cf5c01c9a4 100644 (file)
@@ -2,7 +2,7 @@
 #
 # Copyright (C) 2016 Intel Corporation
 #
-# SPDX-License-Identifier: GPL-2.0
+# SPDX-License-Identifier: GPL-2.0-only
 
 import base
 import parse_signed_off_by
index 784d432f01877a844e34712831e6cfb378ab7573..b2c32507ffe603192405722b915c0509b50fe8e9 100644 (file)
@@ -2,7 +2,7 @@
 #
 # Copyright (C) 2016 Intel Corporation
 #
-# SPDX-License-Identifier: GPL-2.0
+# SPDX-License-Identifier: GPL-2.0-only
 
 import base
 import pyparsing
index e49331603ced8ee86cd415fa719a1dfcbd80fc31..a5bc03b83fe8b47b0e8757c2067a1ffc2ceb09cd 100644 (file)
@@ -2,7 +2,7 @@
 #
 # Copyright (C) 2016 Intel Corporation
 #
-# SPDX-License-Identifier: GPL-2.0
+# SPDX-License-Identifier: GPL-2.0-only
 
 import base
 import os
index 477a9bff57fc729ba345d2348513ebb5f6403ea9..98c48ef78746d93feca86023a42ef0b81aabda41 100644 (file)
@@ -2,7 +2,7 @@
 #
 # Copyright (C) 2016 Intel Corporation
 #
-# SPDX-License-Identifier: GPL-2.0
+# SPDX-License-Identifier: GPL-2.0-only
 
 import base
 import pyparsing
index c19582ec2df46d1c5bc9f3fd770a483fc31e6e84..01d8a451037ac4960042ea025bd31610f7de9743 100644 (file)
@@ -2,7 +2,7 @@
 #
 # Copyright (C) 2016 Intel Corporation
 #
-# SPDX-License-Identifier: GPL-2.0
+# SPDX-License-Identifier: GPL-2.0-only
 
 import subprocess
 import base
index 8bcea453c2552443179d2a89b2e93cae78dc9382..1502863df020f21e85ee2a4aa9e2cf4a5e18ba1f 100644 (file)
@@ -2,7 +2,7 @@
 #
 # Copyright (C) 2016 Intel Corporation
 #
-# SPDX-License-Identifier: GPL-2.0
+# SPDX-License-Identifier: GPL-2.0-only
 
 import base
 from data import PatchTestInput
index 0ae85adcf9c4e0501c1751866d189947e166add3..c0c7e742ee161bddc8dfcdb776b8a70b34ea5e95 100644 (file)
@@ -2,20 +2,8 @@
 #
 # Copyright (C) 2016 Intel Corporation
 #
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 as
-# published by the Free Software Foundation.
+# SPDX-License-Identifier: GPL-2.0-only
 #
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along
-# with this program; if not, write to the Free Software Foundation, Inc.,
-# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
-
-# SPDX-License-Identifier: GPL-2.0-or-later
 
 import base
 import os
index 2df6419d2643a0644bff4bfab80347661435fa7a..b091ff6f105debe15b9b717a6cd03f87eb7e687e 100644 (file)
@@ -2,7 +2,7 @@
 #
 # Copyright (C) 2016 Intel Corporation
 #
-# SPDX-License-Identifier: GPL-2.0
+# SPDX-License-Identifier: GPL-2.0-only
 
 import base
 import parse_signed_off_by
index c21aeaf28fd6acd3f4c6a011584fc7afad6226df..957817ba8d912b75d913c108cfba414ca6adcddc 100644 (file)
@@ -2,7 +2,7 @@
 #
 # Copyright (C) 2016 Intel Corporation
 #
-# SPDX-License-Identifier: GPL-2.0
+# SPDX-License-Identifier: GPL-2.0-only
 
 import base
 import parse_upstream_status
index 907bd9eef4ae4142f2cacf000d0c7cbde68d5400..9cfc491a134158fb09f1456224364910330ff7cc 100644 (file)
@@ -2,7 +2,7 @@
 #
 # Copyright (C) 2016 Intel Corporation
 #
-# SPDX-License-Identifier: GPL-2.0
+# SPDX-License-Identifier: GPL-2.0-only
 
 import base
 from data import PatchTestInput
index 23428ae1c5e9aded4d8c35fa22899b4d6385be56..8dcac30941ecc6c5e766a4c3c3b32f80b33f20d5 100644 (file)
@@ -5,18 +5,8 @@
 #
 # Copyright (C) 2016 Intel Corporation
 #
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 as
-# published by the Free Software Foundation.
+# SPDX-License-Identifier: GPL-2.0-only
 #
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along
-# with this program; if not, write to the Free Software Foundation, Inc.,
-# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 
 import os
 import subprocess
index b25ef183216551763b5c0f2149c5319e78d4fabc..642486b8c7f2723a7e786329269a88ecb4660fc1 100755 (executable)
@@ -6,20 +6,7 @@
 #
 # Copyright (C) 2016 Intel Corporation
 #
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 as
-# published by the Free Software Foundation.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along
-# with this program; if not, write to the Free Software Foundation, Inc.,
-# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
-#
-# Author: Leo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>
+# SPDX-License-Identifier: GPL-2.0-only
 #
 
 import sys
index 9415de98efbb2f143c5b7e227f9eaed06b5e95ea..962f572b20c15e2ce59afa0666fc6d13576a09bd 100755 (executable)
@@ -8,18 +8,8 @@
 #
 # Copyright (C) 2016 Intel Corporation
 #
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 as
-# published by the Free Software Foundation.
+# SPDX-License-Identifier: GPL-2.0-only
 #
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along
-# with this program; if not, write to the Free Software Foundation, Inc.,
-# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 
 import mailbox
 import argparse
index 773701f80b5b5db3c22c106752e1816d3f3cd80f..908442089ff99690416e48364258889b11024548 100755 (executable)
@@ -4,18 +4,8 @@
 #
 # Copyright (C) 2023 BayLibre Inc.
 #
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 as
-# published by the Free Software Foundation.
+# SPDX-License-Identifier: GPL-2.0-only
 #
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along
-# with this program; if not, write to the Free Software Foundation, Inc.,
-# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 
 # the interval into the past which we want to check for new series, in minutes
 INTERVAL_MINUTES=30
index 2a2c57a10e0a12adf76813f9d315d753efd66704..15ee5b077fc73a2c38ded724b798ae2c094086f9 100755 (executable)
@@ -9,21 +9,8 @@
 #
 # Copyright (C) 2023 BayLibre Inc.
 #
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 as
-# published by the Free Software Foundation.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along
-# with this program; if not, write to the Free Software Foundation, Inc.,
-# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
-#
-# Author: Trevor Gamblin <tgamblin@baylibre.com>
-#
+# SPDX-License-Identifier: GPL-2.0-only
+# 
 
 import argparse
 import boto3
index a1497987cb18da4ce201cddc9a65a7890da82f4e..277677e52798a2756ae3fd6a308c788920159680 100755 (executable)
@@ -6,20 +6,8 @@
 #
 # Copyright (C) 2023 BayLibre Inc.
 #
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 as
-# published by the Free Software Foundation.
+# SPDX-License-Identifier: GPL-2.0-only
 #
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along
-# with this program; if not, write to the Free Software Foundation, Inc.,
-# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
-#
-# Author: Trevor Gamblin <tgamblin@baylibre.com>
 
 # poky repository
 POKY_REPO="https://git.yoctoproject.org/poky"