Skip to contentSkip to conversation

Add SPDX-License-Identifier: GPL-2.0-or-later to source files

PATCH New Changqing Li 1 participant 1 message Dec 17, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Add SPDX-License-Identifier: GPL-2.0-or-later to source files

From: Changqing Li <[email protected]>

[YOCTO #13532]

---
 selftest/selftest                        | 2 ++
 tests/base.py                            | 2 ++
 tests/pyparsing/common.py                | 2 ++
 tests/pyparsing/parse_shortlog.py        | 2 ++
 tests/pyparsing/parse_signed_off_by.py   | 2 ++
 tests/pyparsing/parse_upstream_status.py | 2 ++
 tests/test_mbox_author.py                | 2 ++
 tests/test_mbox_bugzilla.py              | 2 ++
 tests/test_mbox_description.py           | 2 ++
 tests/test_mbox_format.py                | 2 ++
 tests/test_mbox_mailinglist.py           | 2 ++
 tests/test_mbox_merge.py                 | 2 ++
 tests/test_mbox_shortlog.py              | 2 ++
 tests/test_mbox_signed_off_by.py         | 2 ++
 tests/test_metadata_lic_files_chksum.py  | 2 ++
 tests/test_metadata_license.py           | 2 ++
 tests/test_metadata_max_length.py        | 2 ++
 tests/test_metadata_src_uri.py           | 2 ++
 tests/test_metadata_summary.py           | 2 ++
 tests/test_patch_cve.py                  | 2 ++
 tests/test_patch_signed_off_by.py        | 2 ++
 tests/test_patch_upstream_status.py      | 2 ++
 tests/test_python_pylint.py              | 2 ++
 23 files changed, 46 insertions(+)
selftest/selftest +2 -0
index f42045b..b6db621 100755
@@ -17,6 +17,8 @@
 # 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 os
 import subprocess
 
tests/base.py +2 -0
index 3810a67..ca40d3d 100644
@@ -15,6 +15,8 @@
 # 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 unittest
 import logging
 import json
tests/pyparsing/common.py +2 -0
index 04a4fde..7ac23f7 100644
@@ -15,6 +15,8 @@
 # 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 pyparsing
 
 # general
tests/pyparsing/parse_shortlog.py +2 -0
index 8e67bcc..ecd008c 100644
@@ -15,6 +15,8 @@
 # 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
+
 # NOTE:This is an oversimplified syntax of the mbox's summary
 
 import pyparsing
tests/pyparsing/parse_signed_off_by.py +2 -0
index db12b83..fc39a6c 100644
@@ -15,6 +15,8 @@
 # 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 pyparsing
 import common
tests/pyparsing/parse_upstream_status.py +2 -0
index 232e617..c846fcb 100644
@@ -15,6 +15,8 @@
 # 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 common
 import pyparsing
tests/test_mbox_author.py +2 -0
index 5f3d74e..b5f7908 100644
@@ -15,6 +15,8 @@
 # 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 re
 
tests/test_mbox_bugzilla.py +2 -0
index bb2e0bf..66ccbe8 100644
@@ -15,6 +15,8 @@
 # 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 re
 import base
 
tests/test_mbox_description.py +2 -0
index a5b322d..237290b 100644
@@ -15,6 +15,8 @@
 # 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
 
 class CommitMessage(base.Base):
tests/test_mbox_format.py +2 -0
index 11467bd..fde1938 100644
@@ -15,6 +15,8 @@
 # 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 re
 
tests/test_mbox_mailinglist.py +2 -0
index e5700b4..36c0c1e 100644
@@ -15,6 +15,8 @@
 # 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 subprocess
 import collections
 import base
tests/test_mbox_merge.py +2 -0
index 76eef62..6c30db8 100644
@@ -15,6 +15,8 @@
 # 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 subprocess
 import base
 from patchtestdata import PatchTestInput as pti
tests/test_mbox_shortlog.py +2 -0
index 94f78f8..e6a4410 100644
@@ -15,6 +15,8 @@
 # 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 parse_shortlog
 import pyparsing
tests/test_mbox_signed_off_by.py +2 -0
index efb9e35..e50bb8e 100644
@@ -15,6 +15,8 @@
 # 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 parse_signed_off_by
 import re
tests/test_metadata_lic_files_chksum.py +2 -0
index 28a8ae6..da4598e 100644
@@ -15,6 +15,8 @@
 # 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 re
 import patchtestdata
tests/test_metadata_license.py +2 -0
index 5721f28..ed98cea 100644
@@ -15,6 +15,8 @@
 # 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
 from patchtestdata import PatchTestInput as pti
tests/test_metadata_max_length.py +2 -0
index eaf58b2..e31181a 100644
@@ -15,6 +15,8 @@
 # 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 re
 
tests/test_metadata_src_uri.py +2 -0
index a4c5caa..c0e8145 100644
@@ -15,6 +15,8 @@
 # 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 patchtestdata
 import subprocess
 import base
tests/test_metadata_summary.py +2 -0
index f820f5d..c7ee24b 100644
@@ -15,6 +15,8 @@
 # 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
 from patchtestdata import PatchTestInput as pti
 
tests/test_patch_cve.py +2 -0
index df6fe46..46ed9ef 100644
@@ -15,6 +15,8 @@
 # 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
 import re
tests/test_patch_signed_off_by.py +2 -0
index b620cd4..c26759e 100644
@@ -15,6 +15,8 @@
 # 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 parse_signed_off_by
 import re
tests/test_patch_upstream_status.py +2 -0
index a477dfb..2179764 100644
@@ -15,6 +15,8 @@
 # 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 parse_upstream_status
 import pyparsing
tests/test_python_pylint.py +2 -0
index df6a5de..fe24d69 100644
@@ -15,6 +15,8 @@
 # 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 patchtestdata
 import pylint.epylint as lint
Signature · 1 line
2.7.4