get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 809142,
    "url": "http://patchwork.ozlabs.org/api/patches/809142/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/buildroot/patch/20170902205423.21288-6-romain.naour@gmail.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": "<20170902205423.21288-6-romain.naour@gmail.com>",
    "list_archive_url": null,
    "date": "2017-09-02T20:54:17",
    "name": "[v2,05/11] package/glibc: needs kernel headers >= 3.10 on powerpc64le",
    "commit_ref": null,
    "pull_url": null,
    "state": "awaiting-upstream",
    "archived": false,
    "hash": "08adc21e280db5ca7c1110cc8c465f96492ad4db",
    "submitter": {
        "id": 67942,
        "url": "http://patchwork.ozlabs.org/api/people/67942/?format=api",
        "name": "Romain Naour",
        "email": "romain.naour@gmail.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/buildroot/patch/20170902205423.21288-6-romain.naour@gmail.com/mbox/",
    "series": [
        {
            "id": 1178,
            "url": "http://patchwork.ozlabs.org/api/series/1178/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/buildroot/list/?series=1178",
            "date": "2017-09-02T20:54:12",
            "name": "glibc: bump to 2.26",
            "version": 2,
            "mbox": "http://patchwork.ozlabs.org/series/1178/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/809142/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/809142/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.133; helo=hemlock.osuosl.org;\n\tenvelope-from=buildroot-bounces@busybox.net;\n\treceiver=<UNKNOWN>)",
            "ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n\tunprotected) header.d=gmail.com header.i=@gmail.com\n\theader.b=\"OoJwyxfN\"; dkim-atps=neutral"
        ],
        "Received": [
            "from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133])\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 3xl7dv3bKKz9sRW\n\tfor <incoming@patchwork.ozlabs.org>;\n\tSun,  3 Sep 2017 06:54:43 +1000 (AEST)",
            "from localhost (localhost [127.0.0.1])\n\tby hemlock.osuosl.org (Postfix) with ESMTP id BC5FE893A4;\n\tSat,  2 Sep 2017 20:54:40 +0000 (UTC)",
            "from hemlock.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id FJy87cdN9y99; Sat,  2 Sep 2017 20:54:40 +0000 (UTC)",
            "from ash.osuosl.org (ash.osuosl.org [140.211.166.34])\n\tby hemlock.osuosl.org (Postfix) with ESMTP id 27AAD89BEE;\n\tSat,  2 Sep 2017 20:54:40 +0000 (UTC)",
            "from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133])\n\tby ash.osuosl.org (Postfix) with ESMTP id 9588F1BFF90\n\tfor <buildroot@lists.busybox.net>;\n\tSat,  2 Sep 2017 20:54:35 +0000 (UTC)",
            "from localhost (localhost [127.0.0.1])\n\tby hemlock.osuosl.org (Postfix) with ESMTP id 8CA588944C\n\tfor <buildroot@lists.busybox.net>;\n\tSat,  2 Sep 2017 20:54:35 +0000 (UTC)",
            "from hemlock.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id EDZTfI074HNp for <buildroot@lists.busybox.net>;\n\tSat,  2 Sep 2017 20:54:35 +0000 (UTC)",
            "from mail-wm0-f67.google.com (mail-wm0-f67.google.com\n\t[74.125.82.67])\n\tby hemlock.osuosl.org (Postfix) with ESMTPS id B403D893A4\n\tfor <buildroot@buildroot.org>; Sat,  2 Sep 2017 20:54:34 +0000 (UTC)",
            "by mail-wm0-f67.google.com with SMTP id u26so3079362wma.5\n\tfor <buildroot@buildroot.org>; Sat, 02 Sep 2017 13:54:34 -0700 (PDT)",
            "from localhost.localdomain\n\t([2a01:e35:1391:67d0:e6f9:2d2f:1a1e:79bf])\n\tby smtp.gmail.com with ESMTPSA id\n\t52sm2295647wru.59.2017.09.02.13.54.32\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tSat, 02 Sep 2017 13:54:32 -0700 (PDT)"
        ],
        "X-Virus-Scanned": [
            "amavisd-new at osuosl.org",
            "amavisd-new at osuosl.org"
        ],
        "X-Greylist": "domain auto-whitelisted by SQLgrey-1.7.6",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;\n\th=from:to:cc:subject:date:message-id:in-reply-to:references;\n\tbh=2EBfKX08wnKalHPx5GNlaClgfU59uQuJe1YTENBxVxM=;\n\tb=OoJwyxfNcb2qF8H1dbxoCNg2nOlGGruTsBZ1G6v9VIATvIxfrNdIU2ehitEne+qZIe\n\t3IPDM6HJ7d6F6sMqK1zL79d4uU+NKCdH7tSNdpZUUrBdgVXVXclHf13dDKl9NPUgBvtT\n\tvNBN8XTIHmD+wJGj2uOEQskqJ5z336Jnz49UCp8e3q9/Y+BFijPmBYsIaoJ6mkTIOuW5\n\trZqmWe+EP/mmc3OTfNhH4RzJT7v5mE8YEri+8Gzub+koQmw2v7G0dq3jIlRgyUfEbsKX\n\tNpLRdaY8V2NAd1baut7GRd72sosxBRPwJigtVPZG1jcQ3f/jh3kClDssv4bkCHlQUh0G\n\t+y6A==",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to\n\t:references;\n\tbh=2EBfKX08wnKalHPx5GNlaClgfU59uQuJe1YTENBxVxM=;\n\tb=LsrCMUALcrF6HCJktVR1xDHnoyDuUYl4g+Uq3yAy3q4ozRrSe4bG5let0Vn09/EXjO\n\t9+S6PS3OIJHfCcBLY7GoP1nIdaO6SaV8i/OLXaDOnGaSFf1D/tksreHkJkuhPtpReVXh\n\tj4JdrfJKmXesGDXx7u+swRJt35mbSiIbpaqI7NFnNts72bKDX2CBU7h74QIMnOfBVbal\n\thQsKm9cwEfdqbfMmaRx4WGV99DomkVyZ4hjY809N/kVHzJpDow0BZZ/6z6G0k+g6XjlF\n\twRhvkVqI1ootZIlwzIdQbaJZz/jwYHr2o7o5+67EH6lzkz9XwROCuT1zeNP/OVD6syd3\n\tWErQ==",
        "X-Gm-Message-State": "AHPjjUje/HCJwrfatoW1z2H9XVYMdj84frj4CnJMPfPlfLxVMaaFhE1S\n\tMnl/pCya/aeBIvMFt6I=",
        "X-Google-Smtp-Source": "ADKCNb4Z1176Xh4Gqy+SeHOfdHHnNJOPhbuO8mnhX6yC2cvGyoiK7jT38py9zOSuaETRKtWriJALuQ==",
        "X-Received": "by 10.28.125.150 with SMTP id y144mr1227257wmc.183.1504385672967;\n\tSat, 02 Sep 2017 13:54:32 -0700 (PDT)",
        "From": "Romain Naour <romain.naour@gmail.com>",
        "To": "buildroot@buildroot.org",
        "Date": "Sat,  2 Sep 2017 22:54:17 +0200",
        "Message-Id": "<20170902205423.21288-6-romain.naour@gmail.com>",
        "X-Mailer": "git-send-email 2.9.5",
        "In-Reply-To": "<20170902205423.21288-1-romain.naour@gmail.com>",
        "References": "<20170902205423.21288-1-romain.naour@gmail.com>",
        "Cc": "Thomas Petazzoni <thomas.petazzoni@free-electrons.com>,\n\tRomain Naour <romain.naour@gmail.com>",
        "Subject": "[Buildroot] [PATCH v2 05/11] package/glibc: needs kernel headers >=\n\t3.10 on powerpc64le",
        "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": "Since glibc 2.26, kernel headers >= 3.10 are needed on powerpc64le [1].\nIn order to prepare the glibc bump to this version, we don't allow to\nbuild a Buildroot toolchain with kernel headers older than 3.10.\n\n[1] https://sourceware.org/git/?p=glibc.git;a=commit;h=c2ff5ec13fca1bdd1cd646a0260808386d7bd7ff\n\nSigned-off-by: Romain Naour <romain.naour@gmail.com>\nCc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>\n---\n toolchain/toolchain-buildroot/Config.in | 8 +++++++-\n 1 file changed, 7 insertions(+), 1 deletion(-)",
    "diff": "diff --git a/toolchain/toolchain-buildroot/Config.in b/toolchain/toolchain-buildroot/Config.in\nindex f47001f..8ffad61 100644\n--- a/toolchain/toolchain-buildroot/Config.in\n+++ b/toolchain/toolchain-buildroot/Config.in\n@@ -45,7 +45,8 @@ config BR2_TOOLCHAIN_BUILDROOT_GLIBC\n \tdepends on BR2_arm         || BR2_armeb      || BR2_aarch64 || \\\n \t\t   BR2_aarch64_be  || BR2_i386       || BR2_mips    || \\\n \t\t   BR2_mipsel      || BR2_mips64     || BR2_mips64el|| \\\n-\t\t   BR2_powerpc     || BR2_powerpc64  || BR2_powerpc64le || \\\n+\t\t   BR2_powerpc     || BR2_powerpc64  || \\\n+\t\t   (BR2_powerpc64le && BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_10) || \\\n \t\t   BR2_sh          || BR2_sparc64    || BR2_x86_64 || \\\n \t\t   BR2_microblaze || BR2_nios2\n \tdepends on BR2_USE_MMU\n@@ -65,6 +66,11 @@ comment \"glibc needs a toolchain w/ dynamic library, kernel headers >= 3.2\"\n \tdepends on BR2_USE_MMU\n \tdepends on BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_2\n \n+# glibc >= 2.26 require kernel headers >= 3.10 on powerpc64le.\n+comment \"glibc on powerpc64le needs a toolchain w/ headers >= 3.10\"\n+\tdepends on BR2_powerpc64le\n+\tdepends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_10\n+\n config BR2_TOOLCHAIN_BUILDROOT_MUSL\n \tbool \"musl\"\n \tdepends on BR2_aarch64\t  || BR2_arm     || BR2_armeb     || BR2_i386 || \\\n",
    "prefixes": [
        "v2",
        "05/11"
    ]
}