get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 65369,
    "url": "http://patches.dpdk.org/api/patches/65369/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20200130160009.6549-4-david.marchand@redhat.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": "<20200130160009.6549-4-david.marchand@redhat.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20200130160009.6549-4-david.marchand@redhat.com",
    "date": "2020-01-30T16:00:08",
    "name": "[v3,3/4] build: test meson installation",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "9863ebc6dea23788d14cee488a10460cf0388c9e",
    "submitter": {
        "id": 1173,
        "url": "http://patches.dpdk.org/api/people/1173/?format=api",
        "name": "David Marchand",
        "email": "david.marchand@redhat.com"
    },
    "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/20200130160009.6549-4-david.marchand@redhat.com/mbox/",
    "series": [
        {
            "id": 8357,
            "url": "http://patches.dpdk.org/api/series/8357/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=8357",
            "date": "2020-01-30T16:00:06",
            "name": "add ABI checks",
            "version": 3,
            "mbox": "http://patches.dpdk.org/series/8357/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/65369/comments/",
    "check": "fail",
    "checks": "http://patches.dpdk.org/api/patches/65369/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 C2311A0524;\n\tThu, 30 Jan 2020 17:01:04 +0100 (CET)",
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id ADBCE1C029;\n\tThu, 30 Jan 2020 17:01:04 +0100 (CET)",
            "from us-smtp-delivery-1.mimecast.com (us-smtp-2.mimecast.com\n [207.211.31.81]) by dpdk.org (Postfix) with ESMTP id D922D1C022\n for <dev@dpdk.org>; Thu, 30 Jan 2020 17:01:02 +0100 (CET)",
            "from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com\n [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id\n us-mta-45-KjnsTwHQPCiaCGceA9ipNA-1; Thu, 30 Jan 2020 11:00:42 -0500",
            "from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com\n [10.5.11.22])\n (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))\n (No client certificate requested)\n by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 5322C10CE781;\n Thu, 30 Jan 2020 16:00:39 +0000 (UTC)",
            "from dmarchan.remote.csb (ovpn-204-128.brq.redhat.com\n [10.40.204.128])\n by smtp.corp.redhat.com (Postfix) with ESMTP id D0AA01001B28;\n Thu, 30 Jan 2020 16:00:32 +0000 (UTC)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com;\n s=mimecast20190719; t=1580400062;\n h=from:from:reply-to:subject:subject:date:date:message-id:message-id:\n to:to:cc:cc:mime-version:mime-version:content-type:content-type:\n content-transfer-encoding:content-transfer-encoding:\n in-reply-to:in-reply-to:references:references;\n bh=np7YNU+ENDAKqazblDLTRtV88zJHSCule8mpuFq5310=;\n b=K+P4M43QLGFUE7oH7YUSk/Zofv732dLvHM86sSAyXOJXaAUB7rqs1Pw8tCvAZonysS7lGH\n XcOTX3rzZVOwiQpNe/LowxSf/31wmDEBdpQrMBU1kS3PuYQGiPNPOkYd7r6qTO32IDY8r9\n Ic9MVEaaYk+kj5l/Gd+oYIh1OkLKwxo=",
        "From": "David Marchand <david.marchand@redhat.com>",
        "To": "dev@dpdk.org",
        "Cc": "thomas@monjalon.net, bruce.richardson@intel.com, kevin.laatz@intel.com,\n aconole@redhat.com, nhorman@tuxdriver.com, akhil.goyal@nxp.com,\n anoobj@marvell.com, bluca@debian.org, fiona.trahe@intel.com,\n ferruh.yigit@intel.com, Michael Santana <maicolgabriel@hotmail.com>",
        "Date": "Thu, 30 Jan 2020 17:00:08 +0100",
        "Message-Id": "<20200130160009.6549-4-david.marchand@redhat.com>",
        "In-Reply-To": "<20200130160009.6549-1-david.marchand@redhat.com>",
        "References": "<20191220152058.10739-1-david.marchand@redhat.com>\n <20200130160009.6549-1-david.marchand@redhat.com>",
        "MIME-Version": "1.0",
        "X-Scanned-By": "MIMEDefang 2.84 on 10.5.11.22",
        "X-MC-Unique": "KjnsTwHQPCiaCGceA9ipNA-1",
        "X-Mimecast-Spam-Score": "0",
        "X-Mimecast-Originator": "redhat.com",
        "Content-Type": "text/plain; charset=US-ASCII",
        "Content-Transfer-Encoding": "quoted-printable",
        "Subject": "[dpdk-dev] [PATCH v3 3/4] build: test meson installation",
        "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": "Let's test installing with meson as part of Travis and the\ndevtools/test-meson-builds.sh script.\nThe resulting headers and binaries make more sense to run checks\nagainst, since they should be the same as what the final users get.\n\ntest-null.sh is now called on an installed testpmd.\n\nThe (future) ABI compatibility checks will also need to filter its report\nagainst installed public headers.\n\nSigned-off-by: David Marchand <david.marchand@redhat.com>\nAcked-by: Luca Boccassi <bluca@debian.org>\n---\nChangelog since v2:\n- removed forced --prefix= parameter in test-meson-builds.sh to avoid\n  breakage of existing environments,\n- simplified install with no special verbose mode,\n- removed ldd call in test-null.sh since the main user of this script\n  finds this change too much for his eyes,\n\n---\n .ci/linux-build.sh            |  6 +++++-\n devtools/test-meson-builds.sh | 21 +++++++++++----------\n 2 files changed, 16 insertions(+), 11 deletions(-)",
    "diff": "diff --git a/.ci/linux-build.sh b/.ci/linux-build.sh\nindex ccc3a7ccd..e61aa2b0a 100755\n--- a/.ci/linux-build.sh\n+++ b/.ci/linux-build.sh\n@@ -29,11 +29,15 @@ if [ \"$BUILD_32BIT\" = \"1\" ]; then\n fi\n \n OPTS=\"$OPTS --default-library=$DEF_LIB\"\n+OPTS=\"$OPTS --prefix=/usr -Dlibdir=lib\"\n meson build --werror -Dexamples=all $OPTS\n ninja -C build\n+DESTDIR=$(pwd)/install ninja -C build install\n \n if [ \"$AARCH64\" != \"1\" ]; then\n-    devtools/test-null.sh\n+    export LD_LIBRARY_PATH=$(pwd)/install/usr/lib\n+    devtools/test-null.sh install/usr/bin/dpdk-testpmd\n+    unset LD_LIBRARY_PATH\n fi\n \n if [ \"$RUN_TESTS\" = \"1\" ]; then\ndiff --git a/devtools/test-meson-builds.sh b/devtools/test-meson-builds.sh\nindex fb6c404e5..747fb4a1a 100755\n--- a/devtools/test-meson-builds.sh\n+++ b/devtools/test-meson-builds.sh\n@@ -66,7 +66,7 @@ config () # <dir> <builddir> <meson options>\n \tif [ -f \"$builddir/build.ninja\" ] ; then\n \t\treturn\n \tfi\n-\toptions=\"--werror -Dexamples=all\"\n+\toptions=\"--werror -Dexamples=all -Dlibdir=lib\"\n \tfor option in $DPDK_MESON_OPTIONS ; do\n \t\toptions=\"$options -D$option\"\n \tdone\n@@ -75,7 +75,7 @@ config () # <dir> <builddir> <meson options>\n \t$MESON $options $dir $builddir\n }\n \n-compile () # <builddir>\n+compile () # <builddir> <installdir>\n {\n \tbuilddir=$1\n \tif [ -n \"$TEST_MESON_BUILD_VERY_VERBOSE\" ] ; then\n@@ -90,6 +90,9 @@ compile () # <builddir>\n \t\techo \"$ninja_cmd -C $builddir\"\n \t\t$ninja_cmd -C $builddir\n \tfi\n+\trm -rf $2\n+\techo \"DESTDIR=$2 $ninja_cmd -C $builddir install\"\n+\tDESTDIR=$2 $ninja_cmd -C $builddir install\n }\n \n build () # <directory> <target compiler> <meson options>\n@@ -102,7 +105,8 @@ build () # <directory> <target compiler> <meson options>\n \tcommand -v ${CC##* } >/dev/null 2>&1 || return 0\n \tload_env $targetcc || return 0\n \tconfig $srcdir $builds_dir/$targetdir $*\n-\tcompile $builds_dir/$targetdir\n+\tcompile $builds_dir/$targetdir \\\n+\t\t$(readlink -f $builds_dir/$targetdir/install)\n }\n \n if [ \"$1\" = \"-vv\" ] ; then\n@@ -134,7 +138,7 @@ ok=$(cc -march=$default_machine -E - < /dev/null > /dev/null 2>&1 || echo false)\n if [ \"$ok\" = \"false\" ] ; then\n \tdefault_machine='corei7'\n fi\n-build build-x86-default cc -Dlibdir=lib -Dmachine=$default_machine $use_shared\n+build build-x86-default cc -Dmachine=$default_machine $use_shared\n \n c=aarch64-linux-gnu-gcc\n # generic armv8a with clang as host compiler\n@@ -150,12 +154,9 @@ for f in $srcdir/config/arm/arm64_[bdo]*gcc ; do\n \tunset CC\n done\n \n-# Test installation of the x86-default target, to be used for checking\n-# the sample apps build using the pkg-config file for cflags and libs\n-build_path=$(readlink -f $builds_dir/build-x86-default)\n-export DESTDIR=$build_path/install-root\n-$ninja_cmd -C $build_path install\n-\n+# Use the x86-default target, to check the sample apps build using the\n+# pkg-config file for cflags and libs\n+export DESTDIR=$(readlink -f $builds_dir/build-x86-default/install)\n load_env cc\n pc_file=$(find $DESTDIR -name libdpdk.pc)\n export PKG_CONFIG_PATH=$(dirname $pc_file):$PKG_CONFIG_PATH\n",
    "prefixes": [
        "v3",
        "3/4"
    ]
}