get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 50299,
    "url": "http://patches.dpdk.org/api/patches/50299/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20190213115452.2264-1-bluca@debian.org/",
    "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": "<20190213115452.2264-1-bluca@debian.org>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20190213115452.2264-1-bluca@debian.org",
    "date": "2019-02-13T11:54:48",
    "name": "[v7,1/5] build: bump minimum Meson version to 0.47.1",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "7d7ae9db9ac6819899d890e9b3324f05aab49c6e",
    "submitter": {
        "id": 823,
        "url": "http://patches.dpdk.org/api/people/823/?format=api",
        "name": "Luca Boccassi",
        "email": "bluca@debian.org"
    },
    "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/20190213115452.2264-1-bluca@debian.org/mbox/",
    "series": [
        {
            "id": 3442,
            "url": "http://patches.dpdk.org/api/series/3442/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=3442",
            "date": "2019-02-13T11:54:48",
            "name": "[v7,1/5] build: bump minimum Meson version to 0.47.1",
            "version": 7,
            "mbox": "http://patches.dpdk.org/series/3442/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/50299/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/50299/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<dev-bounces@dpdk.org>",
        "X-Original-To": "patchwork@dpdk.org",
        "Delivered-To": "patchwork@dpdk.org",
        "Received": [
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 7A7F61B1F1;\n\tWed, 13 Feb 2019 12:55:38 +0100 (CET)",
            "from mail-wr1-f66.google.com (mail-wr1-f66.google.com\n\t[209.85.221.66]) by dpdk.org (Postfix) with ESMTP id 6B8BF1B163\n\tfor <dev@dpdk.org>; Wed, 13 Feb 2019 12:55:37 +0100 (CET)",
            "by mail-wr1-f66.google.com with SMTP id v16so2131100wrn.11\n\tfor <dev@dpdk.org>; Wed, 13 Feb 2019 03:55:37 -0800 (PST)",
            "from localhost ([2a01:4b00:f419:6f00:c934:57a:5587:ac0c])\n\tby smtp.gmail.com with ESMTPSA id\n\ta1sm5392410wrq.96.2019.02.13.03.55.35\n\t(version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256);\n\tWed, 13 Feb 2019 03:55:35 -0800 (PST)"
        ],
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to\n\t:references:mime-version:content-transfer-encoding;\n\tbh=jbOPMZL9GH9UROtm++9rpn0BNrVshHNy0zIfPYwu5WI=;\n\tb=dDjlrJxrb3sNr8qi68OJTdFUbmlYGAnAxFGlhkNuHeJiJAUZLj8mT678hoL5S/j8Pp\n\t+LsYgH+zRjFrfcHhnABheV2T3Qxb9pWa1/lb7bkHiu8LDu+/5SkySiK3pXM0pdNbM2th\n\tcdMT14/4y+uec0bM9Fw3lPhM8gM8ZWCzdx92/NynDlrDthvnrwU4Lq3PRR7dCHxFudAb\n\tzv5UG7Lrfo12L3QDV+CsPJpRG78r75smIWIFsJ238uq3P5uj9kSAX6dblogmONsOd9/t\n\tgEcthX1V7OpX229MtEXq++VNFIxKVU4e4VC7Rhlw/0hksIzsUPIiHlG9c6slsIHjzkQr\n\tcpjQ==",
        "X-Gm-Message-State": "AHQUAuYKVoHtuoh02KbzuNUGt3F5MJjusjROIeMQITebh+RrpBSMhbrd\n\tI5dtTCejKiK6KGdyqzXoCz10/NUq",
        "X-Google-Smtp-Source": "AHgI3IZ+3irBBIW4EqONjN8CfLJBTLiiFeoihz/HQJSDN8oZX+AoHt1I4fb6H6yTtY8Yn1qzYc5SFg==",
        "X-Received": "by 2002:adf:a104:: with SMTP id o4mr103692wro.244.1550058936670; \n\tWed, 13 Feb 2019 03:55:36 -0800 (PST)",
        "From": "Luca Boccassi <bluca@debian.org>",
        "To": "dev@dpdk.org",
        "Cc": "bruce.richardson@intel.com,\n\tLuca Boccassi <bluca@debian.org>",
        "Date": "Wed, 13 Feb 2019 11:54:48 +0000",
        "Message-Id": "<20190213115452.2264-1-bluca@debian.org>",
        "X-Mailer": "git-send-email 2.20.1",
        "In-Reply-To": "<20190103175725.5836-1-bluca@debian.org>",
        "References": "<20190103175725.5836-1-bluca@debian.org>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Subject": "[dpdk-dev] [PATCH v7 1/5] build: bump minimum Meson version to\n\t0.47.1",
        "X-BeenThere": "dev@dpdk.org",
        "X-Mailman-Version": "2.1.15",
        "Precedence": "list",
        "List-Id": "DPDK patches and discussions <dev.dpdk.org>",
        "List-Unsubscribe": "<https://mails.dpdk.org/options/dev>,\n\t<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\t<mailto:dev-request@dpdk.org?subject=subscribe>",
        "Errors-To": "dev-bounces@dpdk.org",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>"
    },
    "content": "Meson 0.47.1 fixed a bug that is difficult to work around, which causes\nthe linker flag of dependencies to be repeated dozens of times, which\ncauses issues especially when using the built-in dependency() API.\nBump the minimum version and remove obsolete version checks.\n\nSigned-off-by: Luca Boccassi <bluca@debian.org>\nAcked-by: Bruce Richardson <bruce.richardson@intel.com>\n---\nv2: bump meson minimum version to 0.47.1 to avoid meson bug\nv3: split away first independent patch from series\nv4: add acked-by\n\n drivers/meson.build      |  5 +----\n kernel/linux/meson.build |  6 +-----\n meson.build              | 35 +++++++++++++++--------------------\n 3 files changed, 17 insertions(+), 29 deletions(-)",
    "diff": "diff --git a/drivers/meson.build b/drivers/meson.build\nindex c3c66bbc0..e37d4fe2b 100644\n--- a/drivers/meson.build\n+++ b/drivers/meson.build\n@@ -148,8 +148,5 @@ foreach class:driver_classes\n \t\tendif # build\n \tendforeach\n \n-\tif meson.version().version_compare('>=0.47')\n-\t\t# prior to 0.47, set_variable can't take array params\n-\t\tset_variable(class + '_drivers', class_drivers)\n-\tendif\n+\tset_variable(class + '_drivers', class_drivers)\n endforeach\ndiff --git a/kernel/linux/meson.build b/kernel/linux/meson.build\nindex 5b7ec06e1..d751d939f 100644\n--- a/kernel/linux/meson.build\n+++ b/kernel/linux/meson.build\n@@ -27,11 +27,7 @@ else\n \tmake_returncode = run_command('make', '-sC', kernel_dir,\n \t\t\t'kernelversion').returncode()\n \tif make_returncode != 0\n-\t\tif meson.version().version_compare('>=0.44')\n-\t\t\twarning(WARN_NO_HEADERS)\n-\t\telse\n-\t\t\tmessage('WARNING: ' + WARN_NO_HEADERS)\n-\t\tendif\n+\t\twarning(WARN_NO_HEADERS)\n \telse # returncode == 0\n \n # DO ACTUAL MODULE BUILDING\ndiff --git a/meson.build b/meson.build\nindex 7f5e8674b..e9793b127 100644\n--- a/meson.build\n+++ b/meson.build\n@@ -5,7 +5,7 @@ project('DPDK', 'C',\n \tversion: '19.05.0-rc0',\n \tlicense: 'BSD',\n \tdefault_options: ['buildtype=release', 'default_library=static'],\n-\tmeson_version: '>= 0.41'\n+\tmeson_version: '>= 0.47.1'\n )\n \n # set up some global vars for compiler, platform, configuration, etc.\n@@ -105,23 +105,18 @@ foreach lib:enabled_libs\n endforeach\n message(output_message + '\\n')\n \n-\n-# prior to 0.47 set_variable didn't work with arrays, so we can't\n-# track driver lists easily\n-if meson.version().version_compare('>=0.47')\n-\toutput_message = '\\n===============\\nDrivers Enabled\\n===============\\n'\n-\tforeach class:driver_classes\n-\t\tclass_drivers = get_variable(class + '_drivers')\n-\t\toutput_message += '\\n' + class + ':\\n\\t'\n-\t\toutput_count = 0\n-\t\tforeach drv:class_drivers\n-\t\t\toutput_message += drv + ', '\n-\t\t\toutput_count += 1\n-\t\t\tif output_count == 8\n-\t\t\t\toutput_message += '\\n\\t'\n-\t\t\t\toutput_count = 0\n-\t\t\tendif\n-\t\tendforeach\n+output_message = '\\n===============\\nDrivers Enabled\\n===============\\n'\n+foreach class:driver_classes\n+\tclass_drivers = get_variable(class + '_drivers')\n+\toutput_message += '\\n' + class + ':\\n\\t'\n+\toutput_count = 0\n+\tforeach drv:class_drivers\n+\t\toutput_message += drv + ', '\n+\t\toutput_count += 1\n+\t\tif output_count == 8\n+\t\t\toutput_message += '\\n\\t'\n+\t\t\toutput_count = 0\n+\t\tendif\n \tendforeach\n-\tmessage(output_message + '\\n')\n-endif\n+endforeach\n+message(output_message + '\\n')\n",
    "prefixes": [
        "v7",
        "1/5"
    ]
}