summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorStephen Finucane <stephen@that.guru>2018-09-17 11:59:56 +0100
committerStephen Finucane <stephen@that.guru>2018-09-19 11:34:42 +0100
commite874c76c4eac2b10039e8bb111344e1dee8d1219 (patch)
tree138401e1baf3ab2a8d4248194330fabdb83f0935 /tools
parent14a152e9cbc4c0e74669c7fb781997041d2f11d6 (diff)
downloadpatchwork-e874c76c4eac2b10039e8bb111344e1dee8d1219.tar
patchwork-e874c76c4eac2b10039e8bb111344e1dee8d1219.tar.gz
Update license header
The FSF has a new address since 2005 that hasn't been noted in any file except the COPYING file. Rather than fix these, simply remove the headers in favour of a SPDX license header. IANAL but the combination of the header and the COPYING file in source should resolve this issue. Note that copyright notices are retained. Signed-off-by: Stephen Finucane <stephen@that.guru> Closes: #210 Reviewed-by: Veronika Kabatova <vkabatov@redhat.com>
Diffstat (limited to 'tools')
-rwxr-xr-xtools/patchwork-update-commits16
-rwxr-xr-xtools/post-receive.hook17
2 files changed, 3 insertions, 30 deletions
diff --git a/tools/patchwork-update-commits b/tools/patchwork-update-commits
index c84a630..62c91c3 100755
--- a/tools/patchwork-update-commits
+++ b/tools/patchwork-update-commits
@@ -3,21 +3,7 @@
# Patchwork - automated patch tracking system
# Copyright (C) 2010 Jeremy Kerr <jk@ozlabs.org>
#
-# This file is part of the Patchwork package.
-#
-# Patchwork 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; either version 2 of the License, or
-# (at your option) any later version.
-#
-# Patchwork 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 Patchwork; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+# SPDX-License-Identifier: GPL-2.0-or-later
TOOLS_DIR="$(dirname "$0")"
PW_DIR="${TOOLS_DIR}/../patchwork"
diff --git a/tools/post-receive.hook b/tools/post-receive.hook
index 7f8ae7e..81a519e 100755
--- a/tools/post-receive.hook
+++ b/tools/post-receive.hook
@@ -1,22 +1,9 @@
#!/bin/bash
+
# Patchwork - automated patch tracking system
# Copyright (C) 2010 martin f. krafft <madduck@madduck.net>
#
-# This file is part of the Patchwork package.
-#
-# Patchwork 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; either version 2 of the License, or
-# (at your option) any later version.
-#
-# Patchwork 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 Patchwork; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+# SPDX-License-Identifier: GPL-2.0-or-later
# Git post-receive hook to update Patchwork patches after Git pushes
set -eu