Show a patch.

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

{
    "id": 22396,
    "url": "https://patchwork.libcamera.org/api/1.1/patches/22396/?format=api",
    "web_url": "https://patchwork.libcamera.org/patch/22396/",
    "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": "<20241218124555.330740-1-barnabas.pocze@ideasonboard.com>",
    "date": "2024-12-18T12:45:55",
    "name": "[libcamera-ci,v1] Eliminate duplicate keys in YAML",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "f5a03efc9ec50b556df8319a38c3c768bea511b6",
    "submitter": {
        "id": 216,
        "url": "https://patchwork.libcamera.org/api/1.1/people/216/?format=api",
        "name": "Barnabás Pőcze",
        "email": "barnabas.pocze@ideasonboard.com"
    },
    "delegate": null,
    "mbox": "https://patchwork.libcamera.org/patch/22396/mbox/",
    "series": [
        {
            "id": 4911,
            "url": "https://patchwork.libcamera.org/api/1.1/series/4911/?format=api",
            "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=4911",
            "date": "2024-12-18T12:45:55",
            "name": "[libcamera-ci,v1] Eliminate duplicate keys in YAML",
            "version": 1,
            "mbox": "https://patchwork.libcamera.org/series/4911/mbox/"
        }
    ],
    "comments": "https://patchwork.libcamera.org/api/patches/22396/comments/",
    "check": "pending",
    "checks": "https://patchwork.libcamera.org/api/patches/22396/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 C8C0EC3301\n\tfor <parsemail@patchwork.libcamera.org>;\n\tWed, 18 Dec 2024 12:46:01 +0000 (UTC)",
            "from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id B3E9468094;\n\tWed, 18 Dec 2024 13:46:00 +0100 (CET)",
            "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 DCCF867F59\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tWed, 18 Dec 2024 13:45:58 +0100 (CET)",
            "from pb-laptop.local (185.221.140.157.nat.pool.zt.hu\n\t[185.221.140.157])\n\tby perceval.ideasonboard.com (Postfix) with ESMTPSA id C994459D\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tWed, 18 Dec 2024 13:45:20 +0100 (CET)"
        ],
        "Authentication-Results": "lancelot.ideasonboard.com; dkim=pass (1024-bit key;\n\tunprotected) header.d=ideasonboard.com header.i=@ideasonboard.com\n\theader.b=\"wNzc7E6K\"; dkim-atps=neutral",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com;\n\ts=mail; t=1734525920;\n\tbh=aAWHrlINUYgTqcvEEUTDrZxSOEA1vey9IkoOUQG2OOA=;\n\th=From:To:Subject:Date:From;\n\tb=wNzc7E6K1y/8ZWAvT92PRHCWuTY4FZH+ND/0VfnPOfuZp6VM6x2ig/uD9lgvs1Czy\n\t3BfmRD91s9+fnIHHIKUm85/8/uOfwVZti8WmfNDvdyPPPi/YhtevJyhkatFWB4sZ1U\n\tutXhbbO/eCJm1AvLDfqZS1UIv6pdIURRjBh0KP0k=",
        "From": "=?utf-8?q?Barnab=C3=A1s_P=C5=91cze?= <barnabas.pocze@ideasonboard.com>",
        "To": "libcamera-devel@lists.libcamera.org",
        "Subject": "[libcamera-ci] [PATCH v1] Eliminate duplicate keys in YAML",
        "Date": "Wed, 18 Dec 2024 13:45:55 +0100",
        "Message-ID": "<20241218124555.330740-1-barnabas.pocze@ideasonboard.com>",
        "X-Mailer": "git-send-email 2.47.1",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain; charset=UTF-8",
        "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 key `artifacts` occurs twice in the `test-unit` dictionary.\nGitlab accepts this, but as if only the second occurrence was\npresent, so the meson logs are not saved as artifacts. Merge\nthe two artifact specifications to fix this.\n\nFixes: 075d5a5cd22ecd (\"Enable junit artifact generation for test-unit job\")\nSigned-off-by: Barnabás Pőcze <barnabas.pocze@ideasonboard.com>\n---\n gitlab-ci.yml | 5 ++---\n 1 file changed, 2 insertions(+), 3 deletions(-)\n\n--\n2.47.1",
    "diff": "diff --git a/gitlab-ci.yml b/gitlab-ci.yml\nindex ec19f55..48c18d5 100644\n--- a/gitlab-ci.yml\n+++ b/gitlab-ci.yml\n@@ -394,6 +394,8 @@ test-unit:\n     expire_in: 1 week\n     paths:\n       - build/meson-logs/\n+    reports:\n+      junit: build/meson-logs/testlog.junit.xml\n   variables:\n     BUILD_TYPE: debug\n     MESON_OPTIONS: >-\n@@ -408,9 +410,6 @@ test-unit:\n       -D qcam=disabled\n       -D test=true\n       -D v4l2=true\n-  artifacts:\n-    reports:\n-      junit: build/meson-logs/testlog.junit.xml\n\n test-lc-compliance:virtual:\n   extends:\n",
    "prefixes": [
        "libcamera-ci",
        "v1"
    ]
}