get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 130276,
    "url": "https://patches.dpdk.org/api/patches/130276/?format=api",
    "web_url": "https://patches.dpdk.org/project/ci/patch/20230814151609.3077077-8-bruce.richardson@intel.com/",
    "project": {
        "id": 5,
        "url": "https://patches.dpdk.org/api/projects/5/?format=api",
        "name": "CI",
        "link_name": "ci",
        "list_id": "ci.dpdk.org",
        "list_email": "ci@dpdk.org",
        "web_url": "",
        "scm_url": "git://dpdk.org/tools/dpdk-ci",
        "webscm_url": "https://git.dpdk.org/tools/dpdk-ci/",
        "list_archive_url": "https://inbox.dpdk.org/ci",
        "list_archive_url_format": "https://inbox.dpdk.org/ci/{}",
        "commit_url_format": ""
    },
    "msgid": "<20230814151609.3077077-8-bruce.richardson@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/ci/20230814151609.3077077-8-bruce.richardson@intel.com",
    "date": "2023-08-14T15:16:08",
    "name": "[v2,7/8] build: make most device classes optional",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "e2df3e28c6d2220556a58af5b0d27e2d2737b30e",
    "submitter": {
        "id": 20,
        "url": "https://patches.dpdk.org/api/people/20/?format=api",
        "name": "Bruce Richardson",
        "email": "bruce.richardson@intel.com"
    },
    "delegate": null,
    "mbox": "https://patches.dpdk.org/project/ci/patch/20230814151609.3077077-8-bruce.richardson@intel.com/mbox/",
    "series": [
        {
            "id": 29217,
            "url": "https://patches.dpdk.org/api/series/29217/?format=api",
            "web_url": "https://patches.dpdk.org/project/ci/list/?series=29217",
            "date": "2023-08-14T15:16:01",
            "name": "expand list of optional libraries",
            "version": 2,
            "mbox": "https://patches.dpdk.org/series/29217/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/130276/comments/",
    "check": "pending",
    "checks": "https://patches.dpdk.org/api/patches/130276/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<ci-bounces@dpdk.org>",
        "X-Original-To": "patchwork@inbox.dpdk.org",
        "Delivered-To": "patchwork@inbox.dpdk.org",
        "Received": [
            "from mails.dpdk.org (mails.dpdk.org [217.70.189.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id DE54143064;\n\tMon, 14 Aug 2023 17:16:39 +0200 (CEST)",
            "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 037AC432DA;\n\tMon, 14 Aug 2023 17:16:33 +0200 (CEST)",
            "from mgamail.intel.com (mgamail.intel.com [134.134.136.20])\n by mails.dpdk.org (Postfix) with ESMTP id 85B1243298;\n Mon, 14 Aug 2023 17:16:29 +0200 (CEST)",
            "from fmsmga004.fm.intel.com ([10.253.24.48])\n by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 14 Aug 2023 08:16:28 -0700",
            "from silpixa00401385.ir.intel.com ([10.237.214.14])\n by fmsmga004.fm.intel.com with ESMTP; 14 Aug 2023 08:16:27 -0700"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple;\n d=intel.com; i=@intel.com; q=dns/txt; s=Intel;\n t=1692026190; x=1723562190;\n h=from:to:cc:subject:date:message-id:in-reply-to:\n references:mime-version:content-transfer-encoding;\n bh=/aubjjtmNTHfcLoV01FtIX5ii38xHE8a204GN0Tde/Q=;\n b=GD+KeMreBWByE6us5jAeO+tj5Z4ivb/4Ga4jEhV3HAMsxbuGOrfCfRKT\n ppqLSsSWD90Fe2lFVdYx7r1v0EwfTrxk/G+rMDY0vZmSIFrWbpK2wHiyX\n TC4MC/8NKAuWFQz7bh4iX00CfYuuMy20xzVFu1gub2gdV7hzurz/V+3hO\n 8SFzdpu2eRDadY8VF9GGhK2h7tIIIvQsvAMFt2Fv6AuEyqfLKs9ZJr8oq\n 1GZ/1QKWrJBhwha/36cf55awNk74Qi5XyfX6Nbi7jP2yXhnzZS+A4Xar2\n qQgr48DPENPt40xCaJZpuXxFepiz2c4RncTMXb6E3RNqCIVvBAEqCP+b3 g==;",
        "X-IronPort-AV": [
            "E=McAfee;i=\"6600,9927,10802\"; a=\"362211304\"",
            "E=Sophos;i=\"6.01,172,1684825200\"; d=\"scan'208\";a=\"362211304\"",
            "E=McAfee;i=\"6600,9927,10802\"; a=\"803499980\"",
            "E=Sophos;i=\"6.01,172,1684825200\"; d=\"scan'208\";a=\"803499980\""
        ],
        "X-ExtLoop1": "1",
        "From": "Bruce Richardson <bruce.richardson@intel.com>",
        "To": "dev@dpdk.org",
        "Cc": "ci@dpdk.org, Bruce Richardson <bruce.richardson@intel.com>, =?utf-8?q?Mo?=\n\t=?utf-8?q?rten_Br=C3=B8rup?= <mb@smartsharesystems.com>",
        "Subject": "[PATCH v2 7/8] build: make most device classes optional",
        "Date": "Mon, 14 Aug 2023 16:16:08 +0100",
        "Message-Id": "<20230814151609.3077077-8-bruce.richardson@intel.com>",
        "X-Mailer": "git-send-email 2.39.2",
        "In-Reply-To": "<20230814151609.3077077-1-bruce.richardson@intel.com>",
        "References": "<20230721115125.55137-1-bruce.richardson@intel.com>\n <20230814151609.3077077-1-bruce.richardson@intel.com>",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain; charset=UTF-8",
        "Content-Transfer-Encoding": "8bit",
        "X-BeenThere": "ci@dpdk.org",
        "X-Mailman-Version": "2.1.29",
        "Precedence": "list",
        "List-Id": "DPDK CI discussions <ci.dpdk.org>",
        "List-Unsubscribe": "<https://mails.dpdk.org/options/ci>,\n <mailto:ci-request@dpdk.org?subject=unsubscribe>",
        "List-Archive": "<http://mails.dpdk.org/archives/ci/>",
        "List-Post": "<mailto:ci@dpdk.org>",
        "List-Help": "<mailto:ci-request@dpdk.org?subject=help>",
        "List-Subscribe": "<https://mails.dpdk.org/listinfo/ci>,\n <mailto:ci-request@dpdk.org?subject=subscribe>",
        "Errors-To": "ci-bounces@dpdk.org"
    },
    "content": "Apart from ethdev and cryptodev, which have lots of components and tests\nwhich depend on them, we can make the device class libraries optional\nwithout too much work.\n\nThis patch marks:\n* bbdev,\n* compressdev,\n* dmadev,\n* eventdev,\n* mldev,\n* rawdev,\n* regexdev\noptional, and ensures that DPDK - including tests - can be built with\nthese components disabled.\n\nSigned-off-by: Bruce Richardson <bruce.richardson@intel.com>\nAcked-by: Morten Brørup <mb@smartsharesystems.com>\n---\n lib/meson.build | 7 +++++++\n 1 file changed, 7 insertions(+)",
    "diff": "diff --git a/lib/meson.build b/lib/meson.build\nindex 92cbd6bb66..1a78c8c984 100644\n--- a/lib/meson.build\n+++ b/lib/meson.build\n@@ -67,8 +67,12 @@ libraries = [\n ]\n \n optional_libs = [\n+        'bbdev',\n         'bitratestats',\n         'cfgfile',\n+        'compressdev',\n+        'dmadev',\n+        'eventdev',\n         'gpudev',\n         'graph',\n         'gro',\n@@ -76,11 +80,14 @@ optional_libs = [\n         'jobstats',\n         'latencystats',\n         'metrics',\n+        'mldev',\n         'node',\n         'pdump',\n         'pipeline',\n         'port',\n         'power',\n+        'rawdev',\n+        'regexdev',\n         'table',\n         'vhost',\n ]\n",
    "prefixes": [
        "v2",
        "7/8"
    ]
}