Show a patch.

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

{
    "id": 1678,
    "url": "https://patchwork.libcamera.org/api/1.1/patches/1678/?format=api",
    "web_url": "https://patchwork.libcamera.org/patch/1678/",
    "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": "<20190712201620.30457-4-paul.elder@ideasonboard.com>",
    "date": "2019-07-12T20:16:20",
    "name": "[libcamera-devel,4/4] test: logging: move logging tests to a subdirectory",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": false,
    "hash": "7eecdcfe2c6866ead8d0853f165fee9237d5f000",
    "submitter": {
        "id": 17,
        "url": "https://patchwork.libcamera.org/api/1.1/people/17/?format=api",
        "name": "Paul Elder",
        "email": "paul.elder@ideasonboard.com"
    },
    "delegate": null,
    "mbox": "https://patchwork.libcamera.org/patch/1678/mbox/",
    "series": [
        {
            "id": 427,
            "url": "https://patchwork.libcamera.org/api/1.1/series/427/?format=api",
            "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=427",
            "date": "2019-07-12T20:16:17",
            "name": "[libcamera-devel,1/4] libcamera: logging: add syslog, stream, and nowhere logging targets",
            "version": 1,
            "mbox": "https://patchwork.libcamera.org/series/427/mbox/"
        }
    ],
    "comments": "https://patchwork.libcamera.org/api/patches/1678/comments/",
    "check": "pending",
    "checks": "https://patchwork.libcamera.org/api/patches/1678/checks/",
    "tags": {},
    "headers": {
        "Return-Path": "<paul.elder@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 9CD936161E\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tFri, 12 Jul 2019 22:16:35 +0200 (CEST)",
            "from neptunite.amanokami.net (softbank126209254147.bbtec.net\n\t[126.209.254.147])\n\tby perceval.ideasonboard.com (Postfix) with ESMTPSA id 2B6CF2B2;\n\tFri, 12 Jul 2019 22:16:33 +0200 (CEST)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com;\n\ts=mail; t=1562962595;\n\tbh=OQIEQRCcPGx9pAHX9Q/6uDOX/HZxrGeWgWmcxPpp6M8=;\n\th=From:To:Cc:Subject:Date:In-Reply-To:References:From;\n\tb=JWZmjgF6WN//m0Mi86+/rwwFFV2Y6aZnhJakdIrzUnop0kkC49ADCKeRSqffW/hZW\n\th9jwF0g/rlGnZeO9XJYCZAroPF7MZ2W+JEXApnxf6SjA7CTKbkn34i3FolZfjvGsch\n\tTWgoHtVH7NfIoUbSpALLd0/SUy83kA/cHlF+qUcc=",
        "From": "Paul Elder <paul.elder@ideasonboard.com>",
        "To": "libcamera-devel@lists.libcamera.org",
        "Date": "Sat, 13 Jul 2019 05:16:20 +0900",
        "Message-Id": "<20190712201620.30457-4-paul.elder@ideasonboard.com>",
        "X-Mailer": "git-send-email 2.20.1",
        "In-Reply-To": "<20190712201620.30457-1-paul.elder@ideasonboard.com>",
        "References": "<20190712201620.30457-1-paul.elder@ideasonboard.com>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Subject": "[libcamera-devel] [PATCH 4/4] test: logging: move logging tests to\n\ta subdirectory",
        "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": "Fri, 12 Jul 2019 20:16:35 -0000"
    },
    "content": "Since there are two logging tests now, move them to their own\nsubdirectory. Update meson as necessary.\n\nSigned-off-by: Paul Elder <paul.elder@ideasonboard.com>\n---\n test/{log.cpp => log/log_api.cpp} |  0\n test/{ => log}/log_process.cpp    |  0\n test/log/meson.build              | 13 +++++++++++++\n test/meson.build                  |  3 +--\n 4 files changed, 14 insertions(+), 2 deletions(-)\n rename test/{log.cpp => log/log_api.cpp} (100%)\n rename test/{ => log}/log_process.cpp (100%)\n create mode 100644 test/log/meson.build",
    "diff": "diff --git a/test/log.cpp b/test/log/log_api.cpp\nsimilarity index 100%\nrename from test/log.cpp\nrename to test/log/log_api.cpp\ndiff --git a/test/log_process.cpp b/test/log/log_process.cpp\nsimilarity index 100%\nrename from test/log_process.cpp\nrename to test/log/log_process.cpp\ndiff --git a/test/log/meson.build b/test/log/meson.build\nnew file mode 100644\nindex 0000000..95f6c1a\n--- /dev/null\n+++ b/test/log/meson.build\n@@ -0,0 +1,13 @@\n+log_test = [\n+    ['log_api',     'log_api.cpp'],\n+    ['log_process', 'log_process.cpp'],\n+]\n+\n+foreach t : log_test\n+    exe = executable(t[0], t[1],\n+                     dependencies : libcamera_dep,\n+                     link_with : test_libraries,\n+                     include_directories : test_includes_internal)\n+\n+    test(t[0], exe, suite : 'log')\n+endforeach\ndiff --git a/test/meson.build b/test/meson.build\nindex 658f283..b2f809e 100644\n--- a/test/meson.build\n+++ b/test/meson.build\n@@ -4,6 +4,7 @@ subdir('camera')\n subdir('controls')\n subdir('ipa')\n subdir('ipc')\n+subdir('log')\n subdir('media_device')\n subdir('pipeline')\n subdir('process')\n@@ -22,8 +23,6 @@ public_tests = [\n \n internal_tests = [\n     ['camera-sensor',                   'camera-sensor.cpp'],\n-    ['log',                             'log.cpp'],\n-    ['log_process',                     'log_process.cpp'],\n     ['message',                         'message.cpp'],\n     ['signal-threads',                  'signal-threads.cpp'],\n     ['threads',                         'threads.cpp'],\n",
    "prefixes": [
        "libcamera-devel",
        "4/4"
    ]
}