{"id":2822,"url":"https://patchwork.libcamera.org/api/patches/2822/?format=json","web_url":"https://patchwork.libcamera.org/patch/2822/","project":{"id":1,"url":"https://patchwork.libcamera.org/api/projects/1/?format=json","name":"libcamera","link_name":"libcamera","list_id":"libcamera_core","list_email":"libcamera-devel@lists.libcamera.org","web_url":"","scm_url":"","webscm_url":""},"msgid":"<20200213153635.27953-11-laurent.pinchart@ideasonboard.com>","date":"2020-02-13T15:36:34","name":"[libcamera-devel,PATCH/RFC,10/11] licenses: Add SPDX headers to the git commit hook scripts","commit_ref":null,"pull_url":null,"state":"accepted","archived":false,"hash":"1d7ab18113e1b4bb96ee5896f603fec34b9b660d","submitter":{"id":2,"url":"https://patchwork.libcamera.org/api/people/2/?format=json","name":"Laurent Pinchart","email":"laurent.pinchart@ideasonboard.com"},"delegate":null,"mbox":"https://patchwork.libcamera.org/patch/2822/mbox/","series":[{"id":671,"url":"https://patchwork.libcamera.org/api/series/671/?format=json","web_url":"https://patchwork.libcamera.org/project/libcamera/list/?series=671","date":"2020-02-13T15:36:24","name":"Improve license information","version":1,"mbox":"https://patchwork.libcamera.org/series/671/mbox/"}],"comments":"https://patchwork.libcamera.org/api/patches/2822/comments/","check":"pending","checks":"https://patchwork.libcamera.org/api/patches/2822/checks/","tags":{},"headers":{"Return-Path":"<laurent.pinchart@ideasonboard.com>","Received":["from perceval.ideasonboard.com (perceval.ideasonboard.com\n\t[IPv6:2001:4b98:dc2:55:216:3eff:fef7:d647])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 2969B619E1\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tThu, 13 Feb 2020 16:37:00 +0100 (CET)","from pendragon.bb.dnainternet.fi (81-175-216-236.bb.dnainternet.fi\n\t[81.175.216.236])\n\tby perceval.ideasonboard.com (Postfix) with ESMTPSA id B5BC0504\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tThu, 13 Feb 2020 16:36:59 +0100 (CET)"],"DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com;\n\ts=mail; t=1581608219;\n\tbh=U+kvP8rXgKddWbgpuhXxjm+YdUZKNtrHJ0lxGlEltJs=;\n\th=From:To:Subject:Date:In-Reply-To:References:From;\n\tb=qJIioIqIUiH538WC+fcFF/VBW/7yD78YdMSsCVt6trSTE8tj++R0CIDHIJMcIeEwk\n\tkoa3nyE6rD9o8iSVvNwTP5Qj5JaQP9psMdNJIzmo+EdbyGjcq46s3AcjDz4vXiuByv\n\tEWVmQnPd6buhih5dWCEvX7poG+DCwSQ5BdNkWCZg=","From":"Laurent Pinchart <laurent.pinchart@ideasonboard.com>","To":"libcamera-devel@lists.libcamera.org","Date":"Thu, 13 Feb 2020 17:36:34 +0200","Message-Id":"<20200213153635.27953-11-laurent.pinchart@ideasonboard.com>","X-Mailer":"git-send-email 2.24.1","In-Reply-To":"<20200213153635.27953-1-laurent.pinchart@ideasonboard.com>","References":"<20200213153635.27953-1-laurent.pinchart@ideasonboard.com>","MIME-Version":"1.0","Content-Transfer-Encoding":"8bit","Subject":"[libcamera-devel] [PATCH/RFC 10/11] licenses: Add SPDX headers to\n\tthe git commit hook scripts","X-BeenThere":"libcamera-devel@lists.libcamera.org","X-Mailman-Version":"2.1.29","Precedence":"list","List-Id":"<libcamera-devel.lists.libcamera.org>","List-Unsubscribe":"<https://lists.libcamera.org/options/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=unsubscribe>","List-Archive":"<https://lists.libcamera.org/pipermail/libcamera-devel/>","List-Post":"<mailto:libcamera-devel@lists.libcamera.org>","List-Help":"<mailto:libcamera-devel-request@lists.libcamera.org?subject=help>","List-Subscribe":"<https://lists.libcamera.org/listinfo/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=subscribe>","X-List-Received-Date":"Thu, 13 Feb 2020 15:37:00 -0000"},"content":"Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>\n---\n utils/hooks/post-commit | 2 ++\n utils/hooks/pre-commit  | 2 ++\n 2 files changed, 4 insertions(+)","diff":"diff --git a/utils/hooks/post-commit b/utils/hooks/post-commit\nindex c8b1739a8d6a..f28cbd8d2c6c 100755\n--- a/utils/hooks/post-commit\n+++ b/utils/hooks/post-commit\n@@ -1,5 +1,7 @@\n #!/bin/sh\n \n+# SPDX-License-Identifier: GPL-2.0-or-later\n+\n # Execute the checkstyle script after committing any code. This allows the\n # commit to succeed, but ensures that the developer is aware of any potential\n # issues immediately, and can resolve them and fix rapidly with:\ndiff --git a/utils/hooks/pre-commit b/utils/hooks/pre-commit\nindex 47fcbc812d68..7a4cb6257dec 100755\n--- a/utils/hooks/pre-commit\n+++ b/utils/hooks/pre-commit\n@@ -1,5 +1,7 @@\n #!/bin/sh\n \n+# SPDX-License-Identifier: GPL-2.0-or-later\n+\n # Execute the checkstyle script before committing any code. This will fail the\n # commit in case of style issues, ensuring that the developer will notice them.\n # The pre-commit hook can be bypassed with git commit -n to ignore selective\n","prefixes":["libcamera-devel","PATCH/RFC","10/11"]}