get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 75940,
    "url": "http://patches.dpdk.org/api/patches/75940/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/1598360684-8975-5-git-send-email-juraj.linkes@pantheon.tech/",
    "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": "<1598360684-8975-5-git-send-email-juraj.linkes@pantheon.tech>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1598360684-8975-5-git-send-email-juraj.linkes@pantheon.tech",
    "date": "2020-08-25T13:04:43",
    "name": "[v8,4/5] ci: add aarch64 -> aarch32 cross compiling jobs",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "839c4063bf3bed1b4c65feb90b022602ac30551b",
    "submitter": {
        "id": 1626,
        "url": "http://patches.dpdk.org/api/people/1626/?format=api",
        "name": "Juraj Linkeš",
        "email": "juraj.linkes@pantheon.tech"
    },
    "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/1598360684-8975-5-git-send-email-juraj.linkes@pantheon.tech/mbox/",
    "series": [
        {
            "id": 11781,
            "url": "http://patches.dpdk.org/api/series/11781/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=11781",
            "date": "2020-08-25T13:04:40",
            "name": "aarch64 -> aarch32 cross compilation support",
            "version": 8,
            "mbox": "http://patches.dpdk.org/series/11781/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/75940/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/75940/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 7212EA04B1;\n\tTue, 25 Aug 2020 15:05:29 +0200 (CEST)",
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 0BB9B1C0B4;\n\tTue, 25 Aug 2020 15:04:56 +0200 (CEST)",
            "from lb.pantheon.sk (lb.pantheon.sk [46.229.239.20])\n by dpdk.org (Postfix) with ESMTP id 002B65B30\n for <dev@dpdk.org>; Tue, 25 Aug 2020 15:04:50 +0200 (CEST)",
            "from localhost (localhost [127.0.0.1])\n by lb.pantheon.sk (Postfix) with ESMTP id 4F2BF970AF;\n Tue, 25 Aug 2020 15:04:50 +0200 (CEST)",
            "from lb.pantheon.sk ([127.0.0.1])\n by localhost (lb.pantheon.sk [127.0.0.1]) (amavisd-new, port 10024)\n with ESMTP id 1m_PE1i_eGhK; Tue, 25 Aug 2020 15:04:48 +0200 (CEST)",
            "from service-node1.lab.pantheon.local (unknown [46.229.239.141])\n by lb.pantheon.sk (Postfix) with ESMTP id 2BCBF970B2;\n Tue, 25 Aug 2020 15:04:46 +0200 (CEST)"
        ],
        "X-Virus-Scanned": "amavisd-new at siecit.sk",
        "From": "=?utf-8?q?Juraj_Linke=C5=A1?= <juraj.linkes@pantheon.tech>",
        "To": "bruce.richardson@intel.com, aconole@redhat.com, maicolgabriel@hotmail.com",
        "Cc": "dev@dpdk.org,\n\tjuraj.linkes@pantheon.tech",
        "Date": "Tue, 25 Aug 2020 15:04:43 +0200",
        "Message-Id": "<1598360684-8975-5-git-send-email-juraj.linkes@pantheon.tech>",
        "X-Mailer": "git-send-email 2.7.4",
        "In-Reply-To": "<1598360684-8975-1-git-send-email-juraj.linkes@pantheon.tech>",
        "References": "<1597401092-13713-1-git-send-email-juraj.linkes@pantheon.tech>\n <1598360684-8975-1-git-send-email-juraj.linkes@pantheon.tech>",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain; charset=UTF-8",
        "Content-Transfer-Encoding": "8bit",
        "Subject": "[dpdk-dev] [PATCH v8 4/5] ci: add aarch64 -> aarch32 cross\n\tcompiling jobs",
        "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 two jobs (static and shared libs), both building on aarch64 and\nproducing 32-bit arm binaries executable on armv8-a, but not armv7.\nDo not run tests in these jobs.\n\nSigned-off-by: Juraj Linkeš <juraj.linkes@pantheon.tech>\n---\n .ci/linux-build.sh |  7 ++++++-\n .travis.yml        | 19 +++++++++++++++++++\n 2 files changed, 25 insertions(+), 1 deletion(-)",
    "diff": "diff --git a/.ci/linux-build.sh b/.ci/linux-build.sh\nindex d079801d7..c042b065c 100755\n--- a/.ci/linux-build.sh\n+++ b/.ci/linux-build.sh\n@@ -33,6 +33,11 @@ if [ \"$AARCH64\" = \"1\" ]; then\n     OPTS=\"$OPTS --cross-file config/arm/arm64_armv8_linux_gcc\"\n fi\n \n+if [ \"$AARCH32\" = \"1\" ]; then\n+    # convert the arch specifier\n+    OPTS=\"$OPTS --cross-file config/arm/arm32_armv8a_linux_gcc\"\n+fi\n+\n if [ \"$BUILD_DOCS\" = \"1\" ]; then\n     OPTS=\"$OPTS -Denable_docs=true\"\n fi\n@@ -53,7 +58,7 @@ OPTS=\"$OPTS --buildtype=debugoptimized\"\n meson build --werror $OPTS\n ninja -C build\n \n-if [ \"$AARCH64\" != \"1\" ]; then\n+if file build/app/dpdk-testpmd | sed 's/-/_/g' | grep -q \"$(uname -m)\"; then\n     devtools/test-null.sh\n fi\n \ndiff --git a/.travis.yml b/.travis.yml\nindex d6eeab371..850faaac1 100644\n--- a/.travis.yml\n+++ b/.travis.yml\n@@ -18,6 +18,10 @@ _aarch64_packages: &aarch64_packages\n   - *required_packages\n   - [gcc-aarch64-linux-gnu, libc6-dev-arm64-cross, pkg-config-aarch64-linux-gnu]\n \n+_arm_32b_packages: &arm_32b_packages\n+  - *required_packages\n+  - [gcc-arm-linux-gnueabihf, libc6-dev-armhf-cross, pkg-config-arm-linux-gnueabihf]\n+\n _build_32b_packages: &build_32b_packages\n   - *required_packages\n   - [gcc-multilib]\n@@ -98,6 +102,21 @@ jobs:\n         packages:\n           - *required_packages\n           - *doc_packages\n+  # aarch64 cross-compiling aarch32 jobs\n+  - env: DEF_LIB=\"shared\" AARCH32=1\n+    arch: arm64\n+    compiler: gcc\n+    addons:\n+      apt:\n+        packages:\n+          - *arm_32b_packages\n+  - env: DEF_LIB=\"static\" AARCH32=1\n+    arch: arm64\n+    compiler: gcc\n+    addons:\n+      apt:\n+        packages:\n+          - *arm_32b_packages\n   # aarch64 clang jobs\n   - env: DEF_LIB=\"static\"\n     arch: arm64\n",
    "prefixes": [
        "v8",
        "4/5"
    ]
}