Patch Detail
Show a patch.
GET /api/1.1/patches/16112/?format=api
{ "id": 16112, "url": "https://patchwork.libcamera.org/api/1.1/patches/16112/?format=api", "web_url": "https://patchwork.libcamera.org/patch/16112/", "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": "<20220530142722.57618-6-tomi.valkeinen@ideasonboard.com>", "date": "2022-05-30T14:27:11", "name": "[libcamera-devel,v4,05/16] py: Add Request.__str__()", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": false, "hash": "ee70c5e63a453c693d3de2bfdfcc0d5cbff37295", "submitter": { "id": 109, "url": "https://patchwork.libcamera.org/api/1.1/people/109/?format=api", "name": "Tomi Valkeinen", "email": "tomi.valkeinen@ideasonboard.com" }, "delegate": null, "mbox": "https://patchwork.libcamera.org/patch/16112/mbox/", "series": [ { "id": 3149, "url": "https://patchwork.libcamera.org/api/1.1/series/3149/?format=api", "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=3149", "date": "2022-05-30T14:27:06", "name": "More misc Python patches", "version": 4, "mbox": "https://patchwork.libcamera.org/series/3149/mbox/" } ], "comments": "https://patchwork.libcamera.org/api/patches/16112/comments/", "check": "pending", "checks": "https://patchwork.libcamera.org/api/patches/16112/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 02D8FC3270\n\tfor <parsemail@patchwork.libcamera.org>;\n\tMon, 30 May 2022 14:27:48 +0000 (UTC)", "from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 4AA066563D;\n\tMon, 30 May 2022 16:27:48 +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 C59E565641\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tMon, 30 May 2022 16:27:41 +0200 (CEST)", "from deskari.lan (91-156-85-209.elisa-laajakaista.fi\n\t[91.156.85.209])\n\tby perceval.ideasonboard.com (Postfix) with ESMTPSA id 3C2D4101E;\n\tMon, 30 May 2022 16:27:41 +0200 (CEST)" ], "DKIM-Signature": [ "v=1; a=rsa-sha256; c=relaxed/simple; d=libcamera.org;\n\ts=mail; t=1653920868;\n\tbh=61t+dhJe27bzpHCJUf8idA6AgToLpGZf2TvyO61VH1A=;\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=IkSON5ETut2PvZm0gRiU87rhvIBYpwrOQ6DAE1tID5Bwz7tDEzBfJaVLc5JWRO0cA\n\ts6a4aBV5oN1k5Co3/Ug9YHWPOyzid8QK1mpIv1JgB8DukH464W69gOunQw/cIC5TeW\n\tD6O4NZm7ILBDwOu59ayAX3o70XtixBYuWl5lFPQAJtf6n8IeQW5rnJHZN15N1s4umB\n\tinHo4PJtnnU9A2tQyfX5nTvLwvOezBDZPpODqM3o5ekjfGPAfntGD/bm42v5/0YVrE\n\tEMVNtnkUzO/2h3cyCbveIFkp1wIADCrTnkMN9V5DPAW0xcWsEExPTZqVamFZrVHHuM\n\t8DxlIItS8U25g==", "v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com;\n\ts=mail; t=1653920861;\n\tbh=61t+dhJe27bzpHCJUf8idA6AgToLpGZf2TvyO61VH1A=;\n\th=From:To:Cc:Subject:Date:In-Reply-To:References:From;\n\tb=K9hgSIduAJ7G0kdjzHV1+wfBeNSoWb0F3LWbMVsQGNY7kcyaNcCocmh/12Pmyq4zf\n\tWad/EQUTY4HLdwUQV0997b8/Jbm6jj0ERZspYaH20++1NXx6f15BrQFFFqwwprdHfD\n\t0TCqjaOUFEGEHLS1R3Qbis4Wo58Ae0nsnNcyUeLY=" ], "Authentication-Results": "lancelot.ideasonboard.com; dkim=pass (1024-bit key; \n\tunprotected) header.d=ideasonboard.com\n\theader.i=@ideasonboard.com\n\theader.b=\"K9hgSIdu\"; dkim-atps=neutral", "To": "libcamera-devel@lists.libcamera.org,\n\tDavid Plowman <david.plowman@raspberrypi.com>,\n\tKieran Bingham <kieran.bingham@ideasonboard.com>,\n\tLaurent Pinchart <laurent.pinchart@ideasonboard.com>,\n\tJacopo Mondi <jacopo@jmondi.org>", "Date": "Mon, 30 May 2022 17:27:11 +0300", "Message-Id": "<20220530142722.57618-6-tomi.valkeinen@ideasonboard.com>", "X-Mailer": "git-send-email 2.34.1", "In-Reply-To": "<20220530142722.57618-1-tomi.valkeinen@ideasonboard.com>", "References": "<20220530142722.57618-1-tomi.valkeinen@ideasonboard.com>", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "Subject": "[libcamera-devel] [PATCH v4 05/16] py: Add Request.__str__()", "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": "Tomi Valkeinen via libcamera-devel\n\t<libcamera-devel@lists.libcamera.org>", "Reply-To": "Tomi Valkeinen <tomi.valkeinen@ideasonboard.com>", "Errors-To": "libcamera-devel-bounces@lists.libcamera.org", "Sender": "\"libcamera-devel\" <libcamera-devel-bounces@lists.libcamera.org>" }, "content": "Add Request.__str__() which maps directly to Request::toString().\n\nSigned-off-by: Tomi Valkeinen <tomi.valkeinen@ideasonboard.com>\nReviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>\n---\n src/py/libcamera/py_main.cpp | 3 ++-\n 1 file changed, 2 insertions(+), 1 deletion(-)", "diff": "diff --git a/src/py/libcamera/py_main.cpp b/src/py/libcamera/py_main.cpp\nindex 3220a9e6..9e827845 100644\n--- a/src/py/libcamera/py_main.cpp\n+++ b/src/py/libcamera/py_main.cpp\n@@ -496,7 +496,8 @@ PYBIND11_MODULE(_libcamera, m)\n \t\t * \\todo As we add a keep_alive to the fb in addBuffers(), we\n \t\t * can only allow reuse with ReuseBuffers.\n \t\t */\n-\t\t.def(\"reuse\", [](Request &self) { self.reuse(Request::ReuseFlag::ReuseBuffers); });\n+\t\t.def(\"reuse\", [](Request &self) { self.reuse(Request::ReuseFlag::ReuseBuffers); })\n+\t\t.def(\"__str__\", &Request::toString);\n \n \tpyRequestStatus\n \t\t.value(\"Pending\", Request::RequestPending)\n", "prefixes": [ "libcamera-devel", "v4", "05/16" ] }