Show a patch.

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

{
    "id": 351,
    "url": "https://patchwork.libcamera.org/api/patches/351/?format=api",
    "web_url": "https://patchwork.libcamera.org/patch/351/",
    "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": "<20190123142445.29416-1-kieran.bingham@ideasonboard.com>",
    "date": "2019-01-23T14:24:45",
    "name": "[libcamera-devel] libcamera: log: Fix two typos.",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "72c6347446681fcd0d68d4bea8b2d25f51f51eb1",
    "submitter": {
        "id": 4,
        "url": "https://patchwork.libcamera.org/api/people/4/?format=api",
        "name": "Kieran Bingham",
        "email": "kieran.bingham@ideasonboard.com"
    },
    "delegate": null,
    "mbox": "https://patchwork.libcamera.org/patch/351/mbox/",
    "series": [
        {
            "id": 123,
            "url": "https://patchwork.libcamera.org/api/series/123/?format=api",
            "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=123",
            "date": "2019-01-23T14:24:45",
            "name": "[libcamera-devel] libcamera: log: Fix two typos.",
            "version": 1,
            "mbox": "https://patchwork.libcamera.org/series/123/mbox/"
        }
    ],
    "comments": "https://patchwork.libcamera.org/api/patches/351/comments/",
    "check": "pending",
    "checks": "https://patchwork.libcamera.org/api/patches/351/checks/",
    "tags": {},
    "headers": {
        "Return-Path": "<kieran.bingham@ideasonboard.com>",
        "Received": [
            "from perceval.ideasonboard.com (perceval.ideasonboard.com\n\t[213.167.242.64])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 3140F60C7D\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tWed, 23 Jan 2019 15:24:50 +0100 (CET)",
            "from localhost.localdomain\n\t(cpc89242-aztw30-2-0-cust488.18-1.cable.virginm.net [86.31.129.233])\n\tby perceval.ideasonboard.com (Postfix) with ESMTPSA id 8E53723D;\n\tWed, 23 Jan 2019 15:24:49 +0100 (CET)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com;\n\ts=mail; t=1548253489;\n\tbh=xYokDh5VRxlBFiIfu77BtzocIpsqlWazIhWGihHfSMU=;\n\th=From:To:Cc:Subject:Date:From;\n\tb=ZHiYOUc6xRr2g7RihgPtroJGPi+isRefY5+Owl2pJ6IOx5rxK6a/SYFZ+DM9/kq82\n\tJcMRJWO7zobgfEK0PM2UAje0UNNFf021IEu5t6KyNWTakEaLQ69Q6ZfiTHmxUNGyCX\n\tVd5U3QI4cB5E9TjVeOK4UoUreiT+hiV2/bygGAdQ=",
        "From": "Kieran Bingham <kieran.bingham@ideasonboard.com>",
        "To": "LibCamera Devel <libcamera-devel@lists.libcamera.org>",
        "Date": "Wed, 23 Jan 2019 14:24:45 +0000",
        "Message-Id": "<20190123142445.29416-1-kieran.bingham@ideasonboard.com>",
        "X-Mailer": "git-send-email 2.19.1",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Subject": "[libcamera-devel] [PATCH] libcamera: log: Fix two typos.",
        "X-BeenThere": "libcamera-devel@lists.libcamera.org",
        "X-Mailman-Version": "2.1.23",
        "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>",
        "X-List-Received-Date": "Wed, 23 Jan 2019 14:24:50 -0000"
    },
    "content": "Two incorrect spellings are fixed.\n 'logr' -> 'log'\n 'environement' -> 'environment'\n\nFixes: 747ace042cc1 (\"libcamera: log: Get log levels from the environment\")\nSigned-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>\n---\n src/libcamera/log.cpp | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)",
    "diff": "diff --git a/src/libcamera/log.cpp b/src/libcamera/log.cpp\nindex 241dc5395976..dc88414c338a 100644\n--- a/src/libcamera/log.cpp\n+++ b/src/libcamera/log.cpp\n@@ -134,7 +134,7 @@ void Logger::parseLogFile()\n /**\n  * \\brief Parse the log levels from the environment\n  *\n- * The logr levels are stored in LIBCAMERA_LOG_LEVELS environement variable as a list\n+ * The log levels are stored in LIBCAMERA_LOG_LEVELS environment variable as a list\n  * of \"category=level\" pairs, separated by commas (','). Parse the variable and\n  * store the levels to configure all log categories.\n  */\n",
    "prefixes": [
        "libcamera-devel"
    ]
}