get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 813973,
    "url": "http://patchwork.ozlabs.org/api/patches/813973/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/buildroot/patch/20170914221446.13647-2-abrodkin@synopsys.com/",
    "project": {
        "id": 27,
        "url": "http://patchwork.ozlabs.org/api/projects/27/?format=api",
        "name": "Buildroot development",
        "link_name": "buildroot",
        "list_id": "buildroot.buildroot.org",
        "list_email": "buildroot@buildroot.org",
        "web_url": "",
        "scm_url": "",
        "webscm_url": "",
        "list_archive_url": "",
        "list_archive_url_format": "",
        "commit_url_format": ""
    },
    "msgid": "<20170914221446.13647-2-abrodkin@synopsys.com>",
    "list_archive_url": null,
    "date": "2017-09-14T22:14:45",
    "name": "[1/2] glibc: Move patches to version-specific folder",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": false,
    "hash": "da39a3ee5e6b4b0d3255bfef95601890afd80709",
    "submitter": {
        "id": 23881,
        "url": "http://patchwork.ozlabs.org/api/people/23881/?format=api",
        "name": "Alexey Brodkin",
        "email": "Alexey.Brodkin@synopsys.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/buildroot/patch/20170914221446.13647-2-abrodkin@synopsys.com/mbox/",
    "series": [
        {
            "id": 3170,
            "url": "http://patchwork.ozlabs.org/api/series/3170/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/buildroot/list/?series=3170",
            "date": "2017-09-14T22:14:44",
            "name": "toolchain: Add glibc support for ARCv2",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/3170/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/813973/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/813973/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<buildroot-bounces@busybox.net>",
        "X-Original-To": [
            "incoming@patchwork.ozlabs.org",
            "buildroot@lists.busybox.net"
        ],
        "Delivered-To": [
            "patchwork-incoming@bilbo.ozlabs.org",
            "buildroot@osuosl.org"
        ],
        "Authentication-Results": "ozlabs.org;\n\tspf=pass (mailfrom) smtp.mailfrom=busybox.net\n\t(client-ip=140.211.166.136; helo=silver.osuosl.org;\n\tenvelope-from=buildroot-bounces@busybox.net;\n\treceiver=<UNKNOWN>)",
        "Received": [
            "from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136])\n\t(using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))\n\t(No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3xtY1W41dBz9s7h\n\tfor <incoming@patchwork.ozlabs.org>;\n\tFri, 15 Sep 2017 08:22:23 +1000 (AEST)",
            "from localhost (localhost [127.0.0.1])\n\tby silver.osuosl.org (Postfix) with ESMTP id 9335A310CD;\n\tThu, 14 Sep 2017 22:22:20 +0000 (UTC)",
            "from silver.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id tMWf1rEiN94Z; Thu, 14 Sep 2017 22:22:19 +0000 (UTC)",
            "from ash.osuosl.org (ash.osuosl.org [140.211.166.34])\n\tby silver.osuosl.org (Postfix) with ESMTP id 95E9F310BE;\n\tThu, 14 Sep 2017 22:22:19 +0000 (UTC)",
            "from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138])\n\tby ash.osuosl.org (Postfix) with ESMTP id 4464C1C04DC\n\tfor <buildroot@lists.busybox.net>;\n\tThu, 14 Sep 2017 22:22:17 +0000 (UTC)",
            "from localhost (localhost [127.0.0.1])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id 3E8EA89CB0\n\tfor <buildroot@lists.busybox.net>;\n\tThu, 14 Sep 2017 22:22:17 +0000 (UTC)",
            "from whitealder.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id Gn9XgDZuh2cT for <buildroot@lists.busybox.net>;\n\tThu, 14 Sep 2017 22:22:16 +0000 (UTC)",
            "from smtprelay.synopsys.com (smtprelay.synopsys.com [198.182.47.9])\n\tby whitealder.osuosl.org (Postfix) with ESMTPS id 3FE6089CAF\n\tfor <buildroot@busybox.net>; Thu, 14 Sep 2017 22:22:16 +0000 (UTC)",
            "from mailhost.synopsys.com (mailhost1.synopsys.com [10.12.238.239])\n\tby smtprelay.synopsys.com (Postfix) with ESMTP id 2A3AF24E1696;\n\tThu, 14 Sep 2017 15:15:01 -0700 (PDT)",
            "from mailhost.synopsys.com (localhost [127.0.0.1])\n\tby mailhost.synopsys.com (Postfix) with ESMTP id 10822C65;\n\tThu, 14 Sep 2017 15:15:01 -0700 (PDT)",
            "from ru20arcgnu1.internal.synopsys.com\n\t(ru20arcgnu1.internal.synopsys.com [10.121.9.48])\n\tby mailhost.synopsys.com (Postfix) with ESMTP id AC438C45;\n\tThu, 14 Sep 2017 15:14:59 -0700 (PDT)"
        ],
        "X-Virus-Scanned": [
            "amavisd-new at osuosl.org",
            "amavisd-new at osuosl.org"
        ],
        "X-Greylist": "delayed 00:07:15 by SQLgrey-1.7.6",
        "From": "Alexey Brodkin <Alexey.Brodkin@synopsys.com>",
        "To": "buildroot@busybox.net",
        "Date": "Fri, 15 Sep 2017 01:14:45 +0300",
        "Message-Id": "<20170914221446.13647-2-abrodkin@synopsys.com>",
        "X-Mailer": "git-send-email 2.11.0",
        "In-Reply-To": "<20170914221446.13647-1-abrodkin@synopsys.com>",
        "References": "<20170914221446.13647-1-abrodkin@synopsys.com>",
        "Cc": "Thomas Petazzoni <thomas.petazzoni@free-electrons.com>,\n\tAlexey Brodkin <Alexey.Brodkin@synopsys.com>",
        "Subject": "[Buildroot] [PATCH 1/2] glibc: Move patches to version-specific\n\tfolder",
        "X-BeenThere": "buildroot@busybox.net",
        "X-Mailman-Version": "2.1.18-1",
        "Precedence": "list",
        "List-Id": "Discussion and development of buildroot <buildroot.busybox.net>",
        "List-Unsubscribe": "<http://lists.busybox.net/mailman/options/buildroot>,\n\t<mailto:buildroot-request@busybox.net?subject=unsubscribe>",
        "List-Archive": "<http://lists.busybox.net/pipermail/buildroot/>",
        "List-Post": "<mailto:buildroot@busybox.net>",
        "List-Help": "<mailto:buildroot-request@busybox.net?subject=help>",
        "List-Subscribe": "<http://lists.busybox.net/mailman/listinfo/buildroot>,\n\t<mailto:buildroot-request@busybox.net?subject=subscribe>",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain; charset=\"us-ascii\"",
        "Content-Transfer-Encoding": "7bit",
        "Errors-To": "buildroot-bounces@busybox.net",
        "Sender": "\"buildroot\" <buildroot-bounces@busybox.net>"
    },
    "content": "Removal of other glibc versions was nice but now when\nwe're about to introduce ARC port of glibc which is based\non newer glibc sources (pretty much today's master branch)\nthese allways applied patches are getting in the way.\n\nThus we re-introduce a bit of complication until ARC port\nbecomes a part of upstream glibc release.\n\nSigned-off-by: Alexey Brodkin <abrodkin@synopsys.com>\nCc: Waldemar Brodkorb <wbx@openadk.org>\n---\n package/glibc/{ => 2.25}/0001-sh-Fix-building-with-gcc5-6.patch           | 0\n .../0002-CVE-2017-1000366-Ignore-LD_LIBRARY_PATH-for-AT_SECUR.patch       | 0\n .../0003-ld.so-Reject-overly-long-LD_PRELOAD-path-elements.patch          | 0\n .../{ => 2.25}/0004-ld.so-Reject-overly-long-LD_AUDIT-path-elements.patch | 0\n package/glibc/{ => 2.25}/0005-fix-binutils-2-29-build.patch               | 0\n .../0006-i686-Add-missing-IS_IN-libc-guards-to-vectorized-strcspn.patch   | 0\n package/glibc/{ => 2.25}/0006-sh4-trap.patch                              | 0\n 7 files changed, 0 insertions(+), 0 deletions(-)\n rename package/glibc/{ => 2.25}/0001-sh-Fix-building-with-gcc5-6.patch (100%)\n rename package/glibc/{ => 2.25}/0002-CVE-2017-1000366-Ignore-LD_LIBRARY_PATH-for-AT_SECUR.patch (100%)\n rename package/glibc/{ => 2.25}/0003-ld.so-Reject-overly-long-LD_PRELOAD-path-elements.patch (100%)\n rename package/glibc/{ => 2.25}/0004-ld.so-Reject-overly-long-LD_AUDIT-path-elements.patch (100%)\n rename package/glibc/{ => 2.25}/0005-fix-binutils-2-29-build.patch (100%)\n rename package/glibc/{ => 2.25}/0006-i686-Add-missing-IS_IN-libc-guards-to-vectorized-strcspn.patch (100%)\n rename package/glibc/{ => 2.25}/0006-sh4-trap.patch (100%)",
    "diff": "diff --git a/package/glibc/0001-sh-Fix-building-with-gcc5-6.patch b/package/glibc/2.25/0001-sh-Fix-building-with-gcc5-6.patch\nsimilarity index 100%\nrename from package/glibc/0001-sh-Fix-building-with-gcc5-6.patch\nrename to package/glibc/2.25/0001-sh-Fix-building-with-gcc5-6.patch\ndiff --git a/package/glibc/0002-CVE-2017-1000366-Ignore-LD_LIBRARY_PATH-for-AT_SECUR.patch b/package/glibc/2.25/0002-CVE-2017-1000366-Ignore-LD_LIBRARY_PATH-for-AT_SECUR.patch\nsimilarity index 100%\nrename from package/glibc/0002-CVE-2017-1000366-Ignore-LD_LIBRARY_PATH-for-AT_SECUR.patch\nrename to package/glibc/2.25/0002-CVE-2017-1000366-Ignore-LD_LIBRARY_PATH-for-AT_SECUR.patch\ndiff --git a/package/glibc/0003-ld.so-Reject-overly-long-LD_PRELOAD-path-elements.patch b/package/glibc/2.25/0003-ld.so-Reject-overly-long-LD_PRELOAD-path-elements.patch\nsimilarity index 100%\nrename from package/glibc/0003-ld.so-Reject-overly-long-LD_PRELOAD-path-elements.patch\nrename to package/glibc/2.25/0003-ld.so-Reject-overly-long-LD_PRELOAD-path-elements.patch\ndiff --git a/package/glibc/0004-ld.so-Reject-overly-long-LD_AUDIT-path-elements.patch b/package/glibc/2.25/0004-ld.so-Reject-overly-long-LD_AUDIT-path-elements.patch\nsimilarity index 100%\nrename from package/glibc/0004-ld.so-Reject-overly-long-LD_AUDIT-path-elements.patch\nrename to package/glibc/2.25/0004-ld.so-Reject-overly-long-LD_AUDIT-path-elements.patch\ndiff --git a/package/glibc/0005-fix-binutils-2-29-build.patch b/package/glibc/2.25/0005-fix-binutils-2-29-build.patch\nsimilarity index 100%\nrename from package/glibc/0005-fix-binutils-2-29-build.patch\nrename to package/glibc/2.25/0005-fix-binutils-2-29-build.patch\ndiff --git a/package/glibc/0006-i686-Add-missing-IS_IN-libc-guards-to-vectorized-strcspn.patch b/package/glibc/2.25/0006-i686-Add-missing-IS_IN-libc-guards-to-vectorized-strcspn.patch\nsimilarity index 100%\nrename from package/glibc/0006-i686-Add-missing-IS_IN-libc-guards-to-vectorized-strcspn.patch\nrename to package/glibc/2.25/0006-i686-Add-missing-IS_IN-libc-guards-to-vectorized-strcspn.patch\ndiff --git a/package/glibc/0006-sh4-trap.patch b/package/glibc/2.25/0006-sh4-trap.patch\nsimilarity index 100%\nrename from package/glibc/0006-sh4-trap.patch\nrename to package/glibc/2.25/0006-sh4-trap.patch\n",
    "prefixes": [
        "1/2"
    ]
}