Show a patch.

GET /api/1.1/patches/21551/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 21551,
    "url": "https://patchwork.libcamera.org/api/1.1/patches/21551/?format=api",
    "web_url": "https://patchwork.libcamera.org/patch/21551/",
    "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": "<20241009071608.468018-1-stefan.klug@ideasonboard.com>",
    "date": "2024-10-09T07:16:00",
    "name": "gitignore: Add venv directory to gitignore",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "17c31671b8966f80a6f6137fc229a4283d2f0f6f",
    "submitter": {
        "id": 184,
        "url": "https://patchwork.libcamera.org/api/1.1/people/184/?format=api",
        "name": "Stefan Klug",
        "email": "stefan.klug@ideasonboard.com"
    },
    "delegate": null,
    "mbox": "https://patchwork.libcamera.org/patch/21551/mbox/",
    "series": [
        {
            "id": 4669,
            "url": "https://patchwork.libcamera.org/api/1.1/series/4669/?format=api",
            "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=4669",
            "date": "2024-10-09T07:16:00",
            "name": "gitignore: Add venv directory to gitignore",
            "version": 1,
            "mbox": "https://patchwork.libcamera.org/series/4669/mbox/"
        }
    ],
    "comments": "https://patchwork.libcamera.org/api/patches/21551/comments/",
    "check": "pending",
    "checks": "https://patchwork.libcamera.org/api/patches/21551/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 D39CBC32DE\n\tfor <parsemail@patchwork.libcamera.org>;\n\tWed,  9 Oct 2024 07:16:21 +0000 (UTC)",
            "from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 9038F6536B;\n\tWed,  9 Oct 2024 09:16:20 +0200 (CEST)",
            "from perceval.ideasonboard.com (perceval.ideasonboard.com\n\t[213.167.242.64])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 809AB63527\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tWed,  9 Oct 2024 09:16:19 +0200 (CEST)",
            "from ideasonboard.com (unknown\n\t[IPv6:2a00:6020:448c:6c00:749:b3f1:dbb0:6c33])\n\tby perceval.ideasonboard.com (Postfix) with ESMTPSA id 1DBC52EC;\n\tWed,  9 Oct 2024 09:14:42 +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=\"tiIu8lTM\"; dkim-atps=neutral",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com;\n\ts=mail; t=1728458082;\n\tbh=kJo4EQuLBLyBmVnsL1q6EQno/0ztNn2jAhVjtMW1TiI=;\n\th=From:To:Cc:Subject:Date:From;\n\tb=tiIu8lTMxhxt9icScFSHLskCWE61c3ilJIligcBlY6KvBKrEJbt4DweT4sMJvevgB\n\tGeHIfM0qjYHCHrGYAywJQwPiBhLM86TsRYIJvbu0Gpve3MIv0ZNJJLt9EwgeocM7jQ\n\t0LYGDnURs8RKXLxoC7APl4f0fdQMfziFhGnoK0Y0=",
        "From": "Stefan Klug <stefan.klug@ideasonboard.com>",
        "To": "libcamera-devel@lists.libcamera.org",
        "Cc": "Stefan Klug <stefan.klug@ideasonboard.com>",
        "Subject": "[PATCH] gitignore: Add venv directory to gitignore",
        "Date": "Wed,  9 Oct 2024 09:16:00 +0200",
        "Message-ID": "<20241009071608.468018-1-stefan.klug@ideasonboard.com>",
        "X-Mailer": "git-send-email 2.43.0",
        "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 python venv module is the standard way of creating virtual python\nenvironments. 'venv' is a commonly used name for the corresponding\ndirectory. For example in the tuning docs we propose to execute 'python\n-m venv venv' to setup a local virtual environment.  During development\nI often have these scattered around in the source tree and they show up\nas untracked files in git. Add venv to .gitignore to prevent that.\n\nSigned-off-by: Stefan Klug <stefan.klug@ideasonboard.com>\n---\n .gitignore | 1 +\n 1 file changed, 1 insertion(+)",
    "diff": "diff --git a/.gitignore b/.gitignore\nindex f6d1d68e4a7c..51d3144085ce 100644\n--- a/.gitignore\n+++ b/.gitignore\n@@ -6,3 +6,4 @@\n *.patch\n *.pyc\n __pycache__/\n+venv/\n",
    "prefixes": []
}