get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 64537,
    "url": "http://patches.dpdk.org/api/patches/64537/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20200113062606.93249-3-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": "<20200113062606.93249-3-ruifeng.wang@arm.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20200113062606.93249-3-ruifeng.wang@arm.com",
    "date": "2020-01-13T06:26:06",
    "name": "[v5,2/2] ci: add travis ci support for native aarch64",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "4d538ebee60fe123aff2925fe6a6b08755cee1f8",
    "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/20200113062606.93249-3-ruifeng.wang@arm.com/mbox/",
    "series": [
        {
            "id": 8073,
            "url": "http://patches.dpdk.org/api/series/8073/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=8073",
            "date": "2020-01-13T06:26:04",
            "name": "add travis ci support for native aarch64",
            "version": 5,
            "mbox": "http://patches.dpdk.org/series/8073/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/64537/comments/",
    "check": "fail",
    "checks": "http://patches.dpdk.org/api/patches/64537/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 2F695A04F0;\n\tMon, 13 Jan 2020 07:26:34 +0100 (CET)",
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id B132A1D616;\n\tMon, 13 Jan 2020 07:26:30 +0100 (CET)",
            "from foss.arm.com (foss.arm.com [217.140.110.172])\n by dpdk.org (Postfix) with ESMTP id 14CA91D616\n for <dev@dpdk.org>; Mon, 13 Jan 2020 07:26:30 +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 9359D1063;\n Sun, 12 Jan 2020 22:26:29 -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 B484D3F534;\n Sun, 12 Jan 2020 22:29:55 -0800 (PST)"
        ],
        "From": "Ruifeng Wang <ruifeng.wang@arm.com>",
        "To": "aconole@redhat.com, maicolgabriel@hotmail.com, thomas@monjalon.net,\n ferruh.yigit@intel.com, arybchenko@solarflare.com",
        "Cc": "dev@dpdk.org, david.marchand@redhat.com, gavin.hu@arm.com,\n honnappa.nagarahalli@arm.com, nd@arm.com,\n Ruifeng Wang <ruifeng.wang@arm.com>",
        "Date": "Mon, 13 Jan 2020 14:26:06 +0800",
        "Message-Id": "<20200113062606.93249-3-ruifeng.wang@arm.com>",
        "X-Mailer": "git-send-email 2.17.1",
        "In-Reply-To": "<20200113062606.93249-1-ruifeng.wang@arm.com>",
        "References": "<20191218053902.193417-1-ruifeng.wang@arm.com>\n <20200113062606.93249-1-ruifeng.wang@arm.com>",
        "Subject": "[dpdk-dev] [PATCH v5 2/2] ci: add travis ci support for native\n\taarch64",
        "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": "Add Travis compilation jobs for native aarch64. gcc/clang compilations\nfor static/shared libraries are added.\n\nSome limitations for current aarch64 Travis support:\n1. Container is used. Huge page is not available due to security reason.\n2. Missing kernel header package in Xenial distribution.\n\nSolutions to address the limitations:\n1. Not to add unit test for now. And run tests with no-huge in future.\n2. Use Bionic distribution for all aarch64 jobs.\n\nSigned-off-by: Ruifeng Wang <ruifeng.wang@arm.com>\nReviewed-by: Gavin Hu <gavin.hu@arm.com>\nAcked-by: Aaron Conole <aconole@redhat.com>\n---\n .ci/linux-setup.sh | 11 +++++++----\n .travis.yml        | 42 +++++++++++++++++++++++++++++++++++++++++-\n 2 files changed, 48 insertions(+), 5 deletions(-)",
    "diff": "diff --git a/.ci/linux-setup.sh b/.ci/linux-setup.sh\nindex dfb9d4a20..f93e67664 100755\n--- a/.ci/linux-setup.sh\n+++ b/.ci/linux-setup.sh\n@@ -3,7 +3,10 @@\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\n \n-# setup hugepages\n-cat /proc/meminfo\n-sudo sh -c 'echo 1024 > /proc/sys/vm/nr_hugepages'\n-cat /proc/meminfo\n+# skip hugepage settings if tests will not 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+fi\ndiff --git a/.travis.yml b/.travis.yml\nindex 8f90d06f2..980c7605d 100644\n--- a/.travis.yml\n+++ b/.travis.yml\n@@ -115,6 +115,46 @@ matrix:\n       apt:\n         packages:\n           - *extra_packages\n-\n+  - env: DEF_LIB=\"static\"\n+    arch: arm64\n+    compiler: gcc\n+    dist: bionic\n+    addons:\n+      apt:\n+        packages:\n+          - *required_packages\n+  - env: DEF_LIB=\"shared\"\n+    arch: arm64\n+    compiler: gcc\n+    dist: bionic\n+    addons:\n+      apt:\n+        packages:\n+          - *required_packages\n+  - env: DEF_LIB=\"static\"\n+    arch: arm64\n+    dist: bionic\n+    compiler: clang\n+    addons:\n+      apt:\n+        packages:\n+          - *required_packages\n+  - env: DEF_LIB=\"shared\"\n+    arch: arm64\n+    dist: bionic\n+    compiler: clang\n+    addons:\n+      apt:\n+        packages:\n+          - *required_packages\n+  - env: DEF_LIB=\"shared\" OPTS=\"-Denable_kmods=false\" BUILD_DOCS=1\n+    arch: arm64\n+    compiler: gcc\n+    dist: bionic\n+    addons:\n+      apt:\n+        packages:\n+          - *required_packages\n+          - *doc_packages\n \n script: ./.ci/${TRAVIS_OS_NAME}-build.sh\n",
    "prefixes": [
        "v5",
        "2/2"
    ]
}