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>
This commit is contained in:
Trevor Gamblin 2023-10-17 09:25:45 -04:00 committed by Richard Purdie
parent 8fa77bf2f1
commit b5a87b5f98
34 changed files with 35 additions and 161 deletions

View File

@ -6,20 +6,7 @@
# #
# Copyright (C) 2016 Intel Corporation # Copyright (C) 2016 Intel Corporation
# #
# This program is free software; you can redistribute it and/or modify # SPDX-License-Identifier: GPL-2.0-only
# 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>
# #
# NOTE: Strictly speaking, unit test should be isolated from outside, # NOTE: Strictly speaking, unit test should be isolated from outside,
# but patchtest test suites uses command line input data and # but patchtest test suites uses command line input data and

View File

@ -5,18 +5,7 @@
# #
# Copyright (C) 2016 Intel Corporation # Copyright (C) 2016 Intel Corporation
# #
# This program is free software; you can redistribute it and/or modify # SPDX-License-Identifier: GPL-2.0-only
# 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.
# #
import logging import logging

View File

@ -5,18 +5,8 @@
# #
# Copyright (C) 2016 Intel Corporation # Copyright (C) 2016 Intel Corporation
# #
# This program is free software; you can redistribute it and/or modify # SPDX-License-Identifier: GPL-2.0-only
# 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.
import os import os
import utils import utils

View File

@ -4,7 +4,7 @@
# #
# Copyright (C) 2016 Intel Corporation # Copyright (C) 2016 Intel Corporation
# #
# SPDX-License-Identifier: GPL-2.0 # SPDX-License-Identifier: GPL-2.0-only
import os import os
import subprocess import subprocess

View File

@ -2,7 +2,7 @@
# #
# Copyright (C) 2016 Intel Corporation # Copyright (C) 2016 Intel Corporation
# #
# SPDX-License-Identifier: GPL-2.0 # SPDX-License-Identifier: GPL-2.0-only
import unittest import unittest
import logging import logging

View File

@ -2,7 +2,7 @@
# #
# Copyright (C) 2016 Intel Corporation # Copyright (C) 2016 Intel Corporation
# #
# SPDX-License-Identifier: GPL-2.0 # SPDX-License-Identifier: GPL-2.0-only
import pyparsing import pyparsing

View File

@ -2,7 +2,7 @@
# #
# Copyright (C) 2016 Intel Corporation # Copyright (C) 2016 Intel Corporation
# #
# SPDX-License-Identifier: GPL-2.0 # SPDX-License-Identifier: GPL-2.0-only
import pyparsing import pyparsing

View File

@ -2,7 +2,7 @@
# #
# Copyright (C) 2016 Intel Corporation # 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 # NOTE:This is an oversimplified syntax of the mbox's summary

View File

@ -2,7 +2,7 @@
# #
# Copyright (C) 2016 Intel Corporation # Copyright (C) 2016 Intel Corporation
# #
# SPDX-License-Identifier: GPL-2.0 # SPDX-License-Identifier: GPL-2.0-only
import pyparsing import pyparsing

View File

@ -2,7 +2,7 @@
# #
# Copyright (C) 2016 Intel Corporation # Copyright (C) 2016 Intel Corporation
# #
# SPDX-License-Identifier: GPL-2.0 # SPDX-License-Identifier: GPL-2.0-only
import common import common

View File

@ -2,7 +2,7 @@
# #
# Copyright (C) 2016 Intel Corporation # Copyright (C) 2016 Intel Corporation
# #
# SPDX-License-Identifier: GPL-2.0 # SPDX-License-Identifier: GPL-2.0-only
import base import base
import pyparsing import pyparsing

View File

@ -2,7 +2,7 @@
# #
# Copyright (C) 2016 Intel Corporation # Copyright (C) 2016 Intel Corporation
# #
# SPDX-License-Identifier: GPL-2.0 # SPDX-License-Identifier: GPL-2.0-only
import pyparsing import pyparsing
import base import base

View File

@ -2,20 +2,8 @@
# #
# Copyright (C) 2016 Intel Corporation # Copyright (C) 2016 Intel Corporation
# #
# This program is free software; you can redistribute it and/or modify # SPDX-License-Identifier: GPL-2.0-only
# 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-or-later
import base import base
import os import os

View File

@ -2,7 +2,7 @@
# #
# Copyright (C) 2016 Intel Corporation # Copyright (C) 2016 Intel Corporation
# #
# SPDX-License-Identifier: GPL-2.0 # SPDX-License-Identifier: GPL-2.0-only
import base import base

View File

@ -2,7 +2,7 @@
# #
# Copyright (C) 2016 Intel Corporation # Copyright (C) 2016 Intel Corporation
# #
# SPDX-License-Identifier: GPL-2.0 # SPDX-License-Identifier: GPL-2.0-only
import base import base

View File

@ -2,7 +2,7 @@
# #
# Copyright (C) 2017 Intel Corporation # Copyright (C) 2017 Intel Corporation
# #
# SPDX-License-Identifier: GPL-2.0 # SPDX-License-Identifier: GPL-2.0-only
import subprocess import subprocess
import collections import collections

View File

@ -2,7 +2,7 @@
# #
# Copyright (C) 2016 Intel Corporation # Copyright (C) 2016 Intel Corporation
# #
# SPDX-License-Identifier: GPL-2.0 # SPDX-License-Identifier: GPL-2.0-only
import subprocess import subprocess
import base import base

View File

