get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 809240,
    "url": "http://patchwork.ozlabs.org/api/1.2/patches/809240/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/buildroot/patch/dc9aa0e8f3f64c074e08c8fc0bc949eda81f98c1.1504431850.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": "<dc9aa0e8f3f64c074e08c8fc0bc949eda81f98c1.1504431850.git.yann.morin.1998@free.fr>",
    "list_archive_url": null,
    "date": "2017-09-03T09:44:28",
    "name": "[2/8] package/gcc: hide versions too old for the current arch",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "464915102c9c72aa407fcbc31e50b081c53e74ca",
    "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/dc9aa0e8f3f64c074e08c8fc0bc949eda81f98c1.1504431850.git.yann.morin.1998@free.fr/mbox/",
    "series": [
        {
            "id": 1206,
            "url": "http://patchwork.ozlabs.org/api/1.2/series/1206/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/buildroot/list/?series=1206",
            "date": "2017-09-03T09:44:27",
            "name": "[1/8] arch: introduce minimal required gcc version",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/1206/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/809240/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/809240/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>)",
            "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=\"MIl5TAaP\"; dkim-atps=neutral"
        ],
        "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 3xlSkR4RXTz9s71\n\tfor <incoming@patchwork.ozlabs.org>;\n\tSun,  3 Sep 2017 19:44:46 +1000 (AEST)",
            "from localhost (localhost [127.0.0.1])\n\tby silver.osuosl.org (Postfix) with ESMTP id 13D4F25D7D;\n\tSun,  3 Sep 2017 09:44:44 +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 CaWj4H1IqRIP; Sun,  3 Sep 2017 09:44:43 +0000 (UTC)",
            "from ash.osuosl.org (ash.osuosl.org [140.211.166.34])\n\tby silver.osuosl.org (Postfix) with ESMTP id 69D4326448;\n\tSun,  3 Sep 2017 09:44:43 +0000 (UTC)",
            "from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133])\n\tby ash.osuosl.org (Postfix) with ESMTP id C44171C41C7\n\tfor <buildroot@lists.busybox.net>;\n\tSun,  3 Sep 2017 09:44:41 +0000 (UTC)",
            "from localhost (localhost [127.0.0.1])\n\tby hemlock.osuosl.org (Postfix) with ESMTP id BE6A1889CA\n\tfor <buildroot@lists.busybox.net>;\n\tSun,  3 Sep 2017 09:44:41 +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 sVLhVxWljAQA for <buildroot@lists.busybox.net>;\n\tSun,  3 Sep 2017 09:44:41 +0000 (UTC)",
            "from mail-wr0-f194.google.com (mail-wr0-f194.google.com\n\t[209.85.128.194])\n\tby hemlock.osuosl.org (Postfix) with ESMTPS id E0081889C5\n\tfor <buildroot@buildroot.org>; Sun,  3 Sep 2017 09:44:40 +0000 (UTC)",
            "by mail-wr0-f194.google.com with SMTP id j3so2005875wrb.5\n\tfor <buildroot@buildroot.org>; Sun, 03 Sep 2017 02:44:40 -0700 (PDT)",
            "from localhost.localdomain\n\t(2a01cb08861073004cc40c703ef54565.ipv6.abo.wanadoo.fr.\n\t[2a01:cb08:8610:7300:4cc4:c70:3ef5:4565])\n\tby smtp.gmail.com with ESMTPSA id\n\tt135sm1972938wmt.30.2017.09.03.02.44.37\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tSun, 03 Sep 2017 02:44:37 -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=36LH6hucrD0jzysQE8bFy/BX55jiVw0W+cMHkdClmsQ=;\n\tb=MIl5TAaP0f04AcKilxt/4U3yFlI2VXEQhRx0gI2zIovsvakF6M/uiHsRIEum5ZCudM\n\ts/pkbgZeXX9BBnRhcWNF70t4YRyxWDu4pDIpgx/lRMqm88QHNd9N1z+rF+HcqzqSJozx\n\tu3jfnKgKKjaEE7hiyA5xDCK0kyhielH0qFYZpXI8FdTxwoYewwY1AjqHvxH3OCi2V9pm\n\tkUbAGpzHlIgvcYRZ+DxkqafmR7oIDhq02iv1443w72P3bvEjh0KrLIYMwOYYpal89f4o\n\t5QyX25pw3g+oY1spjlAbH/beKHYnGoXrWOxxQ31V1P7JLReEzy4IEfG1hKyGqxaU3boh\n\tnH9w==",
        "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=36LH6hucrD0jzysQE8bFy/BX55jiVw0W+cMHkdClmsQ=;\n\tb=RbmdNJ3zW2aZ0Z9YoAr4GRAcLnLDrmfdK1ECf64YWS7c9ZEDUQAZj7C/CUJ6Wg9rPu\n\tm0tWGiJY8rZVAwMGmq141sGSMlvA97vSBJk4VkdIXkHAq3sneNW3+s3EvaHqAB/mAPo9\n\thvGQyDrESjtH63Zxg6bgODIqMMLw4A1fbfZJQXJ/Uyfi4wT3Qy256vzugoUWQWVTrNOo\n\tcxHlFZTQKI06I6rS3PWV6wUJTpvDUX38wsPZryWxXhber0nZ7NKVKvvQ+4VzMJ9uoZE5\n\td9GC1Cgjkm/xiFO5vO9tB2EI5HcFUa/aO4j5igxgia8N1qPNjoNkQzItRQxcejtCzFtv\n\t/EbA==",
        "X-Gm-Message-State": "AHPjjUiI9mshHDzZVX1SrTPJj5K9+p6nJgIzEQRoCN+sJzZbXzbkFF4c\n\tUY8xPcDpUZyl5OV3",
        "X-Google-Smtp-Source": "ADKCNb6lB8M2uDZYtZJ/PVFF1a8TiHTbLfwk9VOeupGV1GJFH+7hn6YxHyAuq1Z3opE4VzRmoCSdBw==",
        "X-Received": "by 10.223.143.22 with SMTP id p22mr954072wrb.261.1504431879198; \n\tSun, 03 Sep 2017 02:44:39 -0700 (PDT)",
        "From": "\"Yann E. MORIN\" <yann.morin.1998@free.fr>",
        "To": "buildroot@buildroot.org",
        "Date": "Sun,  3 Sep 2017 11:44:28 +0200",
        "Message-Id": "<dc9aa0e8f3f64c074e08c8fc0bc949eda81f98c1.1504431850.git.yann.morin.1998@free.fr>",
        "X-Mailer": "git-send-email 2.11.0",
        "In-Reply-To": "<cover.1504431850.git.yann.morin.1998@free.fr>",
        "References": "<cover.1504431850.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 2/8] package/gcc: hide versions too old for the\n\tcurrent arch",
        "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": "Begin the conversion from hard-coded dependencies on architectures, to\narchitecture-specified version requirement, using the newly introduced\nBR2_ARCH_NEEDS_GCC_AT_LEAST_XXX symbols.\n\nHard-coded dependencies will be removed progressively, as archs are\nindividually coonverted over to using the new symbols.\n\nWe do not change the architecture-specific versions for arc and\nopenrisc, because there is no point in doing so for those, as they\nuse special, non-upstream versions anyway.\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 package/gcc/Config.in.host | 3 +++\n 1 file changed, 3 insertions(+)",
    "diff": "diff --git a/package/gcc/Config.in.host b/package/gcc/Config.in.host\nindex ec7b6924ee..69bebc1f9e 100644\n--- a/package/gcc/Config.in.host\n+++ b/package/gcc/Config.in.host\n@@ -22,6 +22,7 @@ config BR2_GCC_VERSION_OR1K\n \n config BR2_GCC_VERSION_4_9_X\n \tbool \"gcc 4.9.x\"\n+\tdepends on !BR2_ARCH_NEEDS_GCC_AT_LEAST_5\n \t# Broken or unsupported architectures\n \tdepends on !BR2_arc && !BR2_bfin && !BR2_or1k\n \t# Broken or unsupported ARM cores\n@@ -43,6 +44,7 @@ config BR2_GCC_VERSION_4_9_X\n \n config BR2_GCC_VERSION_5_X\n \tbool \"gcc 5.x\"\n+\tdepends on !BR2_ARCH_NEEDS_GCC_AT_LEAST_6\n \t# Broken or unsupported architectures\n \tdepends on !BR2_arc && !BR2_bfin && !BR2_or1k\n \t# Broken or unsupported ARM cores\n@@ -57,6 +59,7 @@ config BR2_GCC_VERSION_5_X\n \n config BR2_GCC_VERSION_6_X\n \tbool \"gcc 6.x\"\n+\tdepends on !BR2_ARCH_NEEDS_GCC_AT_LEAST_7\n \t# Broken or unsupported architectures\n \tdepends on !BR2_arc\n \tdepends on !BR2_or1k\n",
    "prefixes": [
        "2/8"
    ]
}