Patch Detail
Show a patch.
GET /api/1.1/patches/18727/?format=api
{ "id": 18727, "url": "https://patchwork.libcamera.org/api/1.1/patches/18727/?format=api", "web_url": "https://patchwork.libcamera.org/patch/18727/", "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": "<20230612224751.4437-2-laurent.pinchart@ideasonboard.com>", "date": "2023-06-12T22:47:48", "name": "[libcamera-devel,v1,1/4] utils: checkstyle: Add __repr__ method to CommitFile class", "commit_ref": "c9b2f62eddf9ecf6f3e4557050b08bd0c560c693", "pull_url": null, "state": "accepted", "archived": false, "hash": "f9963371ec54c1bed6f62ba7ecec05e186f62a32", "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/18727/mbox/", "series": [ { "id": 3920, "url": "https://patchwork.libcamera.org/api/1.1/series/3920/?format=api", "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=3920", "date": "2023-06-12T22:47:47", "name": "utils: checkstyle: Add a commit message trailers checker", "version": 1, "mbox": "https://patchwork.libcamera.org/series/3920/mbox/" } ], "comments": "https://patchwork.libcamera.org/api/patches/18727/comments/", "check": "pending", "checks": "https://patchwork.libcamera.org/api/patches/18727/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 38FFDC3290\n\tfor <parsemail@patchwork.libcamera.org>;\n\tMon, 12 Jun 2023 22:47:55 +0000 (UTC)", "from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id D2B7561E5F;\n\tTue, 13 Jun 2023 00:47:54 +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 02E8361E50\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tTue, 13 Jun 2023 00:47:53 +0200 (CEST)", "from pendragon.ideasonboard.com (213-243-189-158.bb.dnainternet.fi\n\t[213.243.189.158])\n\tby perceval.ideasonboard.com (Postfix) with ESMTPSA id 3822AC7F\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tTue, 13 Jun 2023 00:47:23 +0200 (CEST)" ], "DKIM-Signature": [ "v=1; a=rsa-sha256; c=relaxed/simple; d=libcamera.org;\n\ts=mail; t=1686610074;\n\tbh=pFIsOSDRcc8pIfEa2RsLe82QaIv0gE1BAISsqJvUaLk=;\n\th=To:Date:In-Reply-To:References:Subject:List-Id:List-Unsubscribe:\n\tList-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:\n\tFrom;\n\tb=YwiJZIk6BF4PMadquYWpCMmEBhAOCvZP52CQGiFb68YmlOjekBwjrVlWwhQ2nFHDR\n\t3IhAe35hPNtIDnd2Y+0mP33lByEqeQG8MgrLGxiQy2J2qBzJK7vpFaLDvRGhcnAZ4H\n\tY0Ta+H7vwOnkO2mkb6aTkRwikZlneBf/vRJJ0T87ej/7SUPsBkOXgM7Jf9VdYculbW\n\tFjauSqd8xbNg7Y5/HnQ+q2capNjjJJ0VQPdAv3keoG6FCCAVbgdiZipPdGMiDd5Vnw\n\t5PD5fpCmIIhM1Bv+oXLzYn0HIco4qDlxLk5tkmhY8ZmByxgPBGvYCqnswhlX6Ktjxb\n\t2gD4QNy5ZQarA==", "v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com;\n\ts=mail; t=1686610043;\n\tbh=pFIsOSDRcc8pIfEa2RsLe82QaIv0gE1BAISsqJvUaLk=;\n\th=From:To:Subject:Date:In-Reply-To:References:From;\n\tb=i6Whi86EiWzMN9w3S/eq7eetGERX5B9vOmOgb/B4Dr7Iqp5ALy6zKqEBVfj8WArpE\n\tnoljrgkxN+W+kMM9HCxDgVu7PMJEWd9Zc7uUbllUqNvgjdyaPqJPZjvWvHAU2+bqyq\n\t6zwMPW1Ev55avoOHAqh9aQ2tb8oFFnwxKU9Cc9ko=" ], "Authentication-Results": "lancelot.ideasonboard.com; dkim=pass (1024-bit key; \n\tunprotected) header.d=ideasonboard.com\n\theader.i=@ideasonboard.com\n\theader.b=\"i6Whi86E\"; dkim-atps=neutral", "To": "libcamera-devel@lists.libcamera.org", "Date": "Tue, 13 Jun 2023 01:47:48 +0300", "Message-Id": "<20230612224751.4437-2-laurent.pinchart@ideasonboard.com>", "X-Mailer": "git-send-email 2.39.3", "In-Reply-To": "<20230612224751.4437-1-laurent.pinchart@ideasonboard.com>", "References": "<20230612224751.4437-1-laurent.pinchart@ideasonboard.com>", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "Subject": "[libcamera-devel] [PATCH v1 1/4] utils: checkstyle: Add __repr__\n\tmethod to CommitFile class", "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>", "From": "Laurent Pinchart via libcamera-devel\n\t<libcamera-devel@lists.libcamera.org>", "Reply-To": "Laurent Pinchart <laurent.pinchart@ideasonboard.com>", "Errors-To": "libcamera-devel-bounces@lists.libcamera.org", "Sender": "\"libcamera-devel\" <libcamera-devel-bounces@lists.libcamera.org>" }, "content": "Add a custom representation to the CommitFile class in order to\nfacilitate debugging.\n\nSigned-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>\n---\n utils/checkstyle.py | 3 +++\n 1 file changed, 3 insertions(+)", "diff": "diff --git a/utils/checkstyle.py b/utils/checkstyle.py\nindex 5cc523b6fba3..7da888d8c365 100755\n--- a/utils/checkstyle.py\n+++ b/utils/checkstyle.py\n@@ -191,6 +191,9 @@ class CommitFile:\n else:\n self.__filename = info[1]\n \n+ def __repr__(self):\n+ return f'{self.__status} {self.__filename}'\n+\n @property\n def filename(self):\n return self.__filename\n", "prefixes": [ "libcamera-devel", "v1", "1/4" ] }