get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 66119,
    "url": "http://patches.dpdk.org/api/patches/66119/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20200228041904.195597-2-ruifeng.wang@arm.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": "<20200228041904.195597-2-ruifeng.wang@arm.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20200228041904.195597-2-ruifeng.wang@arm.com",
    "date": "2020-02-28T04:19:03",
    "name": "[v2,1/2] ci: allow multiple test suites to run in one job",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "48c266e2f29c03aeadfb750c095dd7a31b52e354",
    "submitter": {
        "id": 1198,
        "url": "http://patches.dpdk.org/api/people/1198/?format=api",
        "name": "Ruifeng Wang",
        "email": "ruifeng.wang@arm.com"
    },
    "delegate": {
        "id": 24651,
        "url": "http://patches.dpdk.org/api/users/24651/?format=api",
        "username": "dmarchand",
        "first_name": "David",
        "last_name": "Marchand",
        "email": "david.marchand@redhat.com"
    },
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/20200228041904.195597-2-ruifeng.wang@arm.com/mbox/",
    "series": [
        {
            "id": 8719,
            "url": "http://patches.dpdk.org/api/series/8719/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=8719",
            "date": "2020-02-28T04:19:02",
            "name": "no-huge test suite",
            "version": 2,
            "mbox": "http://patches.dpdk.org/series/8719/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/66119/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/66119/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 dpdk.org (dpdk.org [92.243.14.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id 338DBA0564;\n\tFri, 28 Feb 2020 05:19:34 +0100 (CET)",
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 9DBBF1BFF0;\n\tFri, 28 Feb 2020 05:19:31 +0100 (CET)",
            "from foss.arm.com (foss.arm.com [217.140.110.172])\n by dpdk.org (Postfix) with ESMTP id 49B601BFE8\n for <dev@dpdk.org>; Fri, 28 Feb 2020 05:19:29 +0100 (CET)",
            "from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14])\n by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id C139331B;\n Thu, 27 Feb 2020 20:19:28 -0800 (PST)",
            "from net-arm-thunderx2-02.shanghai.arm.com\n (net-arm-thunderx2-02.shanghai.arm.com [10.169.40.171])\n by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 7EDA53F73B;\n Thu, 27 Feb 2020 20:19:25 -0800 (PST)"
        ],
        "From": "Ruifeng Wang <ruifeng.wang@arm.com>",
        "To": "aconole@redhat.com, maicolgabriel@hotmail.com, bruce.richardson@intel.com",
        "Cc": "dev@dpdk.org, david.marchand@redhat.com, gavin.hu@arm.com,\n honnappa.nagarahalli@arm.com, juraj.linkes@pantheon.tech, nd@arm.com,\n Ruifeng Wang <ruifeng.wang@arm.com>",
        "Date": "Fri, 28 Feb 2020 12:19:03 +0800",
        "Message-Id": "<20200228041904.195597-2-ruifeng.wang@arm.com>",
        "X-Mailer": "git-send-email 2.17.1",
        "In-Reply-To": "<20200228041904.195597-1-ruifeng.wang@arm.com>",
        "References": "<20200225073236.135581-1-ruifeng.wang@arm.com>\n <20200228041904.195597-1-ruifeng.wang@arm.com>",
        "Subject": "[dpdk-dev] [PATCH v2 1/2] ci: allow multiple test suites to run in\n\tone job",
        "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 <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": "Run multiple test suites in a single Travis CI job helps to avoid\njob bloating and save build time.\n\nWhen RUN_TESTS is set, TEST_SUITES includes a list of suites that\nneed to run in the job, otherwise fast-tests is run by default.\n\nSuggested-by: David Marchand <david.marchand@redhat.com>\nSigned-off-by: Ruifeng Wang <ruifeng.wang@arm.com>\nReviewed-by: Gavin Hu <gavin.hu@arm.com>\n---\n .ci/linux-build.sh |  4 +++-\n .ci/linux-setup.sh | 16 +++++++++++-----\n 2 files changed, 14 insertions(+), 6 deletions(-)",
    "diff": "diff --git a/.ci/linux-build.sh b/.ci/linux-build.sh\nindex d500c4c00..ddb925418 100755\n--- a/.ci/linux-build.sh\n+++ b/.ci/linux-build.sh\n@@ -90,5 +90,7 @@ if [ \"$ABI_CHECKS\" = \"1\" ]; then\n fi\n \n if [ \"$RUN_TESTS\" = \"1\" ]; then\n-    sudo meson test -C build --suite fast-tests -t 3\n+    for testsuite in ${TEST_SUITES:-fast-tests}; do\n+        sudo meson test -C build --suite $testsuite -t 3\n+    done\n fi\ndiff --git a/.ci/linux-setup.sh b/.ci/linux-setup.sh\nindex 2b07d1e0b..4c5ddeb96 100755\n--- a/.ci/linux-setup.sh\n+++ b/.ci/linux-setup.sh\n@@ -3,10 +3,16 @@\n # need to install as 'root' since some of the unit tests won't run without it\n sudo python3 -m pip install --upgrade 'meson==0.47.1'\n \n-# skip hugepage settings if tests will not run\n+# set up hugepage if fast-tests suite (default) will run\n if [ \"$RUN_TESTS\" = \"1\" ]; then\n-    # setup hugepages\n-    cat /proc/meminfo\n-    sudo sh -c 'echo 1024 > /proc/sys/vm/nr_hugepages'\n-    cat /proc/meminfo\n+    for testsuite in ${TEST_SUITES:-fast-tests}; do\n+        if [ \"$testsuite\" = \"fast-tests\" ]; then\n+            # setup hugepages\n+            cat /proc/meminfo\n+            sudo sh -c 'echo 1024 > /proc/sys/vm/nr_hugepages'\n+            cat /proc/meminfo\n+\n+            break\n+        fi\n+    done\n fi\n",
    "prefixes": [
        "v2",
        "1/2"
    ]
}