get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 7150,
    "url": "http://patchwork.dpdk.org/api/patches/7150/?format=api",
    "web_url": "http://patchwork.dpdk.org/project/dpdk/patch/9e5f056c976858f5c69f1e66183743ec2c2a39b3.1443080778.git.pmatilai@redhat.com/",
    "project": {
        "id": 1,
        "url": "http://patchwork.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": "<9e5f056c976858f5c69f1e66183743ec2c2a39b3.1443080778.git.pmatilai@redhat.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/9e5f056c976858f5c69f1e66183743ec2c2a39b3.1443080778.git.pmatilai@redhat.com",
    "date": "2015-09-24T07:50:58",
    "name": "[dpdk-dev,2/3] scripts: move two identical config fixups into a function",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "eb3c7553af0339baa55f03ef8e7177401681134d",
    "submitter": {
        "id": 169,
        "url": "http://patchwork.dpdk.org/api/people/169/?format=api",
        "name": "Panu Matilainen",
        "email": "pmatilai@redhat.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.dpdk.org/project/dpdk/patch/9e5f056c976858f5c69f1e66183743ec2c2a39b3.1443080778.git.pmatilai@redhat.com/mbox/",
    "series": [],
    "comments": "http://patchwork.dpdk.org/api/patches/7150/comments/",
    "check": "pending",
    "checks": "http://patchwork.dpdk.org/api/patches/7150/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 [IPv6:::1])\n\tby dpdk.org (Postfix) with ESMTP id 13D9B8E76;\n\tThu, 24 Sep 2015 09:52:00 +0200 (CEST)",
            "from mx1.redhat.com (mx1.redhat.com [209.132.183.28])\n\tby dpdk.org (Postfix) with ESMTP id 72C2A8E65\n\tfor <dev@dpdk.org>; Thu, 24 Sep 2015 09:51:57 +0200 (CEST)",
            "from int-mx09.intmail.prod.int.phx2.redhat.com\n\t(int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22])\n\tby mx1.redhat.com (Postfix) with ESMTPS id F2E532FAA67\n\tfor <dev@dpdk.org>; Thu, 24 Sep 2015 07:51:56 +0000 (UTC)",
            "from dhcp195.koti.laiskiainen.org.com (vpn1-7-167.ams2.redhat.com\n\t[10.36.7.167])\n\tby int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with\n\tESMTP id\n\tt8O7pqjC004719 for <dev@dpdk.org>; Thu, 24 Sep 2015 03:51:56 -0400"
        ],
        "From": "Panu Matilainen <pmatilai@redhat.com>",
        "To": "dev@dpdk.org",
        "Date": "Thu, 24 Sep 2015 10:50:58 +0300",
        "Message-Id": "<9e5f056c976858f5c69f1e66183743ec2c2a39b3.1443080778.git.pmatilai@redhat.com>",
        "In-Reply-To": [
            "<cover.1443080778.git.pmatilai@redhat.com>",
            "<cover.1443080778.git.pmatilai@redhat.com>"
        ],
        "References": [
            "<cover.1443079633.git.pmatilai@redhat.com>\n\t<cover.1443080778.git.pmatilai@redhat.com>",
            "<cover.1443080778.git.pmatilai@redhat.com>"
        ],
        "X-Scanned-By": "MIMEDefang 2.68 on 10.5.11.22",
        "Subject": "[dpdk-dev] [PATCH 2/3] scripts: move two identical config fixups\n\tinto a function",
        "X-BeenThere": "dev@dpdk.org",
        "X-Mailman-Version": "2.1.15",
        "Precedence": "list",
        "List-Id": "patches and discussions about DPDK <dev.dpdk.org>",
        "List-Unsubscribe": "<http://dpdk.org/ml/options/dev>,\n\t<mailto:dev-request@dpdk.org?subject=unsubscribe>",
        "List-Archive": "<http://dpdk.org/ml/archives/dev/>",
        "List-Post": "<mailto:dev@dpdk.org>",
        "List-Help": "<mailto:dev-request@dpdk.org?subject=help>",
        "List-Subscribe": "<http://dpdk.org/ml/listinfo/dev>,\n\t<mailto:dev-request@dpdk.org?subject=subscribe>",
        "Errors-To": "dev-bounces@dpdk.org",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>"
    },
    "content": "Signed-off-by: Panu Matilainen <pmatilai@redhat.com>\n---\n scripts/validate-abi.sh | 23 +++++++++++------------\n 1 file changed, 11 insertions(+), 12 deletions(-)",
    "diff": "diff --git a/scripts/validate-abi.sh b/scripts/validate-abi.sh\nindex b9c9989..12946d4 100755\n--- a/scripts/validate-abi.sh\n+++ b/scripts/validate-abi.sh\n@@ -81,6 +81,15 @@ cleanup_and_exit() {\n \texit $1\n }\n \n+# Make sure we configure SHARED libraries\n+# Also turn off IGB and KNI as those require kernel headers to build\n+fixup_config() {\n+\tsed -i -e\"$ a\\CONFIG_RTE_BUILD_SHARED_LIB=y\" config/defconfig_$TARGET\n+\tsed -i -e\"$ a\\CONFIG_RTE_NEXT_ABI=n\" config/defconfig_$TARGET\n+\tsed -i -e\"$ a\\CONFIG_RTE_EAL_IGB_UIO=n\" config/defconfig_$TARGET\n+\tsed -i -e\"$ a\\CONFIG_RTE_LIBRTE_KNI=n\" config/defconfig_$TARGET\n+}\n+\n ###########################################\n #START\n ############################################\n@@ -154,12 +163,7 @@ log \"INFO\" \"Checking out version $TAG1 of the dpdk\"\n # Move to the old version of the tree\n git checkout $TAG1\n \n-# Make sure we configure SHARED libraries\n-# Also turn off IGB and KNI as those require kernel headers to build\n-sed -i -e\"$ a\\CONFIG_RTE_BUILD_SHARED_LIB=y\" config/defconfig_$TARGET\n-sed -i -e\"$ a\\CONFIG_RTE_NEXT_ABI=n\" config/defconfig_$TARGET\n-sed -i -e\"$ a\\CONFIG_RTE_EAL_IGB_UIO=n\" config/defconfig_$TARGET\n-sed -i -e\"$ a\\CONFIG_RTE_LIBRTE_KNI=n\" config/defconfig_$TARGET\n+fixup_config\n \n # Checking abi compliance relies on using the dwarf information in\n # The shared objects.  Thats only included in the DSO's if we build\n@@ -196,12 +200,7 @@ git reset --hard\n log \"INFO\" \"Checking out version $TAG2 of the dpdk\"\n git checkout $TAG2\n \n-# Make sure we configure SHARED libraries\n-# Also turn off IGB and KNI as those require kernel headers to build\n-sed -i -e\"$ a\\CONFIG_RTE_BUILD_SHARED_LIB=y\" config/defconfig_$TARGET\n-sed -i -e\"$ a\\CONFIG_RTE_NEXT_ABI=n\" config/defconfig_$TARGET\n-sed -i -e\"$ a\\CONFIG_RTE_EAL_IGB_UIO=n\" config/defconfig_$TARGET\n-sed -i -e\"$ a\\CONFIG_RTE_LIBRTE_KNI=n\" config/defconfig_$TARGET\n+fixup_config\n \n # Now configure the build\n log \"INFO\" \"Configuring DPDK $TAG2\"\n",
    "prefixes": [
        "dpdk-dev",
        "2/3"
    ]
}