Patch Detail
Show a patch.
GET /api/1.1/patches/26424/?format=api
{ "id": 26424, "url": "https://patchwork.libcamera.org/api/1.1/patches/26424/?format=api", "web_url": "https://patchwork.libcamera.org/patch/26424/", "project": { "id": 1, "url": "https://patchwork.libcamera.org/api/1.1/projects/1/?format=api", "name": "libcamera", "link_name": "libcamera", "list_id": "libcamera_core", "list_email": "libcamera-devel@lists.libcamera.org", "web_url": "", "scm_url": "", "webscm_url": "" }, "msgid": "<20260405191443.1209948-9-laurent.pinchart@ideasonboard.com>", "date": "2026-04-05T19:14:40", "name": "[08/11] utils: ipc: extract-docs: Work around reuse tool problem", "commit_ref": null, "pull_url": null, "state": "new", "archived": false, "hash": "20bee1563ca8b5382d4b9fe8e560eeb1dee18f73", "submitter": { "id": 2, "url": "https://patchwork.libcamera.org/api/1.1/people/2/?format=api", "name": "Laurent Pinchart", "email": "laurent.pinchart@ideasonboard.com" }, "delegate": null, "mbox": "https://patchwork.libcamera.org/patch/26424/mbox/", "series": [ { "id": 5866, "url": "https://patchwork.libcamera.org/api/1.1/series/5866/?format=api", "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=5866", "date": "2026-04-05T19:14:32", "name": "libcamera: Fix missing license information", "version": 1, "mbox": "https://patchwork.libcamera.org/series/5866/mbox/" } ], "comments": "https://patchwork.libcamera.org/api/patches/26424/comments/", "check": "pending", "checks": "https://patchwork.libcamera.org/api/patches/26424/checks/", "tags": {}, "headers": { "Return-Path": "<libcamera-devel-bounces@lists.libcamera.org>", "X-Original-To": "parsemail@patchwork.libcamera.org", "Delivered-To": "parsemail@patchwork.libcamera.org", "Received": [ "from lancelot.ideasonboard.com (lancelot.ideasonboard.com\n\t[92.243.16.209])\n\tby patchwork.libcamera.org (Postfix) with ESMTPS id 8CE08C32BB\n\tfor <parsemail@patchwork.libcamera.org>;\n\tSun, 5 Apr 2026 19:15:00 +0000 (UTC)", "from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 459CB62D88;\n\tSun, 5 Apr 2026 21:15:00 +0200 (CEST)", "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 B219862D7D\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tSun, 5 Apr 2026 21:14:58 +0200 (CEST)", "from killaraus.ideasonboard.com\n\t(2001-14ba-703d-e500--2a1.rev.dnainternet.fi\n\t[IPv6:2001:14ba:703d:e500::2a1])\n\tby perceval.ideasonboard.com (Postfix) with UTF8SMTPSA id 8260119C6\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tSun, 5 Apr 2026 21:13:32 +0200 (CEST)" ], "Authentication-Results": "lancelot.ideasonboard.com; dkim=pass (1024-bit key;\n\tunprotected) header.d=ideasonboard.com header.i=@ideasonboard.com\n\theader.b=\"bd7uUoO6\"; dkim-atps=neutral", "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com;\n\ts=mail; t=1775416412;\n\tbh=IOEQVkTw9+AJ3hG15RqsSjgUVvJBOZG8h+DFaKEZ6gg=;\n\th=From:To:Subject:Date:In-Reply-To:References:From;\n\tb=bd7uUoO6rNy0+Ofwn7djqKk0OgvxCA0/UScu+IquyvhitP1/irW5zBUJqum+boUEY\n\tfz4Hgmd7jayMWlXBqX6pO67Z20tG7tZ1oiJV8PBuE6C496MpEPie1Y/K2Fk4Qpo0aI\n\t6q9cwbcu4ukgPvAMxnuUEztBk47hi7bZ69Ag4JGM=", "From": "Laurent Pinchart <laurent.pinchart@ideasonboard.com>", "To": "libcamera-devel@lists.libcamera.org", "Subject": "[PATCH 08/11] utils: ipc: extract-docs: Work around reuse tool\n\tproblem", "Date": "Sun, 5 Apr 2026 22:14:40 +0300", "Message-ID": "<20260405191443.1209948-9-laurent.pinchart@ideasonboard.com>", "X-Mailer": "git-send-email 2.52.0", "In-Reply-To": "<20260405191443.1209948-1-laurent.pinchart@ideasonboard.com>", "References": "<20260405191443.1209948-1-laurent.pinchart@ideasonboard.com>", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "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>", "Errors-To": "libcamera-devel-bounces@lists.libcamera.org", "Sender": "\"libcamera-devel\" <libcamera-devel-bounces@lists.libcamera.org>" }, "content": "The reuse tool fails to lint the extract-docs.py file because it\nconsiders the 'SPDX-License-Identifier' string in a regex as a malformed\nlicense identifier. Work around the issue by adding parentheses in the\nregular expression, which doesn't affect the behaviour of the regex\nmatching but prevents the reuse tool from seeing the line.\n\nSigned-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>\n---\n utils/codegen/ipc/extract-docs.py | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)", "diff": "diff --git a/utils/codegen/ipc/extract-docs.py b/utils/codegen/ipc/extract-docs.py\nindex 61f44caef52a..c51c4ab01a81 100755\n--- a/utils/codegen/ipc/extract-docs.py\n+++ b/utils/codegen/ipc/extract-docs.py\n@@ -12,7 +12,7 @@ import sys\n \n regex_block_start = re.compile(r'^/\\*\\*$')\n regex_block_end = re.compile(r'^ \\*/$')\n-regex_spdx = re.compile(r'^/\\* SPDX-License-Identifier: .* \\*/$')\n+regex_spdx = re.compile(r'^/\\* (SPDX)-License-Identifier: .* \\*/$')\n \n \n def main(argv):\n", "prefixes": [ "08/11" ] }