get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 809235,
    "url": "http://patchwork.ozlabs.org/api/1.2/patches/809235/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/buildroot/patch/cbbc339ea43737ec4790a45e5f6cd3102b466041.1504430497.git.yann.morin.1998@free.fr/",
    "project": {
        "id": 27,
        "url": "http://patchwork.ozlabs.org/api/1.2/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": "<cbbc339ea43737ec4790a45e5f6cd3102b466041.1504430497.git.yann.morin.1998@free.fr>",
    "list_archive_url": null,
    "date": "2017-09-03T09:22:16",
    "name": "[1/5,v2] arch: add option to disable internal toolchain backend",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "ffbed1ac665c1fbb5008ccdab9fd3e2f3ab7b7cf",
    "submitter": {
        "id": 13903,
        "url": "http://patchwork.ozlabs.org/api/1.2/people/13903/?format=api",
        "name": "Yann E. MORIN",
        "email": "yann.morin.1998@free.fr"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/buildroot/patch/cbbc339ea43737ec4790a45e5f6cd3102b466041.1504430497.git.yann.morin.1998@free.fr/mbox/",
    "series": [
        {
            "id": 1205,
            "url": "http://patchwork.ozlabs.org/api/1.2/series/1205/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/buildroot/list/?series=1205",
            "date": "2017-09-03T09:22:19",
            "name": "[1/5,v2] arch: add option to disable internal toolchain backend",
            "version": 2,
            "mbox": "http://patchwork.ozlabs.org/series/1205/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/809235/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/809235/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=\"BDHdbg6X\"; 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 3xlSF30JpBz9s83\n\tfor <incoming@patchwork.ozlabs.org>;\n\tSun,  3 Sep 2017 19:22:46 +1000 (AEST)",
            "from localhost (localhost [127.0.0.1])\n\tby hemlock.osuosl.org (Postfix) with ESMTP id 8126C889C0;\n\tSun,  3 Sep 2017 09:22: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 P3O8DbonR-qD; Sun,  3 Sep 2017 09:22:38 +0000 (UTC)",
            "from ash.osuosl.org (ash.osuosl.org [140.211.166.34])\n\tby hemlock.osuosl.org (Postfix) with ESMTP id 4E794889BB;\n\tSun,  3 Sep 2017 09:22:38 +0000 (UTC)",
            "from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136])\n\tby ash.osuosl.org (Postfix) with ESMTP id 41C541CEB12\n\tfor <buildroot@lists.busybox.net>;\n\tSun,  3 Sep 2017 09:22:35 +0000 (UTC)",
            "from localhost (localhost [127.0.0.1])\n\tby silver.osuosl.org (Postfix) with ESMTP id 3044C2D371\n\tfor <buildroot@lists.busybox.net>;\n\tSun,  3 Sep 2017 09:22:35 +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 Q7kju+babjW0 for <buildroot@lists.busybox.net>;\n\tSun,  3 Sep 2017 09:22:26 +0000 (UTC)",
            "from mail-wr0-f193.google.com (mail-wr0-f193.google.com\n\t[209.85.128.193])\n\tby silver.osuosl.org (Postfix) with ESMTPS id 41DAB25BDD\n\tfor <buildroot@buildroot.org>; Sun,  3 Sep 2017 09:22:26 +0000 (UTC)",
            "by mail-wr0-f193.google.com with SMTP id k94so2000513wrc.0\n\tfor <buildroot@buildroot.org>; Sun, 03 Sep 2017 02:22:26 -0700 (PDT)",
            "from localhost.localdomain\n\t(2a01cb0886107300510e09a4a97f4d2e.ipv6.abo.wanadoo.fr.\n\t[2a01:cb08:8610:7300:510e:9a4:a97f:4d2e])\n\tby smtp.gmail.com with ESMTPSA id\n\tw9sm3635672wre.58.2017.09.03.02.22.22\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tSun, 03 Sep 2017 02:22:23 -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=sender:from:to:cc:subject:date:message-id:in-reply-to:references;\n\tbh=rATh8riP/vDBolsmkcKuRu9FuZZISiXiunGgpT+342U=;\n\tb=BDHdbg6XpYR7sd+XW44mQpUtlJu+og8JGXQ8MA6pmEYQZRwJ139HV9dBH5AB0dQTNA\n\tuhLg7xTC2S00rNiUO8BLU3ip8UeOvSDQgP4WOBn07hqK1b+2SunEKGj+3t6O4h3OM4Pr\n\tr0WXL3nHjE8aMDXq0uJYLYrcaxCcyYxdE2DgTYZn2E75X7W8my3o7Su0aSN3RmWJs7Dk\n\tstmMjfmfRHi13COMe3tNqI4Fp+1ufUWUwXptTJ8dpTa/64pw01Cttvaydac9y8oYF6MT\n\tUYmjYZwZqqGleFny6bOA2KAQCoVphBVw4WDNsy2+NtchiLyaSCnFWgEuqQooSYp3EWQE\n\tqBSQ==",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:sender:from:to:cc:subject:date:message-id\n\t:in-reply-to:references;\n\tbh=rATh8riP/vDBolsmkcKuRu9FuZZISiXiunGgpT+342U=;\n\tb=abxBxnfEOBA+jZixvM7B/K70zNL8nyfmQpATffwR0kMyBOBecFSD/70fQmjGzv7DQv\n\tkayZGkUppsZlLJPbLnYHgmgN8UVJXhbf6TojFoj2sNqboNJyo8U500R2CnKoC1Nfinz3\n\tqJpHjXzpeWQ8BlzaESJPLOzy3Kryu0Fwu5rVtntVMDdr9F3KNy/LCtcBoPoHXXJV+erc\n\t9J86r3HuZ+TAGWhsizza86dlCS8/N8A7shjugPgTNjKOTmyxWyYdtIxAf1XKNce6hCVE\n\tXCuRr5nmoHtVyshPgKz3gRrsWWxhnLqZZMTTzTEjI8X2itivNsgmSUB07K+NCQSV8PUy\n\tJ5pg==",
        "X-Gm-Message-State": "AHPjjUiJ5DfDEALnFCbDcUa6AkJSYr+/wINMG+Y3Q7W1engWcBxwJS18\n\tK54RgE6fyhaNMQR4",
        "X-Google-Smtp-Source": "ADKCNb4VWHaZhPnYw/JdMd+MJbDtOuJv+IYnDJxMXOcw3eO/oZObtHglzBnrHK3W7OB2wxbiDSLB/Q==",
        "X-Received": "by 10.223.130.134 with SMTP id 6mr4720283wrc.215.1504430544249; \n\tSun, 03 Sep 2017 02:22:24 -0700 (PDT)",
        "From": "\"Yann E. MORIN\" <yann.morin.1998@free.fr>",
        "To": "buildroot@buildroot.org",
        "Date": "Sun,  3 Sep 2017 11:22:16 +0200",
        "Message-Id": "<cbbc339ea43737ec4790a45e5f6cd3102b466041.1504430497.git.yann.morin.1998@free.fr>",
        "X-Mailer": "git-send-email 2.11.0",
        "In-Reply-To": "<cover.1504430497.git.yann.morin.1998@free.fr>",
        "References": "<cover.1504430497.git.yann.morin.1998@free.fr>",
        "Cc": "Thomas Petazzoni <thomas.petazzoni@free-electrons.com>,\n\t\"Yann E. MORIN\" <yann.morin.1998@free.fr>",
        "Subject": "[Buildroot] [PATCH 1/5 v2] arch: add option to disable internal\n\ttoolchain backend",
        "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": "Some architectures or specific cores do not have support in upstream\ngcc. Currently, they are individually listed as exclusions in the\ntoolchain choice.\n\nThis poses a maintainance burden, as the knowledge about what gcc\nversion supports what architecture is split across many places: the\ntoolchain choice, the gcc version choice, the external toolchains.\n\nAs a first step, add a blind option that architectures or individual\ncores may select to indicate they lack support in our internal backend.\n\nActual use of the option will come in followup patches.\n\nSigned-off-by: \"Yann E. MORIN\" <yann.morin.1998@free.fr>\nCc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>\nCc: Arnout Vandecappelle <arnout@mind.be>\n\n---\nChanges v1 ->v2:\n  - introduce an extra kconfig symbol for positive logic  (Thomas)\n---\n arch/Config.in      | 10 ++++++++++\n toolchain/Config.in |  1 +\n 2 files changed, 11 insertions(+)",
    "diff": "diff --git a/arch/Config.in b/arch/Config.in\nindex f385745e47..caf5a318ab 100644\n--- a/arch/Config.in\n+++ b/arch/Config.in\n@@ -250,6 +250,16 @@ config BR2_xtensa\n \n endchoice\n \n+# For some architectures or specific cores, our internal toolchain\n+# backend is not suitable (like, missing support in upstream gcc, or\n+# no ChipCo fork exists...)\n+config BR2_ARCH_HAS_NO_TOOLCHAIN_BUILDROOT\n+\tbool\n+\n+config BR2_ARCH_HAS_TOOLCHAIN_BUILDROOT\n+\tbool\n+\tdefault y if !BR2_ARCH_HAS_NO_TOOLCHAIN_BUILDROOT\n+\n # The following string values are defined by the individual\n # Config.in.$ARCH files\n config BR2_ARCH\ndiff --git a/toolchain/Config.in b/toolchain/Config.in\nindex 584d053058..8866b7da75 100644\n--- a/toolchain/Config.in\n+++ b/toolchain/Config.in\n@@ -43,6 +43,7 @@ choice\n config BR2_TOOLCHAIN_BUILDROOT\n \tbool \"Buildroot toolchain\"\n \tselect BR2_TOOLCHAIN_HAS_SHADOW_PASSWORDS\n+\tdepends on BR2_ARCH_HAS_TOOLCHAIN_BUILDROOT\n \tdepends on !BR2_bf606\n \tdepends on !BR2_bf607\n \tdepends on !BR2_bf608\n",
    "prefixes": [
        "1/5",
        "v2"
    ]
}