get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 128894,
    "url": "http://patchwork.dpdk.org/api/patches/128894/?format=api",
    "web_url": "http://patchwork.dpdk.org/project/dpdk/patch/20230621170058.2740340-3-david.marchand@redhat.com/",
    "project": {
        "id": 1,
        "url": "http://patchwork.dpdk.org/api/projects/1/?format=api",
        "name": "DPDK",
        "link_name": "dpdk",
        "list_id": "dev.dpdk.org",
        "list_email": "dev@dpdk.org",
        "web_url": "http://core.dpdk.org",
        "scm_url": "git://dpdk.org/dpdk",
        "webscm_url": "http://git.dpdk.org/dpdk",
        "list_archive_url": "https://inbox.dpdk.org/dev",
        "list_archive_url_format": "https://inbox.dpdk.org/dev/{}",
        "commit_url_format": ""
    },
    "msgid": "<20230621170058.2740340-3-david.marchand@redhat.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20230621170058.2740340-3-david.marchand@redhat.com",
    "date": "2023-06-21T17:00:56",
    "name": "[v4,2/4] build: rename enabled libraries list",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "367ba0c11106dbaec66b3d0254735f5e95123525",
    "submitter": {
        "id": 1173,
        "url": "http://patchwork.dpdk.org/api/people/1173/?format=api",
        "name": "David Marchand",
        "email": "david.marchand@redhat.com"
    },
    "delegate": {
        "id": 1,
        "url": "http://patchwork.dpdk.org/api/users/1/?format=api",
        "username": "tmonjalo",
        "first_name": "Thomas",
        "last_name": "Monjalon",
        "email": "thomas@monjalon.net"
    },
    "mbox": "http://patchwork.dpdk.org/project/dpdk/patch/20230621170058.2740340-3-david.marchand@redhat.com/mbox/",
    "series": [
        {
            "id": 28608,
            "url": "http://patchwork.dpdk.org/api/series/28608/?format=api",
            "web_url": "http://patchwork.dpdk.org/project/dpdk/list/?series=28608",
            "date": "2023-06-21T17:00:54",
            "name": "Select optional libraries",
            "version": 4,
            "mbox": "http://patchwork.dpdk.org/series/28608/mbox/"
        }
    ],
    "comments": "http://patchwork.dpdk.org/api/patches/128894/comments/",
    "check": "success",
    "checks": "http://patchwork.dpdk.org/api/patches/128894/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<dev-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 C783A42D16;\n\tWed, 21 Jun 2023 19:01:23 +0200 (CEST)",
            "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id BA4E541151;\n\tWed, 21 Jun 2023 19:01:23 +0200 (CEST)",
            "from us-smtp-delivery-124.mimecast.com\n (us-smtp-delivery-124.mimecast.com [170.10.133.124])\n by mails.dpdk.org (Postfix) with ESMTP id 1E7C5410FD\n for <dev@dpdk.org>; Wed, 21 Jun 2023 19:01:22 +0200 (CEST)",
            "from mimecast-mx02.redhat.com (mx3-rdu2.redhat.com\n [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS\n (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id\n us-mta-436-_rjWd5NGOnWmQ4jqOID0Ow-1; Wed, 21 Jun 2023 13:01:17 -0400",
            "from smtp.corp.redhat.com (int-mx04.intmail.prod.int.rdu2.redhat.com\n [10.11.54.4])\n (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))\n (No client certificate requested)\n by mimecast-mx02.redhat.com (Postfix) with ESMTPS id EF03A3C1C4C4;\n Wed, 21 Jun 2023 17:01:14 +0000 (UTC)",
            "from dmarchan.redhat.com (unknown [10.45.224.210])\n by smtp.corp.redhat.com (Postfix) with ESMTP id 73E462017DE2;\n Wed, 21 Jun 2023 17:01:13 +0000 (UTC)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com;\n s=mimecast20190719; t=1687366881;\n h=from:from:reply-to:subject:subject:date:date:message-id:message-id:\n to:to:cc:cc:mime-version:mime-version:content-type:content-type:\n content-transfer-encoding:content-transfer-encoding:\n in-reply-to:in-reply-to:references:references;\n bh=4V84BtOLgiedfTig4+zUYUsMzYbXZp8iMRv/6VTQRH8=;\n b=d4qsU5P6h5KT69PG6LZBMRVhjwjlTVfHSAr0Bi47O2VPF2qO+Edc7ip0cbqPhVdQrZSafh\n oFOB5u6HKx7UJjhAMJFNwqBPHVVHjuwLSI4twEm50KptEfhcomozXLhNWpoS5PAwNmGPrZ\n vkTqdmos58AyyDjNWI/M4/2ua/C3Ppk=",
        "X-MC-Unique": "_rjWd5NGOnWmQ4jqOID0Ow-1",
        "From": "David Marchand <david.marchand@redhat.com>",
        "To": "dev@dpdk.org",
        "Cc": "thomas@monjalon.net, bluca@debian.org, tredaelli@redhat.com,\n i.maximets@ovn.org, james.r.harris@intel.com, mohammed@hawari.fr,\n Bruce Richardson <bruce.richardson@intel.com>",
        "Subject": "[PATCH v4 2/4] build: rename enabled libraries list",
        "Date": "Wed, 21 Jun 2023 19:00:56 +0200",
        "Message-Id": "<20230621170058.2740340-3-david.marchand@redhat.com>",
        "In-Reply-To": "<20230621170058.2740340-1-david.marchand@redhat.com>",
        "References": "<20211117112847.7362-6-david.marchand@redhat.com>\n <20230621170058.2740340-1-david.marchand@redhat.com>",
        "MIME-Version": "1.0",
        "X-Scanned-By": "MIMEDefang 3.1 on 10.11.54.4",
        "X-Mimecast-Spam-Score": "0",
        "X-Mimecast-Originator": "redhat.com",
        "Content-Transfer-Encoding": "8bit",
        "Content-Type": "text/plain; charset=\"US-ASCII\"; x-default=true",
        "X-BeenThere": "dev@dpdk.org",
        "X-Mailman-Version": "2.1.29",
        "Precedence": "list",
        "List-Id": "DPDK patches and discussions <dev.dpdk.org>",
        "List-Unsubscribe": "<https://mails.dpdk.org/options/dev>,\n <mailto:dev-request@dpdk.org?subject=unsubscribe>",
        "List-Archive": "<http://mails.dpdk.org/archives/dev/>",
        "List-Post": "<mailto:dev@dpdk.org>",
        "List-Help": "<mailto:dev-request@dpdk.org?subject=help>",
        "List-Subscribe": "<https://mails.dpdk.org/listinfo/dev>,\n <mailto:dev-request@dpdk.org?subject=subscribe>",
        "Errors-To": "dev-bounces@dpdk.org"
    },
    "content": "The enabled_libs variable is renamed and moved to the top level\nmeson.build file, for sake of consistency wrt to drivers and\napplications similar variables.\n\nSigned-off-by: David Marchand <david.marchand@redhat.com>\n---\n app/test/meson.build           | 2 +-\n buildtools/chkincs/meson.build | 2 +-\n lib/meson.build                | 4 +---\n meson.build                    | 3 ++-\n 4 files changed, 5 insertions(+), 6 deletions(-)",
    "diff": "diff --git a/app/test/meson.build b/app/test/meson.build\nindex d0fabcbb8b..f3217ae577 100644\n--- a/app/test/meson.build\n+++ b/app/test/meson.build\n@@ -152,7 +152,7 @@ test_sources = files(\n         'virtual_pmd.c',\n )\n \n-test_deps = enabled_libs\n+test_deps = dpdk_libs_enabled\n # as well as libs, the pci and vdev bus drivers are needed for a lot of tests\n test_deps += ['bus_pci', 'bus_vdev']\n \ndiff --git a/buildtools/chkincs/meson.build b/buildtools/chkincs/meson.build\nindex 378c2f19ef..f2dadcae18 100644\n--- a/buildtools/chkincs/meson.build\n+++ b/buildtools/chkincs/meson.build\n@@ -22,7 +22,7 @@ sources += gen_c_files.process(dpdk_chkinc_headers)\n # so we always include them in deps list\n deps = [get_variable('shared_rte_bus_vdev'), get_variable('shared_rte_bus_pci')]\n # add the rest of the libs to the dependencies\n-foreach l:enabled_libs\n+foreach l:dpdk_libs_enabled\n     deps += get_variable('shared_rte_' + l)\n endforeach\n \ndiff --git a/lib/meson.build b/lib/meson.build\nindex f5c8a70a1d..363a4fd79f 100644\n--- a/lib/meson.build\n+++ b/lib/meson.build\n@@ -112,8 +112,6 @@ if cc.has_argument('-Wno-format-truncation')\n     default_cflags += '-Wno-format-truncation'\n endif\n \n-enabled_libs = [] # used to print summary at the end\n-\n foreach l:libraries\n     build = true\n     reason = '<unknown reason>' # set if build == false to explain why\n@@ -180,7 +178,7 @@ foreach l:libraries\n         continue\n     endif\n \n-    enabled_libs += name\n+    dpdk_libs_enabled += name\n     dpdk_conf.set('RTE_LIB_' + name.to_upper(), 1)\n     install_headers(headers)\n     install_headers(indirect_headers)\ndiff --git a/meson.build b/meson.build\nindex 992ca91e88..39cb73846d 100644\n--- a/meson.build\n+++ b/meson.build\n@@ -44,6 +44,7 @@ dpdk_extra_ldflags = []\n dpdk_libs_deprecated = []\n dpdk_apps_disabled = []\n dpdk_libs_disabled = []\n+dpdk_libs_enabled = []\n dpdk_drvs_disabled = []\n testpmd_drivers_sources = []\n testpmd_drivers_deps = []\n@@ -134,7 +135,7 @@ message(output_message + '\\n')\n output_message = '\\n=================\\nLibraries Enabled\\n=================\\n'\n output_message += '\\nlibs:\\n\\t'\n output_count = 0\n-foreach lib:enabled_libs\n+foreach lib:dpdk_libs_enabled\n     output_message += lib + ', '\n     output_count += 1\n     if output_count == 8\n",
    "prefixes": [
        "v4",
        "2/4"
    ]
}