Show a patch.

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

{
    "id": 20749,
    "url": "https://patchwork.libcamera.org/api/patches/20749/?format=api",
    "web_url": "https://patchwork.libcamera.org/patch/20749/",
    "project": {
        "id": 1,
        "url": "https://patchwork.libcamera.org/api/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": "<20240803195505.842-1-laurent.pinchart@ideasonboard.com>",
    "date": "2024-08-03T19:55:05",
    "name": "libcamera: Remove spaces at end of lines",
    "commit_ref": "0bb8afc9ac9c6fadfae676932ba47f4a1fe33871",
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "fb05de27c0070c0850a9b825039fc12803e08115",
    "submitter": {
        "id": 2,
        "url": "https://patchwork.libcamera.org/api/people/2/?format=api",
        "name": "Laurent Pinchart",
        "email": "laurent.pinchart@ideasonboard.com"
    },
    "delegate": null,
    "mbox": "https://patchwork.libcamera.org/patch/20749/mbox/",
    "series": [
        {
            "id": 4474,
            "url": "https://patchwork.libcamera.org/api/series/4474/?format=api",
            "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=4474",
            "date": "2024-08-03T19:55:05",
            "name": "libcamera: Remove spaces at end of lines",
            "version": 1,
            "mbox": "https://patchwork.libcamera.org/series/4474/mbox/"
        }
    ],
    "comments": "https://patchwork.libcamera.org/api/patches/20749/comments/",
    "check": "pending",
    "checks": "https://patchwork.libcamera.org/api/patches/20749/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 B3FD2BDC71\n\tfor <parsemail@patchwork.libcamera.org>;\n\tSat,  3 Aug 2024 19:55:30 +0000 (UTC)",
            "from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id AAEE263381;\n\tSat,  3 Aug 2024 21:55:29 +0200 (CEST)",
            "from perceval.ideasonboard.com (perceval.ideasonboard.com\n\t[213.167.242.64])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 4EE496336E\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tSat,  3 Aug 2024 21:55:28 +0200 (CEST)",
            "from pendragon.ideasonboard.com (81-175-209-231.bb.dnainternet.fi\n\t[81.175.209.231])\n\tby perceval.ideasonboard.com (Postfix) with ESMTPSA id D1CFA512\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tSat,  3 Aug 2024 21:54:37 +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=\"JPgYa5Oo\"; dkim-atps=neutral",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com;\n\ts=mail; t=1722714878;\n\tbh=geCi5PagTew/k4eTf0aG2HMP0XPcCI1b7mE2kPHz+Gw=;\n\th=From:To:Subject:Date:From;\n\tb=JPgYa5OoWvF3xtGm3iIzhELQ+NRxF8tql6mX2apPm8mff/FZqLCqV+hyHZ7ipbYhO\n\tww4Wqrf1j1ZXHRw9ZG8MqboKdMBL3C4CgVmuuKLJitNzpqdEKzXkUQcWI0Rky6qsrT\n\tZv28dDykBBwF9oieN+ixkRhgQQ3ct4wL2OcEjwnY=",
        "From": "Laurent Pinchart <laurent.pinchart@ideasonboard.com>",
        "To": "libcamera-devel@lists.libcamera.org",
        "Subject": "[PATCH] libcamera: Remove spaces at end of lines",
        "Date": "Sat,  3 Aug 2024 22:55:05 +0300",
        "Message-ID": "<20240803195505.842-1-laurent.pinchart@ideasonboard.com>",
        "X-Mailer": "git-send-email 2.44.2",
        "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": "Spaces at end of lines have cropped up in a few places in libcamera.\nRemove them.\n\nSigned-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>\n---\n .clang-format                           | 4 ++--\n Documentation/coding-style.rst          | 2 +-\n Documentation/environment_variables.rst | 4 ++--\n src/libcamera/control_ids_core.yaml     | 4 ++--\n 4 files changed, 7 insertions(+), 7 deletions(-)\n\n\nbase-commit: 19bbca3c0b376ba0183f5db53472c8c46cd402b5",
    "diff": "diff --git a/.clang-format b/.clang-format\nindex f2b44e87d4fb..7fc30f614ab1 100644\n--- a/.clang-format\n+++ b/.clang-format\n@@ -80,7 +80,7 @@ IncludeCategories:\n   # Headers in <> with an extension. (+system libraries)\n   - Regex:           '<([A-Za-z0-9\\-_])+\\.h>'\n     Priority:        2\n-  # System headers \n+  # System headers\n   - Regex:           '<sys/.*>'\n     Priority:        2\n   # C++ standard library includes (no extension)\n@@ -100,7 +100,7 @@ IncludeCategories:\n   # IPA Interfaces\n   - Regex:           '<libcamera/ipa/.*\\.h>'\n     Priority:        7\n-  # libcamera Internal headers in \"\"  \n+  # libcamera Internal headers in \"\"\n   - Regex:           '\"libcamera/internal/.*\\.h\"'\n     Priority:        8\n   # Other libraries headers with one group per library (.h or .hpp)\ndiff --git a/Documentation/coding-style.rst b/Documentation/coding-style.rst\nindex 72cb28d25189..3352b75c76c8 100644\n--- a/Documentation/coding-style.rst\n+++ b/Documentation/coding-style.rst\n@@ -215,7 +215,7 @@ shall be avoided when possible, but are allowed when required (for instance to\n implement factories with auto-registration). They shall not depend on any other\n global variable, should run a minimal amount of code in the constructor and\n destructor, and code that contains dependencies should be moved to a later\n-point in time. \n+point in time.\n \n Error Handling\n ~~~~~~~~~~~~~~\ndiff --git a/Documentation/environment_variables.rst b/Documentation/environment_variables.rst\nindex 7cc13e9f3808..de434c386707 100644\n--- a/Documentation/environment_variables.rst\n+++ b/Documentation/environment_variables.rst\n@@ -39,9 +39,9 @@ LIBCAMERA_IPA_MODULE_PATH\n \n LIBCAMERA_IPA_PROXY_PATH\n    Define custom full path for a proxy worker for a given executable name.\n-   \n+\n    Example value: ``${HOME}/.libcamera/proxy/worker:/opt/libcamera/vendor/proxy/worker``\n-   \n+\n LIBCAMERA_PIPELINES_MATCH_LIST\n    Define an ordered list of pipeline names to be used to match the media\n    devices in the system. The pipeline handler names used to populate the\ndiff --git a/src/libcamera/control_ids_core.yaml b/src/libcamera/control_ids_core.yaml\nindex 9d413a94e0ee..cf40771d3896 100644\n--- a/src/libcamera/control_ids_core.yaml\n+++ b/src/libcamera/control_ids_core.yaml\n@@ -868,8 +868,8 @@ controls:\n   - Gamma:\n       type: float\n       description:  |\n-        Specify a fixed gamma value. Default must be 2.2 which closely mimics \n-        sRGB gamma. Note that this is camera gamma, so it is applied as \n+        Specify a fixed gamma value. Default must be 2.2 which closely mimics\n+        sRGB gamma. Note that this is camera gamma, so it is applied as\n         1.0/gamma.\n \n ...\n",
    "prefixes": []
}