Skip to contentSkip to conversation

Cover letter

PATCH In review Anubhav Shelat 2 participants 8 messages Jul 26, 2023

lore
Share & tools
lore
#0 lore raw

cover Cover letter

Added SPDX licence to python files in python-linux-procfs

Anubhav Shelat (5):
bitmasklist_test: Added SPDX licence
setup: Added SPDX licence
__init__: Added SPDX licence
procfs: Added SPDX licence
utilist: Added SPDX licence

 bitmasklist_test.py |  1 +
 procfs/__init__.py  | 16 +---------------
 procfs/procfs.py    | 14 +-------------
 procfs/utilist.py   | 14 +-------------
 setup.py            |  1 +
 5 files changed, 5 insertions(+), 41 deletions(-)
Signature · 1 line
2.39.3
#1 lore raw

PATCH 1/5 bitmasklist_test: Added SPDX licence

bitmasklist_test: Added SPDX licence

---
 bitmasklist_test.py | 1 +
 1 file changed, 1 insertion(+)
bitmasklist_test.py +1 -0
index 677c84a9504f..16169af52bfd 100755
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0-or-later
 #!/usr/bin/python3
 
 """ Module to test bitmasklist functionality """
Signature · 1 line
2.39.3
#2 lore raw

Re: [PATCH 1/5] bitmasklist_test: Added SPDX licence

Quoted 19 lines · Anubhav Shelat

bitmasklist_test: Added SPDX licence

---
 bitmasklist_test.py | 1 +
 1 file changed, 1 insertion(+)
bitmasklist_test.py +1 -0
index 677c84a9504f..16169af52bfd 100755
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0-or-later
 #!/usr/bin/python3
 
 """ Module to test bitmasklist functionality """
Signature · 1 line
2.39.3

Did you try running this?
The shebang (#!) must always be the first thing in a script

John

#3 lore raw

PATCH 2/5 setup: Added SPDX licence

In reply to Anubhav Shelat

setup: Added SPDX licence

---
 setup.py | 1 +
 1 file changed, 1 insertion(+)
setup.py +1 -0
index 0ee543487c31..060f903dcb0c 100755
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0-or-later
 #!/usr/bin/python3
 import os
 from os.path import isfile, join
Signature · 1 line
2.39.3
#4 lore raw

PATCH 3/5 __init__: Added SPDX licence

In reply to Anubhav Shelat

__init__: Added SPDX licence

---
 procfs/__init__.py | 16 +---------------
 1 file changed, 1 insertion(+), 15 deletions(-)
procfs/__init__.py +1 -15
index 071c54dacab8..99785e735d4a 100644
@@ -1,22 +1,8 @@
+# SPDX-License-Identifier: GPL-2.0-or-later
 #! /usr/bin/python3
 # -*- python -*-
 # -*- coding: utf-8 -*-
 #
-# Copyright (C) 2008, 2009 Red Hat, Inc.
-#
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; version 2 of the License.
-#
-# 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., 675 Mass Ave, Cambridge, MA 02139, USA.
-#
 """
 Copyright (c) 2008, 2009  Red Hat Inc.
 
Signature · 1 line
2.39.3
#5 lore raw

PATCH 4/5 procfs: Added SPDX licence

In reply to Anubhav Shelat

procfs: Added SPDX licence

---
 procfs/procfs.py | 14 +-------------
 1 file changed, 1 insertion(+), 13 deletions(-)
procfs/procfs.py +1 -13
index 36f38f965475..0037c18fead1 100755
@@ -1,22 +1,10 @@
+# SPDX-License-Identifier: GPL-2.0-or-later
 #!/usr/bin/python3
 # -*- python -*-
 # -*- coding: utf-8 -*-
 #
 # Copyright (C) 2007-2015 Red Hat, Inc.
 #
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; version 2 of the License.
-#
-# 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., 675 Mass Ave, Cambridge, MA 02139, USA.
-#
 
 import os
 import platform
Signature · 1 line
2.39.3
#6 lore raw

PATCH 5/5 utilist: Added SPDX licence

In reply to Anubhav Shelat

utilist: Added SPDX licence

---
 procfs/utilist.py | 14 +-------------
 1 file changed, 1 insertion(+), 13 deletions(-)
procfs/utilist.py +1 -13
index f9f1862944c8..371006ea5934 100755
@@ -1,22 +1,10 @@
+# SPDX-License-Identifier: GPL-2.0-or-later
 #! /usr/bin/python3
 # -*- python -*-
 # -*- coding: utf-8 -*-
 #
 # Copyright (C) 2007 Red Hat, Inc.
 #
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; version 2 of the License.
-#
-# 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., 675 Mass Ave, Cambridge, MA 02139, USA.
-#
 
 from six.moves import range
 
Signature · 1 line
2.39.3
#7 lore raw
In reply to Anubhav Shelat
Quoted 9 lines · Anubhav Shelat

Added SPDX licence to python files in python-linux-procfs

Anubhav Shelat (5):
bitmasklist_test: Added SPDX licence
setup: Added SPDX licence
__init__: Added SPDX licence
procfs: Added SPDX licence
utilist: Added SPDX licence

Quoted 11 lines
 bitmasklist_test.py |  1 +
 procfs/__init__.py  | 16 +---------------
 procfs/procfs.py    | 14 +-------------
 procfs/utilist.py   | 14 +-------------
 setup.py            |  1 +
 5 files changed, 5 insertions(+), 41 deletions(-)
Signature · 1 line
2.39.3

Thanks for the patches, however, this is the wrong mailing list! Please send them here instead.
https://lists.fedorahosted.org/archives/list/[email protected]/

John