get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2197028,
    "url": "http://patchwork.ozlabs.org/api/patches/2197028/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/linux-gpio/patch/20260216213223.984050-1-dlechner@baylibre.com/",
    "project": {
        "id": 42,
        "url": "http://patchwork.ozlabs.org/api/projects/42/?format=api",
        "name": "Linux GPIO development",
        "link_name": "linux-gpio",
        "list_id": "linux-gpio.vger.kernel.org",
        "list_email": "linux-gpio@vger.kernel.org",
        "web_url": "",
        "scm_url": "",
        "webscm_url": "",
        "list_archive_url": "",
        "list_archive_url_format": "",
        "commit_url_format": ""
    },
    "msgid": "<20260216213223.984050-1-dlechner@baylibre.com>",
    "list_archive_url": null,
    "date": "2026-02-16T21:32:21",
    "name": "[libgpiod] dbus/data: use prefix in gpio-manager.service",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "d553a42ede36e4891649580e790579c106fcdc5d",
    "submitter": {
        "id": 87228,
        "url": "http://patchwork.ozlabs.org/api/people/87228/?format=api",
        "name": "David Lechner",
        "email": "dlechner@baylibre.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/linux-gpio/patch/20260216213223.984050-1-dlechner@baylibre.com/mbox/",
    "series": [
        {
            "id": 492355,
            "url": "http://patchwork.ozlabs.org/api/series/492355/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/linux-gpio/list/?series=492355",
            "date": "2026-02-16T21:32:21",
            "name": "[libgpiod] dbus/data: use prefix in gpio-manager.service",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/492355/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2197028/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2197028/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "\n <linux-gpio+bounces-31730-incoming=patchwork.ozlabs.org@vger.kernel.org>",
        "X-Original-To": [
            "incoming@patchwork.ozlabs.org",
            "linux-gpio@vger.kernel.org"
        ],
        "Delivered-To": "patchwork-incoming@legolas.ozlabs.org",
        "Authentication-Results": [
            "legolas.ozlabs.org;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=baylibre-com.20230601.gappssmtp.com\n header.i=@baylibre-com.20230601.gappssmtp.com header.a=rsa-sha256\n header.s=20230601 header.b=dBtpiI0v;\n\tdkim-atps=neutral",
            "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org\n (client-ip=172.234.253.10; helo=sea.lore.kernel.org;\n envelope-from=linux-gpio+bounces-31730-incoming=patchwork.ozlabs.org@vger.kernel.org;\n receiver=patchwork.ozlabs.org)",
            "smtp.subspace.kernel.org;\n\tdkim=pass (2048-bit key) header.d=baylibre-com.20230601.gappssmtp.com\n header.i=@baylibre-com.20230601.gappssmtp.com header.b=\"dBtpiI0v\"",
            "smtp.subspace.kernel.org;\n arc=none smtp.client-ip=209.85.167.171",
            "smtp.subspace.kernel.org;\n dmarc=none (p=none dis=none) header.from=baylibre.com",
            "smtp.subspace.kernel.org;\n spf=pass smtp.mailfrom=baylibre.com"
        ],
        "Received": [
            "from sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4fFGFs5Zd0z1xwF\n\tfor <incoming@patchwork.ozlabs.org>; Tue, 17 Feb 2026 08:32:33 +1100 (AEDT)",
            "from smtp.subspace.kernel.org (conduit.subspace.kernel.org\n [100.90.174.1])\n\tby sea.lore.kernel.org (Postfix) with ESMTP id 16093301D056\n\tfor <incoming@patchwork.ozlabs.org>; Mon, 16 Feb 2026 21:32:32 +0000 (UTC)",
            "from localhost.localdomain (localhost.localdomain [127.0.0.1])\n\tby smtp.subspace.kernel.org (Postfix) with ESMTP id 62BE61FDE14;\n\tMon, 16 Feb 2026 21:32:31 +0000 (UTC)",
            "from mail-oi1-f171.google.com (mail-oi1-f171.google.com\n [209.85.167.171])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))\n\t(No client certificate requested)\n\tby smtp.subspace.kernel.org (Postfix) with ESMTPS id 10A66946C\n\tfor <linux-gpio@vger.kernel.org>; Mon, 16 Feb 2026 21:32:28 +0000 (UTC)",
            "by mail-oi1-f171.google.com with SMTP id\n 5614622812f47-46392972257so2405224b6e.2\n        for <linux-gpio@vger.kernel.org>;\n Mon, 16 Feb 2026 13:32:28 -0800 (PST)",
            "from freyr.tailscale.baylibre.com\n ([2600:8803:e7e4:500:2d75:8cf2:6289:6a96])\n        by smtp.gmail.com with ESMTPSA id\n 5614622812f47-4636b0ccfe6sm10857151b6e.20.2026.02.16.13.32.26\n        (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n        Mon, 16 Feb 2026 13:32:27 -0800 (PST)"
        ],
        "ARC-Seal": "i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116;\n\tt=1771277551; cv=none;\n b=jpqzswDuiP4Xm9TietNZhGDGgYGr16d1p5u09kjENfCUrvXT28I1zRZBYEbVEY7K/g6YP4KO39NM9S0Qs8jKuz3e4K/waEFbV63oTNvBxgFovc5fcCCEO76Jdc+EIkK3EXpZkGnk9ranZxWVurft6iHwW2WZhZ9Yf4O89LO96sQ=",
        "ARC-Message-Signature": "i=1; a=rsa-sha256; d=subspace.kernel.org;\n\ts=arc-20240116; t=1771277551; c=relaxed/simple;\n\tbh=lcuxvZqEEGSeY/Dl8OTDX3hSUxmdlaFclXh7Mg4h5KM=;\n\th=From:To:Cc:Subject:Date:Message-ID:MIME-Version;\n b=RfPDd3nhVD100fRmb6qobnqNSOumOs5An3xgFPTgG/qs9yNLuKYT1kVB0cR+c+jllKZYk9MKGidEhoU1hsshoR832XeUSYhnThoesCzgpWRcguFypDr6dyuNhNmVoLQS4PWZsVdima9GuQyn0xxxj2Wo9oPRU5qnY8gEom07fjQ=",
        "ARC-Authentication-Results": "i=1; smtp.subspace.kernel.org;\n dmarc=none (p=none dis=none) header.from=baylibre.com;\n spf=pass smtp.mailfrom=baylibre.com;\n dkim=pass (2048-bit key) header.d=baylibre-com.20230601.gappssmtp.com\n header.i=@baylibre-com.20230601.gappssmtp.com header.b=dBtpiI0v;\n arc=none smtp.client-ip=209.85.167.171",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n        d=baylibre-com.20230601.gappssmtp.com; s=20230601; t=1771277548;\n x=1771882348; darn=vger.kernel.org;\n        h=content-transfer-encoding:mime-version:message-id:date:subject:cc\n         :to:from:from:to:cc:subject:date:message-id:reply-to;\n        bh=sj+HAg3jozC3YBKX+d+Ru2M2CkEERrjBRV7v2yZznso=;\n        b=dBtpiI0vam+THtjXXI0I0c9FkeXIY8L/th9BIAXv9w3A2og4OusahTTFlkf+bUhJIV\n         hzBEUmgQ3Nd/2G9SuIRVKY042cXF3S7jqUtKtsckD3P+L4TPkTZ7cG2uOmOKEFgjxmXQ\n         1w8eD1+/pisSi0/WZhdD29oiv/hGEhdhwlKc8o9DaCfsQaxWbAGlBDZSSdsoheeBIeQ+\n         vUlwL+lvpNPvLtcu40VRjoyxDjLlgXvRpHWOgkBxt4SkmwH57U1Xc0cJM5JoPoWjJtyC\n         OGn5wjIKIifgWxXqtnw6O9ft3cHyjd2f3guevK7gEXlmK/Uyxo5Tmb6FydWOAMknZxTo\n         BLHg==",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n        d=1e100.net; s=20230601; t=1771277548; x=1771882348;\n        h=content-transfer-encoding:mime-version:message-id:date:subject:cc\n         :to:from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date\n         :message-id:reply-to;\n        bh=sj+HAg3jozC3YBKX+d+Ru2M2CkEERrjBRV7v2yZznso=;\n        b=ny/eQ8HZE4rQ84jWLlm8Rh6QnC/Zic56//ANskarl+Qr5V2/KnoxIe+1i2DqnKxVg+\n         lonS4dzHSc/R8+c920Pq0sHapET25oBSoo6ftKCWIKx2ivr/dZ7tHrnqU966VWlsDQb0\n         9esQBL4pKIkMspHs9ctiLW8QW01GvzI55VQ6cGvn86IOM298P4qVEGCZur6ODfNxFSmm\n         jgxMViSlZBvClN1ZUOjTAEO4X+lYtPS9CZjLsggmW02/nua8tiDvLTNsDQXyNntB5pGP\n         xSovRoE0YTPK18sZYZ/q8YWST5XmiPIW7E/BxiMHBMBn9szc4Aji+GfgTyhNQUCELoSf\n         nuMQ==",
        "X-Gm-Message-State": "AOJu0Yzt7ZAnbeLkzqBmR9pDQqqDwhBarnHv30q6Uy9FKlWxOr42nF1W\n\tEerhJgqDtQ+lc92cPWTfuMNNKdca3I7k3gJUCOV6pxVTT7LdR5cAIReuuwzSautk5rbDv0TVt+O\n\tYeBs+",
        "X-Gm-Gg": "AZuq6aLaHyZYjwxTd62elkNptcRZ7kc46XWtXQF3pLNCrnXBcUiLqSZV3q63ydewj9L\n\tGa349WR6DI7JEg2iV5QuIIUikmcwkFP0OlyxJYrdxPOsLpJf3RXbqh2t78MoFsMOsqzBbYtrvzg\n\tv4Y1vaidK89OC8ZFJ7PjTFHdYb6M7F8SPhY/8op7UUDwNvhXgt2feEkuhrrH/99pz1XcjRwA08r\n\tgfMc7SKJUJADL+bmbYeRjUbMBZzT206bJdDJbLOus1hCHtRMZQIEjqVVlreYLEK7RDLGR3/psHF\n\tZZz00u0V5xqaDQeZ5xtziPDrt9rfdghcj+2M8g9Fx/vo3vxzf2LUYRqzz9OgHAdDlJ/aEb7vd1Z\n\tZgOEeMBqZ9ETeb4CCW3627WSQzyB7y7aTTZ8RGi4mrEsuxtIIrqqu6ExqenKXajEA7wCsFq58cL\n\tZZYde3AvY6RW4pyIrzLAIa/dVXTbW9US3/FasH0O9glDx13/JPUg==",
        "X-Received": "by 2002:a05:6808:f8f:b0:45e:a4c0:93b1 with SMTP id\n 5614622812f47-4639f191ab1mr5893058b6e.31.1771277548016;\n        Mon, 16 Feb 2026 13:32:28 -0800 (PST)",
        "From": "David Lechner <dlechner@baylibre.com>",
        "To": "linux-gpio@vger.kernel.org",
        "Cc": "David Lechner <dlechner@baylibre.com>",
        "Subject": "[libgpiod][PATCH] dbus/data: use prefix in gpio-manager.service",
        "Date": "Mon, 16 Feb 2026 15:32:21 -0600",
        "Message-ID": "<20260216213223.984050-1-dlechner@baylibre.com>",
        "X-Mailer": "git-send-email 2.43.0",
        "Precedence": "bulk",
        "X-Mailing-List": "linux-gpio@vger.kernel.org",
        "List-Id": "<linux-gpio.vger.kernel.org>",
        "List-Subscribe": "<mailto:linux-gpio+subscribe@vger.kernel.org>",
        "List-Unsubscribe": "<mailto:linux-gpio+unsubscribe@vger.kernel.org>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit"
    },
    "content": "Change the gpio-manager.service file to gpio-manager.service.in template\nand use @prefix@ in the ExecStart line. This way, when `make install` is\nused to install the service file, it points to the same path where the\nbinary is actually installed.\n\nCloses: https://github.com/brgl/libgpiod/issues/173\nSigned-off-by: David Lechner <dlechner@baylibre.com>\n---\n configure.ac                                                | 1 +\n dbus/data/.gitignore                                        | 4 ++++\n dbus/data/{gpio-manager.service => gpio-manager.service.in} | 2 +-\n 3 files changed, 6 insertions(+), 1 deletion(-)\n create mode 100644 dbus/data/.gitignore\n rename dbus/data/{gpio-manager.service => gpio-manager.service.in} (96%)",
    "diff": "diff --git a/configure.ac b/configure.ac\nindex ffa712e..61a010f 100644\n--- a/configure.ac\n+++ b/configure.ac\n@@ -325,6 +325,7 @@ if test \"x$with_systemd\" = xtrue\n then\n \tPKG_CHECK_VAR([systemdsystemunitdir], [systemd], [systemdsystemunitdir], [],\n \t\t      AC_MSG_ERROR([systemdsystemunitdir not found - needed to enable systemd support]))\n+\tAC_CONFIG_FILES([dbus/data/gpio-manager.service])\n fi\n \n if test \"x$cross_compiling\" = xno\ndiff --git a/dbus/data/.gitignore b/dbus/data/.gitignore\nnew file mode 100644\nindex 0000000..94e73a8\n--- /dev/null\n+++ b/dbus/data/.gitignore\n@@ -0,0 +1,4 @@\n+# SPDX-License-Identifier: CC0-1.0\n+# SPDX-FileCopyrightText: 2026 David Lechner <dlechner@baylibre.com>\n+\n+gpio-manager.service\ndiff --git a/dbus/data/gpio-manager.service b/dbus/data/gpio-manager.service.in\nsimilarity index 96%\nrename from dbus/data/gpio-manager.service\nrename to dbus/data/gpio-manager.service.in\nindex f93a6fa..f4270e1 100644\n--- a/dbus/data/gpio-manager.service\n+++ b/dbus/data/gpio-manager.service.in\n@@ -7,7 +7,7 @@ Description=Centralized GPIO manager daemon\n [Service]\n Type=dbus\n BusName=io.gpiod1\n-ExecStart=/usr/bin/gpio-manager\n+ExecStart=@prefix@/bin/gpio-manager\n Restart=always\n User=gpio-manager\n \n",
    "prefixes": [
        "libgpiod"
    ]
}