diff options
author | Trevor Gamblin <tgamblin@baylibre.com> | 2023-10-17 09:25:45 -0400 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-10-17 22:53:30 +0100 |
commit | b5a87b5f984626106fea2c5a71319e76ad37fbc3 (patch) | |
tree | 462cff3a8f5f51075f401a46045f4a15cd0edd18 | |
parent | 8fa77bf2f1f782ad42ef8d6131b7947840e881e6 (diff) | |
download | poky-b5a87b5f984626106fea2c5a71319e76ad37fbc3.tar.gz |
patchtest: update SPDX identifiers
Replace full license headers with SPDX identifiers and adjust all
patchtest-related code to use GPL-2.0-only.
(From OE-Core rev: 9bea6b39074296bb8d8719a3300636e316f19d1b)
Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
34 files changed, 35 insertions, 161 deletions
diff --git a/meta/lib/patchtest/data.py b/meta/lib/patchtest/data.py index 12f36aa14d..25a9a57dfb 100644 --- a/meta/lib/patchtest/data.py +++ b/meta/lib/patchtest/data.py | |||
@@ -6,20 +6,7 @@ | |||
6 | # | 6 | # |
7 | # Copyright (C) 2016 Intel Corporation | 7 | # Copyright (C) 2016 Intel Corporation |
8 | # | 8 | # |
9 | # This program is free software; you can redistribute it and/or modify | 9 | # SPDX-License-Identifier: GPL-2.0-only |
10 | # it under the terms of the GNU General Public License version 2 as | ||
11 | # published by the Free Software Foundation. | ||
12 | # | ||
13 | # This program is distributed in the hope that it will be useful, | ||
14 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
15 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
16 | # GNU General Public License for more details. | ||
17 | # | ||
18 | # You should have received a copy of the GNU General Public License along | ||
19 | # with this program; if not, write to the Free Software Foundation, Inc., | ||
20 | # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. | ||
21 | # | ||
22 | # Author: Leo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com> | ||
23 | # | 10 | # |
24 | # NOTE: Strictly speaking, unit test should be isolated from outside, | 11 | # NOTE: Strictly speaking, unit test should be isolated from outside, |
25 | # but patchtest test suites uses command line input data and | 12 | # but patchtest test suites uses command line input data and |
diff --git a/meta/lib/patchtest/patch.py b/meta/lib/patchtest/patch.py index c0e7d579eb..baf6283873 100644 --- a/meta/lib/patchtest/patch.py +++ b/meta/lib/patchtest/patch.py | |||
@@ -5,18 +5,7 @@ | |||
5 | # | 5 | # |
6 | # Copyright (C) 2016 Intel Corporation | 6 | # Copyright (C) 2016 Intel Corporation |
7 | # | 7 | # |
8 | # This program is free software; you can redistribute it and/or modify | 8 | # SPDX-License-Identifier: GPL-2.0-only |
9 | # it under the terms of the GNU General Public License version 2 as | ||
10 | # published by the Free Software Foundation. | ||
11 | # | ||
12 | # This program is distributed in the hope that it will be useful, | ||
13 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
14 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
15 | # GNU General Public License for more details. | ||
16 | # | ||
17 | # You should have received a copy of the GNU General Public License along | ||
18 | # with this program; if not, write to the Free Software Foundation, Inc., | ||
19 | # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. | ||
20 | # | 9 | # |
21 | 10 | ||
22 | import logging | 11 | import logging |
diff --git a/meta/lib/patchtest/repo.py b/meta/lib/patchtest/repo.py index 5c85c65ffb..8a11af5fd6 100644 --- a/meta/lib/patchtest/repo.py +++ b/meta/lib/patchtest/repo.py | |||
@@ -5,18 +5,8 @@ | |||
5 | # | 5 | # |
6 | # Copyright (C) 2016 Intel Corporation | 6 | # Copyright (C) 2016 Intel Corporation |
7 | # | 7 | # |
8 | # This program is free software; you can redistribute it and/or modify | 8 | # SPDX-License-Identifier: GPL-2.0-only |
9 | # it under the terms of the GNU General Public License version 2 as | ||
10 | # published by the Free Software Foundation. | ||
11 | # | 9 | # |
12 | # This program is distributed in the hope that it will be useful, | ||
13 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
14 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
15 | # GNU General Public License for more details. | ||
16 | # | ||
17 | # You should have received a copy of the GNU General Public License along | ||
18 | # with this program; if not, write to the Free Software Foundation, Inc., | ||
19 | # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. | ||
20 | 10 | ||
21 | import os | 11 | import os |
22 | import utils | 12 | import utils |
diff --git a/meta/lib/patchtest/selftest/selftest b/meta/lib/patchtest/selftest/selftest index f8985314f5..79b1254248 100755 --- a/meta/lib/patchtest/selftest/selftest +++ b/meta/lib/patchtest/selftest/selftest | |||
@@ -4,7 +4,7 @@ | |||
4 | # | 4 | # |
5 | # Copyright (C) 2016 Intel Corporation | 5 | # Copyright (C) 2016 Intel Corporation |
6 | # | 6 | # |
7 | # SPDX-License-Identifier: GPL-2.0 | 7 | # SPDX-License-Identifier: GPL-2.0-only |
8 | 8 | ||
9 | import os | 9 | import os |
10 | import subprocess | 10 | import subprocess |
diff --git a/meta/lib/patchtest/tests/base.py b/meta/lib/patchtest/tests/base.py index 27db380353..aecbbc4aae 100644 --- a/meta/lib/patchtest/tests/base.py +++ b/meta/lib/patchtest/tests/base.py | |||
@@ -2,7 +2,7 @@ | |||
2 | # | 2 | # |
3 | # Copyright (C) 2016 Intel Corporation | 3 | # Copyright (C) 2016 Intel Corporation |
4 | # | 4 | # |
5 | # SPDX-License-Identifier: GPL-2.0 | 5 | # SPDX-License-Identifier: GPL-2.0-only |
6 | 6 | ||
7 | import unittest | 7 | import unittest |
8 | import logging | 8 | import logging |
diff --git a/meta/lib/patchtest/tests/pyparsing/common.py b/meta/lib/patchtest/tests/pyparsing/common.py index 9d37b0403d..cbce4c38bc 100644 --- a/meta/lib/patchtest/tests/pyparsing/common.py +++ b/meta/lib/patchtest/tests/pyparsing/common.py | |||
@@ -2,7 +2,7 @@ | |||
2 | # | 2 | # |
3 | # Copyright (C) 2016 Intel Corporation | 3 | # Copyright (C) 2016 Intel Corporation |
4 | # | 4 | # |
5 | # SPDX-License-Identifier: GPL-2.0 | 5 | # SPDX-License-Identifier: GPL-2.0-only |
6 | 6 | ||
7 | import pyparsing | 7 | import pyparsing |
8 | 8 | ||
diff --git a/meta/lib/patchtest/tests/pyparsing/parse_cve_tags.py b/meta/lib/patchtest/tests/pyparsing/parse_cve_tags.py index dd7131a650..f7fb82ec2b 100644 --- a/meta/lib/patchtest/tests/pyparsing/parse_cve_tags.py +++ b/meta/lib/patchtest/tests/pyparsing/parse_cve_tags.py | |||
@@ -2,7 +2,7 @@ | |||
2 | # | 2 | # |
3 | # Copyright (C) 2016 Intel Corporation | 3 | # Copyright (C) 2016 Intel Corporation |
4 | # | 4 | # |
5 | # SPDX-License-Identifier: GPL-2.0 | 5 | # SPDX-License-Identifier: GPL-2.0-only |
6 | 6 | ||
7 | 7 | ||
8 | import pyparsing | 8 | import pyparsing |
diff --git a/meta/lib/patchtest/tests/pyparsing/parse_shortlog.py b/meta/lib/patchtest/tests/pyparsing/parse_shortlog.py index 26e9612c4a..30d3ab35b3 100644 --- a/meta/lib/patchtest/tests/pyparsing/parse_shortlog.py +++ b/meta/lib/patchtest/tests/pyparsing/parse_shortlog.py | |||
@@ -2,7 +2,7 @@ | |||
2 | # | 2 | # |
3 | # Copyright (C) 2016 Intel Corporation | 3 | # Copyright (C) 2016 Intel Corporation |
4 | # | 4 | # |
5 | # SPDX-License-Identifier: GPL-2.0 | 5 | # SPDX-License-Identifier: GPL-2.0-only |
6 | 6 | ||
7 | # NOTE:This is an oversimplified syntax of the mbox's summary | 7 | # NOTE:This is an oversimplified syntax of the mbox's summary |
8 | 8 | ||
diff --git a/meta/lib/patchtest/tests/pyparsing/parse_signed_off_by.py b/meta/lib/patchtest/tests/pyparsing/parse_signed_off_by.py index c8a4351551..692ebec3ff 100644 --- a/meta/lib/patchtest/tests/pyparsing/parse_signed_off_by.py +++ b/meta/lib/patchtest/tests/pyparsing/parse_signed_off_by.py | |||
@@ -2,7 +2,7 @@ | |||
2 | # | 2 | # |
3 | # Copyright (C) 2016 Intel Corporation | 3 | # Copyright (C) 2016 Intel Corporation |
4 | # | 4 | # |
5 | # SPDX-License-Identifier: GPL-2.0 | 5 | # SPDX-License-Identifier: GPL-2.0-only |
6 | 6 | ||
7 | 7 | ||
8 | import pyparsing | 8 | import pyparsing |
diff --git a/meta/lib/patchtest/tests/pyparsing/parse_upstream_status.py b/meta/lib/patchtest/tests/pyparsing/parse_upstream_status.py index d63567efbe..bc6c427c4c 100644 --- a/meta/lib/patchtest/tests/pyparsing/parse_upstream_status.py +++ b/meta/lib/patchtest/tests/pyparsing/parse_upstream_status.py | |||
@@ -2,7 +2,7 @@ | |||
2 | # | 2 | # |
3 | # Copyright (C) 2016 Intel Corporation | 3 | # Copyright (C) 2016 Intel Corporation |
4 | # | 4 | # |
5 | # SPDX-License-Identifier: GPL-2.0 | 5 | # SPDX-License-Identifier: GPL-2.0-only |
6 | 6 | ||
7 | 7 | ||
8 | import common | 8 | import common |
diff --git a/meta/lib/patchtest/tests/test_mbox_author.py b/meta/lib/patchtest/tests/test_mbox_author.py index e68e7a5ac4..74bc441250 100644 --- a/meta/lib/patchtest/tests/test_mbox_author.py +++ b/meta/lib/patchtest/tests/test_mbox_author.py | |||
@@ -2,7 +2,7 @@ | |||
2 | # | 2 | # |
3 | # Copyright (C) 2016 Intel Corporation | 3 | # Copyright (C) 2016 Intel Corporation |
4 | # | 4 | # |
5 | # SPDX-License-Identifier: GPL-2.0 | 5 | # SPDX-License-Identifier: GPL-2.0-only |
6 | 6 | ||
7 | import base | 7 | import base |
8 | import pyparsing | 8 | import pyparsing |
diff --git a/meta/lib/patchtest/tests/test_mbox_bugzilla.py b/meta/lib/patchtest/tests/test_mbox_bugzilla.py index adf46b5d59..99b529b755 100644 --- a/meta/lib/patchtest/tests/test_mbox_bugzilla.py +++ b/meta/lib/patchtest/tests/test_mbox_bugzilla.py | |||
@@ -2,7 +2,7 @@ | |||
2 | # | 2 | # |
3 | # Copyright (C) 2016 Intel Corporation | 3 | # Copyright (C) 2016 Intel Corporation |
4 | # | 4 | # |
5 | # SPDX-License-Identifier: GPL-2.0 | 5 | # SPDX-License-Identifier: GPL-2.0-only |
6 | 6 | ||
7 | import pyparsing | 7 | import pyparsing |
8 | import base | 8 | import base |
diff --git a/meta/lib/patchtest/tests/test_mbox_cve.py b/meta/lib/patchtest/tests/test_mbox_cve.py index af3712c192..31faeb5ef5 100644 --- a/meta/lib/patchtest/tests/test_mbox_cve.py +++ b/meta/lib/patchtest/tests/test_mbox_cve.py | |||
@@ -2,20 +2,8 @@ | |||
2 | # | 2 | # |
3 | # Copyright (C) 2016 Intel Corporation | 3 | # Copyright (C) 2016 Intel Corporation |
4 | # | 4 | # |
5 | # This program is free software; you can redistribute it and/or modify | 5 | # SPDX-License-Identifier: GPL-2.0-only |
6 | # it under the terms of the GNU General Public License version 2 as | ||
7 | # published by the Free Software Foundation. | ||
8 | # | 6 | # |
9 | # This program is distributed in the hope that it will be useful, | ||
10 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
11 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
12 | # GNU General Public License for more details. | ||
13 | # | ||
14 | # You should have received a copy of the GNU General Public License along | ||
15 | # with this program; if not, write to the Free Software Foundation, Inc., | ||
16 | # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. | ||
17 | |||
18 | # SPDX-License-Identifier: GPL-2.0-or-later | ||
19 | 7 | ||
20 | import base | 8 | import base |
21 | import os | 9 | import os |
diff --git a/meta/lib/patchtest/tests/test_mbox_description.py b/meta/lib/patchtest/tests/test_mbox_description.py index 46bedd46ce..7874f9d038 100644 --- a/meta/lib/patchtest/tests/test_mbox_description.py +++ b/meta/lib/patchtest/tests/test_mbox_description.py | |||
@@ -2,7 +2,7 @@ | |||
2 | # | 2 | # |
3 | # Copyright (C) 2016 Intel Corporation | 3 | # Copyright (C) 2016 Intel Corporation |
4 | # | 4 | # |
5 | # SPDX-License-Identifier: GPL-2.0 | 5 | # SPDX-License-Identifier: GPL-2.0-only |
6 | 6 | ||
7 | import base | 7 | import base |
8 | 8 | ||
diff --git a/meta/lib/patchtest/tests/test_mbox_format.py b/meta/lib/patchtest/tests/test_mbox_format.py index c9e0465835..fea3793e2e 100644 --- a/meta/lib/patchtest/tests/test_mbox_format.py +++ b/meta/lib/patchtest/tests/test_mbox_format.py | |||
@@ -2,7 +2,7 @@ | |||
2 | # | 2 | # |
3 | # Copyright (C) 2016 Intel Corporation | 3 | # Copyright (C) 2016 Intel Corporation |
4 | # | 4 | # |
5 | # SPDX-License-Identifier: GPL-2.0 | 5 | # SPDX-License-Identifier: GPL-2.0-only |
6 | 6 | ||
7 | import base | 7 | import base |
8 | 8 | ||
diff --git a/meta/lib/patchtest/tests/test_mbox_mailinglist.py b/meta/lib/patchtest/tests/test_mbox_mailinglist.py index c02c71ac6a..0ffb6056c0 100644 --- a/meta/lib/patchtest/tests/test_mbox_mailinglist.py +++ b/meta/lib/patchtest/tests/test_mbox_mailinglist.py | |||
@@ -2,7 +2,7 @@ | |||
2 | # | 2 | # |
3 | # Copyright (C) 2017 Intel Corporation | 3 | # Copyright (C) 2017 Intel Corporation |
4 | # | 4 | # |
5 | # SPDX-License-Identifier: GPL-2.0 | 5 | # SPDX-License-Identifier: GPL-2.0-only |
6 | 6 | ||
7 | import subprocess | 7 | import subprocess |
8 | import collections | 8 | import collections |
diff --git a/meta/lib/patchtest/tests/test_mbox_merge.py b/meta/lib/patchtest/tests/test_mbox_merge.py index a7e0821e72..bc55c588b4 100644 --- a/meta/lib/patchtest/tests/test_mbox_merge.py +++ b/meta/lib/patchtest/tests/test_mbox_merge.py | |||
@@ -2,7 +2,7 @@ | |||
2 | # | 2 | # |
3 | # Copyright (C) 2016 Intel Corporation | 3 | # Copyright (C) 2016 Intel Corporation |
4 | # | 4 | # |
5 | # SPDX-License-Identifier: GPL-2.0 | 5 | # SPDX-License-Identifier: GPL-2.0-only |
6 | 6 | ||
7 | import subprocess | 7 | import subprocess |
8 | import base | 8 | import base |
diff --git a/meta/lib/patchtest/tests/test_mbox_shortlog.py b/meta/lib/patchtest/tests/test_mbox_shortlog.py index 7cc71562f6..f5dbbc7807 100644 --- a/meta/lib/patchtest/tests/test_mbox_shortlog.py +++ b/meta/lib/patchtest/tests/test_mbox_shortlog.py | |||
@@ -2,7 +2,7 @@ | |||
2 | # | 2 | # |
3 | # Copyright (C) 2016 Intel Corporation | 3 | # Copyright (C) 2016 Intel Corporation |
4 | # | 4 | # |
5 | # SPDX-License-Identifier: GPL-2.0 | 5 | # SPDX-License-Identifier: GPL-2.0-only |
6 | 6 | ||
7 | import base | 7 | import base |
8 | import parse_shortlog | 8 | import parse_shortlog |
diff --git a/meta/lib/patchtest/tests/test_mbox_signed_off_by.py b/meta/lib/patchtest/tests/test_mbox_signed_off_by.py index 59a89bd1bc..f3c5770961 100644 --- a/meta/lib/patchtest/tests/test_mbox_signed_off_by.py +++ b/meta/lib/patchtest/tests/test_mbox_signed_off_by.py | |||
@@ -2,7 +2,7 @@ | |||
2 | # | 2 | # |
3 | # Copyright (C) 2016 Intel Corporation | 3 | # Copyright (C) 2016 Intel Corporation |
4 | # | 4 | # |
5 | # SPDX-License-Identifier: GPL-2.0 | 5 | # SPDX-License-Identifier: GPL-2.0-only |
6 | 6 | ||
7 | import base | 7 | import base |
8 | import parse_signed_off_by | 8 | import parse_signed_off_by |
diff --git a/meta/lib/patchtest/tests/test_metadata_lic_files_chksum.py b/meta/lib/patchtest/tests/test_metadata_lic_files_chksum.py index 784d432f01..b2c32507ff 100644 --- a/meta/lib/patchtest/tests/test_metadata_lic_files_chksum.py +++ b/meta/lib/patchtest/tests/test_metadata_lic_files_chksum.py | |||
@@ -2,7 +2,7 @@ | |||
2 | # | 2 | # |
3 | # Copyright (C) 2016 Intel Corporation | 3 | # Copyright (C) 2016 Intel Corporation |
4 | # | 4 | # |
5 | # SPDX-License-Identifier: GPL-2.0 | 5 | # SPDX-License-Identifier: GPL-2.0-only |
6 | 6 | ||
7 | import base | 7 | import base |
8 | import pyparsing | 8 | import pyparsing |
diff --git a/meta/lib/patchtest/tests/test_metadata_license.py b/meta/lib/patchtest/tests/test_metadata_license.py index e49331603c..a5bc03b83f 100644 --- a/meta/lib/patchtest/tests/test_metadata_license.py +++ b/meta/lib/patchtest/tests/test_metadata_license.py | |||
@@ -2,7 +2,7 @@ | |||
2 | # | 2 | # |
3 | # Copyright (C) 2016 Intel Corporation | 3 | # Copyright (C) 2016 Intel Corporation |
4 | # | 4 | # |
5 | # SPDX-License-Identifier: GPL-2.0 | 5 | # SPDX-License-Identifier: GPL-2.0-only |
6 | 6 | ||
7 | import base | 7 | import base |
8 | import os | 8 | import os |
diff --git a/meta/lib/patchtest/tests/test_metadata_max_length.py b/meta/lib/patchtest/tests/test_metadata_max_length.py index 477a9bff57..98c48ef787 100644 --- a/meta/lib/patchtest/tests/test_metadata_max_length.py +++ b/meta/lib/patchtest/tests/test_metadata_max_length.py | |||
@@ -2,7 +2,7 @@ | |||
2 | # | 2 | # |
3 | # Copyright (C) 2016 Intel Corporation | 3 | # Copyright (C) 2016 Intel Corporation |
4 | # | 4 | # |
5 | # SPDX-License-Identifier: GPL-2.0 | 5 | # SPDX-License-Identifier: GPL-2.0-only |
6 | 6 | ||
7 | import base | 7 | import base |
8 | import pyparsing | 8 | import pyparsing |
diff --git a/meta/lib/patchtest/tests/test_metadata_src_uri.py b/meta/lib/patchtest/tests/test_metadata_src_uri.py index c19582ec2d..01d8a45103 100644 --- a/meta/lib/patchtest/tests/test_metadata_src_uri.py +++ b/meta/lib/patchtest/tests/test_metadata_src_uri.py | |||
@@ -2,7 +2,7 @@ | |||
2 | # | 2 | # |
3 | # Copyright (C) 2016 Intel Corporation | 3 | # Copyright (C) 2016 Intel Corporation |
4 | # | 4 | # |
5 | # SPDX-License-Identifier: GPL-2.0 | 5 | # SPDX-License-Identifier: GPL-2.0-only |
6 | 6 | ||
7 | import subprocess | 7 | import subprocess |
8 | import base | 8 | import base |
diff --git a/meta/lib/patchtest/tests/test_metadata_summary.py b/meta/lib/patchtest/tests/test_metadata_summary.py index 8bcea453c2..1502863df0 100644 --- a/meta/lib/patchtest/tests/test_metadata_summary.py +++ b/meta/lib/patchtest/tests/test_metadata_summary.py | |||
@@ -2,7 +2,7 @@ | |||
2 | # | 2 | # |
3 | # Copyright (C) 2016 Intel Corporation | 3 | # Copyright (C) 2016 Intel Corporation |
4 | # | 4 | # |
5 | # SPDX-License-Identifier: GPL-2.0 | 5 | # SPDX-License-Identifier: GPL-2.0-only |
6 | 6 | ||
7 | import base | 7 | import base |
8 | from data import PatchTestInput | 8 | from data import PatchTestInput |
diff --git a/meta/lib/patchtest/tests/test_patch_cve.py b/meta/lib/patchtest/tests/test_patch_cve.py index 0ae85adcf9..c0c7e742ee 100644 --- a/meta/lib/patchtest/tests/test_patch_cve.py +++ b/meta/lib/patchtest/tests/test_patch_cve.py | |||
@@ -2,20 +2,8 @@ | |||
2 | # | 2 | # |
3 | # Copyright (C) 2016 Intel Corporation | 3 | # Copyright (C) 2016 Intel Corporation |
4 | # | 4 | # |
5 | # This program is free software; you can redistribute it and/or modify | 5 | # SPDX-License-Identifier: GPL-2.0-only |
6 | # it under the terms of the GNU General Public License version 2 as | ||
7 | # published by the Free Software Foundation. | ||
8 | # | 6 | # |
9 | # This program is distributed in the hope that it will be useful, | ||
10 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
11 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
12 | # GNU General Public License for more details. | ||
13 | # | ||
14 | # You should have received a copy of the GNU General Public License along | ||
15 | # with this program; if not, write to the Free Software Foundation, Inc., | ||
16 | # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. | ||
17 | |||
18 | # SPDX-License-Identifier: GPL-2.0-or-later | ||
19 | 7 | ||
20 | import base | 8 | import base |
21 | import os | 9 | import os |
diff --git a/meta/lib/patchtest/tests/test_patch_signed_off_by.py b/meta/lib/patchtest/tests/test_patch_signed_off_by.py index 2df6419d26..b091ff6f10 100644 --- a/meta/lib/patchtest/tests/test_patch_signed_off_by.py +++ b/meta/lib/patchtest/tests/test_patch_signed_off_by.py | |||
@@ -2,7 +2,7 @@ | |||
2 | # | 2 | # |
3 | # Copyright (C) 2016 Intel Corporation | 3 | # Copyright (C) 2016 Intel Corporation |
4 | # | 4 | # |
5 | # SPDX-License-Identifier: GPL-2.0 | 5 | # SPDX-License-Identifier: GPL-2.0-only |
6 | 6 | ||
7 | import base | 7 | import base |
8 | import parse_signed_off_by | 8 | import parse_signed_off_by |
diff --git a/meta/lib/patchtest/tests/test_patch_upstream_status.py b/meta/lib/patchtest/tests/test_patch_upstream_status.py index c21aeaf28f..957817ba8d 100644 --- a/meta/lib/patchtest/tests/test_patch_upstream_status.py +++ b/meta/lib/patchtest/tests/test_patch_upstream_status.py | |||
@@ -2,7 +2,7 @@ | |||
2 | # | 2 | # |
3 | # Copyright (C) 2016 Intel Corporation | 3 | # Copyright (C) 2016 Intel Corporation |
4 | # | 4 | # |
5 | # SPDX-License-Identifier: GPL-2.0 | 5 | # SPDX-License-Identifier: GPL-2.0-only |
6 | 6 | ||
7 | import base | 7 | import base |
8 | import parse_upstream_status | 8 | import parse_upstream_status |
diff --git a/meta/lib/patchtest/tests/test_python_pylint.py b/meta/lib/patchtest/tests/test_python_pylint.py index 907bd9eef4..9cfc491a13 100644 --- a/meta/lib/patchtest/tests/test_python_pylint.py +++ b/meta/lib/patchtest/tests/test_python_pylint.py | |||
@@ -2,7 +2,7 @@ | |||
2 | # | 2 | # |
3 | # Copyright (C) 2016 Intel Corporation | 3 | # Copyright (C) 2016 Intel Corporation |
4 | # | 4 | # |
5 | # SPDX-License-Identifier: GPL-2.0 | 5 | # SPDX-License-Identifier: GPL-2.0-only |
6 | 6 | ||
7 | import base | 7 | import base |
8 | from data import PatchTestInput | 8 | from data import PatchTestInput |
diff --git a/meta/lib/patchtest/utils.py b/meta/lib/patchtest/utils.py index 23428ae1c5..8dcac30941 100644 --- a/meta/lib/patchtest/utils.py +++ b/meta/lib/patchtest/utils.py | |||
@@ -5,18 +5,8 @@ | |||
5 | # | 5 | # |
6 | # Copyright (C) 2016 Intel Corporation | 6 | # Copyright (C) 2016 Intel Corporation |
7 | # | 7 | # |
8 | # This program is free software; you can redistribute it and/or modify | 8 | # SPDX-License-Identifier: GPL-2.0-only |
9 | # it under the terms of the GNU General Public License version 2 as | ||
10 | # published by the Free Software Foundation. | ||
11 | # | 9 | # |
12 | # This program is distributed in the hope that it will be useful, | ||
13 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
14 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
15 | # GNU General Public License for more details. | ||
16 | # | ||
17 | # You should have received a copy of the GNU General Public License along | ||
18 | # with this program; if not, write to the Free Software Foundation, Inc., | ||
19 | # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. | ||
20 | 10 | ||
21 | import os | 11 | import os |
22 | import subprocess | 12 | import subprocess |
diff --git a/scripts/patchtest b/scripts/patchtest index b25ef18321..642486b8c7 100755 --- a/scripts/patchtest +++ b/scripts/patchtest | |||
@@ -6,20 +6,7 @@ | |||
6 | # | 6 | # |
7 | # Copyright (C) 2016 Intel Corporation | 7 | # Copyright (C) 2016 Intel Corporation |
8 | # | 8 | # |
9 | # This program is free software; you can redistribute it and/or modify | 9 | # SPDX-License-Identifier: GPL-2.0-only |
10 | # it under the terms of the GNU General Public License version 2 as | ||
11 | # published by the Free Software Foundation. | ||
12 | # | ||
13 | # This program is distributed in the hope that it will be useful, | ||
14 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
15 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
16 | # GNU General Public License for more details. | ||
17 | # | ||
18 | # You should have received a copy of the GNU General Public License along | ||
19 | # with this program; if not, write to the Free Software Foundation, Inc., | ||
20 | # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. | ||
21 | # | ||
22 | # Author: Leo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com> | ||
23 | # | 10 | # |
24 | 11 | ||
25 | import sys | 12 | import sys |
diff --git a/scripts/patchtest-get-branch b/scripts/patchtest-get-branch index 9415de98ef..962f572b20 100755 --- a/scripts/patchtest-get-branch +++ b/scripts/patchtest-get-branch | |||
@@ -8,18 +8,8 @@ | |||
8 | # | 8 | # |
9 | # Copyright (C) 2016 Intel Corporation | 9 | # Copyright (C) 2016 Intel Corporation |
10 | # | 10 | # |
11 | # This program is free software; you can redistribute it and/or modify | 11 | # SPDX-License-Identifier: GPL-2.0-only |
12 | # it under the terms of the GNU General Public License version 2 as | ||
13 | # published by the Free Software Foundation. | ||
14 | # | 12 | # |
15 | # This program is distributed in the hope that it will be useful, | ||
16 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
17 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
18 | # GNU General Public License for more details. | ||
19 | # | ||
20 | # You should have received a copy of the GNU General Public License along | ||
21 | # with this program; if not, write to the Free Software Foundation, Inc., | ||
22 | # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. | ||
23 | 13 | ||
24 | import mailbox | 14 | import mailbox |
25 | import argparse | 15 | import argparse |
diff --git a/scripts/patchtest-get-series b/scripts/patchtest-get-series index 773701f80b..908442089f 100755 --- a/scripts/patchtest-get-series +++ b/scripts/patchtest-get-series | |||
@@ -4,18 +4,8 @@ | |||
4 | # | 4 | # |
5 | # Copyright (C) 2023 BayLibre Inc. | 5 | # Copyright (C) 2023 BayLibre Inc. |
6 | # | 6 | # |
7 | # This program is free software; you can redistribute it and/or modify | 7 | # SPDX-License-Identifier: GPL-2.0-only |
8 | # it under the terms of the GNU General Public License version 2 as | ||
9 | # published by the Free Software Foundation. | ||
10 | # | 8 | # |
11 | # This program is distributed in the hope that it will be useful, | ||
12 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
13 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
14 | # GNU General Public License for more details. | ||
15 | # | ||
16 | # You should have received a copy of the GNU General Public License along | ||
17 | # with this program; if not, write to the Free Software Foundation, Inc., | ||
18 | # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. | ||
19 | 9 | ||
20 | # the interval into the past which we want to check for new series, in minutes | 10 | # the interval into the past which we want to check for new series, in minutes |
21 | INTERVAL_MINUTES=30 | 11 | INTERVAL_MINUTES=30 |
diff --git a/scripts/patchtest-send-results b/scripts/patchtest-send-results index 2a2c57a10e..15ee5b077f 100755 --- a/scripts/patchtest-send-results +++ b/scripts/patchtest-send-results | |||
@@ -9,21 +9,8 @@ | |||
9 | # | 9 | # |
10 | # Copyright (C) 2023 BayLibre Inc. | 10 | # Copyright (C) 2023 BayLibre Inc. |
11 | # | 11 | # |
12 | # This program is free software; you can redistribute it and/or modify | 12 | # SPDX-License-Identifier: GPL-2.0-only |
13 | # it under the terms of the GNU General Public License version 2 as | 13 | # |
14 | # published by the Free Software Foundation. | ||
15 | # | ||
16 | # This program is distributed in the hope that it will be useful, | ||
17 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
18 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
19 | # GNU General Public License for more details. | ||
20 | # | ||
21 | # You should have received a copy of the GNU General Public License along | ||
22 | # with this program; if not, write to the Free Software Foundation, Inc., | ||
23 | # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. | ||
24 | # | ||
25 | # Author: Trevor Gamblin <tgamblin@baylibre.com> | ||
26 | # | ||
27 | 14 | ||
28 | import argparse | 15 | import argparse |
29 | import boto3 | 16 | import boto3 |
diff --git a/scripts/patchtest-setup-sharedir b/scripts/patchtest-setup-sharedir index a1497987cb..277677e527 100755 --- a/scripts/patchtest-setup-sharedir +++ b/scripts/patchtest-setup-sharedir | |||
@@ -6,20 +6,8 @@ | |||
6 | # | 6 | # |
7 | # Copyright (C) 2023 BayLibre Inc. | 7 | # Copyright (C) 2023 BayLibre Inc. |
8 | # | 8 | # |
9 | # This program is free software; you can redistribute it and/or modify | 9 | # SPDX-License-Identifier: GPL-2.0-only |
10 | # it under the terms of the GNU General Public License version 2 as | ||
11 | # published by the Free Software Foundation. | ||
12 | # | 10 | # |
13 | # This program is distributed in the hope that it will be useful, | ||
14 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
15 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
16 | # GNU General Public License for more details. | ||
17 | # | ||
18 | # You should have received a copy of the GNU General Public License along | ||
19 | # with this program; if not, write to the Free Software Foundation, Inc., | ||
20 | # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. | ||
21 | # | ||
22 | # Author: Trevor Gamblin <tgamblin@baylibre.com> | ||
23 | 11 | ||
24 | # poky repository | 12 | # poky repository |
25 | POKY_REPO="https://git.yoctoproject.org/poky" | 13 | POKY_REPO="https://git.yoctoproject.org/poky" |