get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 90363,
    "url": "https://patches.dpdk.org/api/patches/90363/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/20210401115009.1063844-7-bruce.richardson@intel.com/",
    "project": {
        "id": 1,
        "url": "https://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": "<20210401115009.1063844-7-bruce.richardson@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20210401115009.1063844-7-bruce.richardson@intel.com",
    "date": "2021-04-01T11:50:01",
    "name": "[RFC,06/14] build: reduce indentation in app build spec",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "10e897b25df7c23f8a7733fde62436909a295ce0",
    "submitter": {
        "id": 20,
        "url": "https://patches.dpdk.org/api/people/20/?format=api",
        "name": "Bruce Richardson",
        "email": "bruce.richardson@intel.com"
    },
    "delegate": {
        "id": 1,
        "url": "https://patches.dpdk.org/api/users/1/?format=api",
        "username": "tmonjalo",
        "first_name": "Thomas",
        "last_name": "Monjalon",
        "email": "thomas@monjalon.net"
    },
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/20210401115009.1063844-7-bruce.richardson@intel.com/mbox/",
    "series": [
        {
            "id": 16057,
            "url": "https://patches.dpdk.org/api/series/16057/?format=api",
            "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=16057",
            "date": "2021-04-01T11:49:55",
            "name": "Build file update proposals",
            "version": 1,
            "mbox": "https://patches.dpdk.org/series/16057/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/90363/comments/",
    "check": "success",
    "checks": "https://patches.dpdk.org/api/patches/90363/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 EC756A0548;\n\tThu,  1 Apr 2021 13:51:09 +0200 (CEST)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id B47A61410EC;\n\tThu,  1 Apr 2021 13:50:34 +0200 (CEST)",
            "from mga18.intel.com (mga18.intel.com [134.134.136.126])\n by mails.dpdk.org (Postfix) with ESMTP id C14B71410B9\n for <dev@dpdk.org>; Thu,  1 Apr 2021 13:50:32 +0200 (CEST)",
            "from fmsmga003.fm.intel.com ([10.253.24.29])\n by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 01 Apr 2021 04:50:32 -0700",
            "from silpixa00399126.ir.intel.com ([10.237.223.116])\n by FMSMGA003.fm.intel.com with ESMTP; 01 Apr 2021 04:50:30 -0700"
        ],
        "IronPort-SDR": [
            "\n bTnUYpxtlY2USr21zUG++w1o3LqToaI3JR3XvFarZiyd4glwLPdtPNA4N2pcOidX9EKTzyKNU2\n siwUbMPcEUQg==",
            "\n WiA/exCAyn2RdngsL0uyy8AuENHdnJQOAt5cWRT9JtrXjkcKEOwhtQEMs34gR9L0z6tOsDiVQw\n 6oe6WTCODHnw=="
        ],
        "X-IronPort-AV": [
            "E=McAfee;i=\"6000,8403,9940\"; a=\"179760784\"",
            "E=Sophos;i=\"5.81,296,1610438400\"; d=\"scan'208\";a=\"179760784\"",
            "E=Sophos;i=\"5.81,296,1610438400\"; d=\"scan'208\";a=\"446062650\""
        ],
        "X-ExtLoop1": "1",
        "From": "Bruce Richardson <bruce.richardson@intel.com>",
        "To": "dev@dpdk.org",
        "Cc": "thomas@monjalon.net, david.marchand@redhat.com, bluca@debian.org,\n Bruce Richardson <bruce.richardson@intel.com>",
        "Date": "Thu,  1 Apr 2021 12:50:01 +0100",
        "Message-Id": "<20210401115009.1063844-7-bruce.richardson@intel.com>",
        "X-Mailer": "git-send-email 2.27.0",
        "In-Reply-To": "<20210401115009.1063844-1-bruce.richardson@intel.com>",
        "References": "<20210401115009.1063844-1-bruce.richardson@intel.com>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Subject": "[dpdk-dev] [RFC PATCH 06/14] build: reduce indentation in app build\n spec",
        "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",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>"
    },
    "content": "As with the lib and drivers directories, we can use \"continue\" keyword to\nreduce the indentation level of the majority of the foreach block. At the\nsame time, we can also replace tab indentation with spaces.\n\nSigned-off-by: Bruce Richardson <bruce.richardson@intel.com>\n---\n app/meson.build | 100 ++++++++++++++++++++++++------------------------\n 1 file changed, 50 insertions(+), 50 deletions(-)",
    "diff": "diff --git a/app/meson.build b/app/meson.build\nindex 50a53dbde8..dcffda9d90 100644\n--- a/app/meson.build\n+++ b/app/meson.build\n@@ -2,71 +2,71 @@\n # Copyright(c) 2017-2019 Intel Corporation\n \n if is_windows\n-\tsubdir_done()\n+    subdir_done()\n endif\n \n apps = [\n-\t'pdump',\n-\t'proc-info',\n-\t'test-acl',\n-\t'test-bbdev',\n-\t'test-cmdline',\n-\t'test-compress-perf',\n-\t'test-crypto-perf',\n-\t'test-eventdev',\n-\t'test-fib',\n-\t'test-flow-perf',\n-\t'test-pipeline',\n-\t'test-pmd',\n-\t'test-regex',\n-\t'test-sad']\n+    'pdump',\n+    'proc-info',\n+    'test-acl',\n+    'test-bbdev',\n+    'test-cmdline',\n+    'test-compress-perf',\n+    'test-crypto-perf',\n+    'test-eventdev',\n+    'test-fib',\n+    'test-flow-perf',\n+    'test-pipeline',\n+    'test-pmd',\n+    'test-regex',\n+    'test-sad']\n \n default_cflags = machine_args + ['-DALLOW_EXPERIMENTAL_API']\n default_ldflags = []\n if get_option('default_library') == 'static' and not is_windows\n-\tdefault_ldflags += ['-Wl,--export-dynamic']\n+    default_ldflags += ['-Wl,--export-dynamic']\n endif\n \n foreach app:apps\n-\tbuild = true\n-\tname = app\n-\tsources = []\n-\tincludes = []\n-\tcflags = default_cflags\n-\tldflags = default_ldflags\n-\tobjs = [] # other object files to link against, used e.g. for\n-\t          # instruction-set optimized versions of code\n+    build = true\n+    name = app\n+    sources = []\n+    includes = []\n+    cflags = default_cflags\n+    ldflags = default_ldflags\n+    objs = [] # other object files to link against, used e.g. for\n+              # instruction-set optimized versions of code\n \n-\t# use \"deps\" for internal DPDK dependencies, and \"ext_deps\" for\n-\t# external package/library requirements\n-\text_deps = []\n-\tdeps = []\n+    # use \"deps\" for internal DPDK dependencies, and \"ext_deps\" for\n+    # external package/library requirements\n+    ext_deps = []\n+    deps = []\n \n-\tsubdir(name)\n+    subdir(name)\n \n-\tif build\n-\t\tdep_objs = []\n-\t\tforeach d:deps\n-\t\t\tdep_objs += get_variable(get_option('default_library')\n-\t\t\t\t + '_rte_' + d)\n-\t\tendforeach\n+    if not build\n+        continue\n+    endif\n \n-\t\tlink_libs = []\n-\t\tif get_option('default_library') == 'static'\n-\t\t\tlink_libs = dpdk_static_libraries + dpdk_drivers\n-\t\tendif\n+    dep_objs = []\n+    foreach d:deps\n+        dep_objs += get_variable(get_option('default_library') + '_rte_' + d)\n+    endforeach\n \n-\t\texecutable('dpdk-' + name,\n-\t\t\t\tsources,\n-\t\t\t\tc_args: cflags,\n-\t\t\t\tlink_args: ldflags,\n-\t\t\t\tlink_whole: link_libs,\n-\t\t\t\tdependencies: dep_objs,\n-\t\t\t\tinclude_directories: includes,\n-\t\t\t\tinstall_rpath: join_paths(get_option('prefix'),\n-\t\t\t\t\t\t driver_install_path),\n-\t\t\t\tinstall: true)\n-\tendif\n+    link_libs = []\n+    if get_option('default_library') == 'static'\n+        link_libs = dpdk_static_libraries + dpdk_drivers\n+    endif\n+\n+    executable('dpdk-' + name,\n+            sources,\n+            c_args: cflags,\n+            link_args: ldflags,\n+            link_whole: link_libs,\n+            dependencies: dep_objs,\n+            include_directories: includes,\n+            install_rpath: join_paths(get_option('prefix'), driver_install_path),\n+            install: true)\n endforeach\n \n # special case the autotests\n",
    "prefixes": [
        "RFC",
        "06/14"
    ]
}