get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 105792,
    "url": "http://patches.dpdk.org/api/patches/105792/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20220113173918.2700651-3-bruce.richardson@intel.com/",
    "project": {
        "id": 1,
        "url": "http://patches.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": "<20220113173918.2700651-3-bruce.richardson@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20220113173918.2700651-3-bruce.richardson@intel.com",
    "date": "2022-01-13T17:39:14",
    "name": "[2/6] app/test: link unit test binary against all available libs",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "833738d492ac5dfe19d6b44ef4485bd1c1c6caf7",
    "submitter": {
        "id": 20,
        "url": "http://patches.dpdk.org/api/people/20/?format=api",
        "name": "Bruce Richardson",
        "email": "bruce.richardson@intel.com"
    },
    "delegate": {
        "id": 1,
        "url": "http://patches.dpdk.org/api/users/1/?format=api",
        "username": "tmonjalo",
        "first_name": "Thomas",
        "last_name": "Monjalon",
        "email": "thomas@monjalon.net"
    },
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/20220113173918.2700651-3-bruce.richardson@intel.com/mbox/",
    "series": [
        {
            "id": 21161,
            "url": "http://patches.dpdk.org/api/series/21161/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=21161",
            "date": "2022-01-13T17:39:12",
            "name": "allow more DPDK libraries to be disabled on build",
            "version": 1,
            "mbox": "http://patches.dpdk.org/series/21161/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/105792/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/105792/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 314C5A0093;\n\tThu, 13 Jan 2022 18:40:02 +0100 (CET)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 400A942756;\n\tThu, 13 Jan 2022 18:39:54 +0100 (CET)",
            "from mga14.intel.com (mga14.intel.com [192.55.52.115])\n by mails.dpdk.org (Postfix) with ESMTP id 487D14274F\n for <dev@dpdk.org>; Thu, 13 Jan 2022 18:39:52 +0100 (CET)",
            "from orsmga006.jf.intel.com ([10.7.209.51])\n by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 13 Jan 2022 09:39:40 -0800",
            "from silpixa00399126.ir.intel.com ([10.237.223.86])\n by orsmga006.jf.intel.com with ESMTP; 13 Jan 2022 09:39:39 -0800"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple;\n d=intel.com; i=@intel.com; q=dns/txt; s=Intel;\n t=1642095592; x=1673631592;\n h=from:to:cc:subject:date:message-id:in-reply-to:\n references:mime-version:content-transfer-encoding;\n bh=JMuKGNsQo3A6isSEkOXWGQCdmkuWWKTt8RBy6Zq1l7E=;\n b=IlG/1bDzEhuLkr1KaJhPP383e66A11GdOfqnyGPJmmr/vKApHcAmJAZW\n rFSonWu1v0YUtr5SVKC4vREfG9u9V5VSxM0Az3sMfgE+EUqDnhw9iXs1i\n FLh7oV3Vaflhn4oWZlcErWLaZ3GwJdHy6Fq/oCfuj3a7dDCKKsEpNmOkC\n 8cd9b9H494XJOv+dSet/dqhoJii/zgIneDhd1714y7D5ny1qvG+qhL2tF\n kOxc4prEDqon95q+r9j5I19omM96frxKBlB5hbrJZ8yfmAkf9IOPN6HdW\n BSVNxcHuER9PhJMPyZYhRK4GwRy05xViXd/30X0ZEqjcZ2jMSfAQ2By7E w==;",
        "X-IronPort-AV": [
            "E=McAfee;i=\"6200,9189,10226\"; a=\"244275473\"",
            "E=Sophos;i=\"5.88,286,1635231600\"; d=\"scan'208\";a=\"244275473\"",
            "E=Sophos;i=\"5.88,286,1635231600\"; d=\"scan'208\";a=\"475418210\""
        ],
        "X-ExtLoop1": "1",
        "From": "Bruce Richardson <bruce.richardson@intel.com>",
        "To": "dev@dpdk.org",
        "Cc": "Bruce Richardson <bruce.richardson@intel.com>",
        "Subject": "[PATCH 2/6] app/test: link unit test binary against all available\n libs",
        "Date": "Thu, 13 Jan 2022 17:39:14 +0000",
        "Message-Id": "<20220113173918.2700651-3-bruce.richardson@intel.com>",
        "X-Mailer": "git-send-email 2.32.0",
        "In-Reply-To": "<20220113173918.2700651-1-bruce.richardson@intel.com>",
        "References": "<20220113173918.2700651-1-bruce.richardson@intel.com>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "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": "Rather than maintaining a list of the libraries the unit tests need, and\nhaving to conditionally include/omit optional libs from the list, we can\njust link against all available libraries, simplifying the code\nconsiderably.\n\nSigned-off-by: Bruce Richardson <bruce.richardson@intel.com>\n---\n app/test/meson.build | 47 +-------------------------------------------\n 1 file changed, 1 insertion(+), 46 deletions(-)",
    "diff": "diff --git a/app/test/meson.build b/app/test/meson.build\nindex 344a609a4d..9919de4307 100644\n--- a/app/test/meson.build\n+++ b/app/test/meson.build\n@@ -157,39 +157,7 @@ test_sources = files(\n         'virtual_pmd.c',\n )\n \n-test_deps = [\n-        'acl',\n-        'bus_pci',\n-        'bus_vdev',\n-        'bpf',\n-        'cfgfile',\n-        'cmdline',\n-        'cryptodev',\n-        'distributor',\n-        'dmadev',\n-        'efd',\n-        'ethdev',\n-        'eventdev',\n-        'fib',\n-        'flow_classify',\n-        'graph',\n-        'hash',\n-        'ipsec',\n-        'lpm',\n-        'member',\n-        'node',\n-        'pipeline',\n-        'port',\n-        'rawdev',\n-        'rcu',\n-        'reorder',\n-        'rib',\n-        'ring',\n-        'security',\n-        'stack',\n-        'telemetry',\n-        'timer',\n-]\n+test_deps = enabled_libs\n \n # Each test is marked with flag true/false\n # to indicate whether it can run in no-huge mode.\n@@ -380,7 +348,6 @@ if dpdk_conf.has('RTE_EVENT_SKELETON')\n     test_deps += 'event_skeleton'\n endif\n if dpdk_conf.has('RTE_LIB_METRICS')\n-    test_deps += 'metrics'\n     test_sources += ['test_metrics.c']\n     fast_tests += [['metrics_autotest', true]]\n endif\n@@ -410,17 +377,14 @@ if dpdk_conf.has('RTE_NET_RING')\n     perf_test_names += 'ring_pmd_perf_autotest'\n     fast_tests += [['event_eth_tx_adapter_autotest', false]]\n     if dpdk_conf.has('RTE_LIB_BITRATESTATS')\n-        test_deps += 'bitratestats'\n         test_sources += 'test_bitratestats.c'\n         fast_tests += [['bitratestats_autotest', true]]\n     endif\n     if dpdk_conf.has('RTE_LIB_LATENCYSTATS')\n-        test_deps += 'latencystats'\n         test_sources += 'test_latencystats.c'\n         fast_tests += [['latencystats_autotest', true]]\n     endif\n     if dpdk_conf.has('RTE_LIB_PDUMP')\n-        test_deps += 'pdump'\n         test_sources += 'test_pdump.c'\n         fast_tests += [['pdump_autotest', true]]\n     endif\n@@ -434,18 +398,10 @@ endif\n if dpdk_conf.has('RTE_HAS_LIBPCAP')\n     ext_deps += pcap_dep\n     if dpdk_conf.has('RTE_LIB_PCAPNG')\n-        test_deps += 'pcapng'\n         test_sources += 'test_pcapng.c'\n     endif\n endif\n \n-if dpdk_conf.has('RTE_LIB_POWER')\n-    test_deps += 'power'\n-endif\n-if dpdk_conf.has('RTE_LIB_KNI')\n-    test_deps += 'kni'\n-endif\n-\n if cc.has_argument('-Wno-format-truncation')\n     cflags += '-Wno-format-truncation'\n endif\n@@ -462,7 +418,6 @@ if dpdk_conf.has('RTE_LIB_COMPRESSDEV')\n     if compress_test_dep.found()\n         test_dep_objs += compress_test_dep\n         test_sources += 'test_compressdev.c'\n-        test_deps += 'compressdev'\n         fast_tests += [['compressdev_autotest', false]]\n     endif\n endif\n",
    "prefixes": [
        "2/6"
    ]
}