@ -2,7 +2,7 @@
# #
# Copyright (C) 2016 Intel Corporation # Copyright (C) 2016 Intel Corporation
# #
# SPDX-License-Identifier: GPL-2.0 # SPDX-License-Identifier: GPL-2.0-only
import base import base
import parse_shortlog import parse_shortlog

View File

@ -2,7 +2,7 @@
# #
# Copyright (C) 2016 Intel Corporation # Copyright (C) 2016 Intel Corporation
# #
# SPDX-License-Identifier: GPL-2.0 # SPDX-License-Identifier: GPL-2.0-only
import base import base
import parse_signed_off_by import parse_signed_off_by

View File

@ -2,7 +2,7 @@
# #
# Copyright (C) 2016 Intel Corporation # Copyright (C) 2016 Intel Corporation
# #
# SPDX-License-Identifier: GPL-2.0 # SPDX-License-Identifier: GPL-2.0-only
import base import base
import pyparsing import pyparsing

View File

@ -2,7 +2,7 @@
# #
# Copyright (C) 2016 Intel Corporation # Copyright (C) 2016 Intel Corporation
# #
# SPDX-License-Identifier: GPL-2.0 # SPDX-License-Identifier: GPL-2.0-only
import base import base
import os import os

View File

@ -2,7 +2,7 @@
# #
# Copyright (C) 2016 Intel Corporation # Copyright (C) 2016 Intel Corporation
# #
# SPDX-License-Identifier: GPL-2.0 # SPDX-License-Identifier: GPL-2.0-only
import base import base
import pyparsing import pyparsing

View File

@ -2,7 +2,7 @@
# #
# Copyright (C) 2016 Intel Corporation # Copyright (C) 2016 Intel Corporation
# #
# SPDX-License-Identifier: GPL-2.0 # SPDX-License-Identifier: GPL-2.0-only
import subprocess import subprocess
import base import base

View File

@ -2,7 +2,7 @@
# #
# Copyright (C) 2016 Intel Corporation # Copyright (C) 2016 Intel Corporation
# #
# SPDX-License-Identifier: GPL-2.0 # SPDX-License-Identifier: GPL-2.0-only
import base import base
from data import PatchTestInput from data import PatchTestInput

View File

@ -2,20 +2,8 @@
# #
# Copyright (C) 2016 Intel Corporation # Copyright (C) 2016 Intel Corporation
# #
# This program is free software; you can redistribute it and/or modify # SPDX-License-Identifier: GPL-2.0-only
# 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-or-later
import base import base
import os import os

View File

@ -2,7 +2,7 @@
# #
# Copyright (C) 2016 Intel Corporation # Copyright (C) 2016 Intel Corporation
# #
# SPDX-License-Identifier: GPL-2.0 # SPDX-License-Identifier: GPL-2.0-only
import base import base
import parse_signed_off_by import parse_signed_off_by

View File

@ -2,7 +2,7 @@
# #
# Copyright (C) 2016 Intel Corporation # Copyright (C) 2016 Intel Corporation
# #
# SPDX-License-Identifier: GPL-2.0 # SPDX-License-Identifier: GPL-2.0-only
import base import base
import parse_upstream_status import parse_upstream_status

View File

@ -2,7 +2,7 @@
# #
# Copyright (C) 2016 Intel Corporation # Copyright (C) 2016 Intel Corporation
# #
# SPDX-License-Identifier: GPL-2.0 # SPDX-License-Identifier: GPL-2.0-only
import base import base
from data import PatchTestInput from data import PatchTestInput

View File

@ -5,18 +5,8 @@
# #
# Copyright (C) 2016 Intel Corporation # Copyright (C) 2016 Intel Corporation
# #
# This program is free software; you can redistribute it and/or modify # SPDX-License-Identifier: GPL-2.0-only
# 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.
import os import os
import subprocess import subprocess

View File

@ -6,20 +6,7 @@
# #
# Copyright (C) 2016 Intel Corporation # Copyright (C) 2016 Intel Corporation
# #
# This program is free software; you can redistribute it and/or modify # SPDX-License-Identifier: GPL-2.0-only
# 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>
# #
import sys import sys

View File

@ -8,18 +8,8 @@
# #
# Copyright (C) 2016 Intel Corporation # Copyright (C) 2016 Intel Corporation
# #
# This program is free software; you can redistribute it and/or modify # SPDX-License-Identifier: GPL-2.0-only
# 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.
import mailbox import mailbox
import argparse import argparse

View File

@ -4,18 +4,8 @@
# #
# Copyright (C) 2023 BayLibre Inc. # Copyright (C) 2023 BayLibre Inc.
# #
# This program is free software; you can redistribute it and/or modify # SPDX-License-Identifier: GPL-2.0-only
# 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.
# the interval into the past which we want to check for new series, in minutes # the interval into the past which we want to check for new series, in minutes
INTERVAL_MINUTES=30 INTERVAL_MINUTES=30

View File

@ -9,21 +9,8 @@
# #
# Copyright (C) 2023 BayLibre Inc. # Copyright (C) 2023 BayLibre Inc.
# #
# This program is free software; you can redistribute it and/or modify # SPDX-License-Identifier: GPL-2.0-only
# 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>
#
import argparse import argparse
import boto3 import boto3

View File

@ -6,20 +6,8 @@
# #
# Copyright (C) 2023 BayLibre Inc. # Copyright (C) 2023 BayLibre Inc.
# #
# This program is free software; you can redistribute it and/or modify # SPDX-License-Identifier: GPL-2.0-only
# 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>
# poky repository # poky repository
POKY_REPO="https://git.yoctoproject.org/poky" POKY_REPO="https://git.yoctoproject.org/poky"