get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 819197,
    "url": "http://patchwork.ozlabs.org/api/patches/819197/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/20170927141524.5920-3-wd@denx.de/",
    "project": {
        "id": 18,
        "url": "http://patchwork.ozlabs.org/api/projects/18/?format=api",
        "name": "U-Boot",
        "link_name": "uboot",
        "list_id": "u-boot.lists.denx.de",
        "list_email": "u-boot@lists.denx.de",
        "web_url": null,
        "scm_url": null,
        "webscm_url": null,
        "list_archive_url": "",
        "list_archive_url_format": "",
        "commit_url_format": ""
    },
    "msgid": "<20170927141524.5920-3-wd@denx.de>",
    "list_archive_url": null,
    "date": "2017-09-27T14:15:21",
    "name": "[U-Boot,2/5] Revert \"dtc: Switch to building and using our own dtc unless provided\"",
    "commit_ref": null,
    "pull_url": null,
    "state": "rejected",
    "archived": false,
    "hash": "50d118e1cd484523425bc534f0fc9f5fc93efdd2",
    "submitter": {
        "id": 387,
        "url": "http://patchwork.ozlabs.org/api/people/387/?format=api",
        "name": "Wolfgang Denk",
        "email": "wd@denx.de"
    },
    "delegate": {
        "id": 3651,
        "url": "http://patchwork.ozlabs.org/api/users/3651/?format=api",
        "username": "trini",
        "first_name": "Tom",
        "last_name": "Rini",
        "email": "trini@ti.com"
    },
    "mbox": "http://patchwork.ozlabs.org/project/uboot/patch/20170927141524.5920-3-wd@denx.de/mbox/",
    "series": [
        {
            "id": 5381,
            "url": "http://patchwork.ozlabs.org/api/series/5381/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/uboot/list/?series=5381",
            "date": "2017-09-27T14:15:19",
            "name": "REVERT Follow the Linux Kernel in building dtc as needed",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/5381/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/819197/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/819197/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<u-boot-bounces@lists.denx.de>",
        "X-Original-To": "incoming@patchwork.ozlabs.org",
        "Delivered-To": "patchwork-incoming@bilbo.ozlabs.org",
        "Authentication-Results": "ozlabs.org;\n\tspf=none (mailfrom) smtp.mailfrom=lists.denx.de\n\t(client-ip=81.169.180.215; helo=lists.denx.de;\n\tenvelope-from=u-boot-bounces@lists.denx.de;\n\treceiver=<UNKNOWN>)",
        "Received": [
            "from lists.denx.de (dione.denx.de [81.169.180.215])\n\tby ozlabs.org (Postfix) with ESMTP id 3y2KhQ1Txgz9t3m\n\tfor <incoming@patchwork.ozlabs.org>;\n\tThu, 28 Sep 2017 00:19:34 +1000 (AEST)",
            "by lists.denx.de (Postfix, from userid 105)\n\tid D25ECC21E3B; Wed, 27 Sep 2017 14:19:32 +0000 (UTC)",
            "from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id 3466DC21D64;\n\tWed, 27 Sep 2017 14:18:44 +0000 (UTC)",
            "by lists.denx.de (Postfix, from userid 105)\n\tid 1F579C21C51; Wed, 27 Sep 2017 14:18:10 +0000 (UTC)",
            "from mail-out.m-online.net (mail-out.m-online.net [212.18.0.10])\n\tby lists.denx.de (Postfix) with ESMTPS id B4E8FC21C46\n\tfor <u-boot@lists.denx.de>; Wed, 27 Sep 2017 14:18:09 +0000 (UTC)",
            "from frontend01.mail.m-online.net (unknown [192.168.8.182])\n\tby mail-out.m-online.net (Postfix) with ESMTP id 3y2Kfn440Fz1qsWP\n\tfor <u-boot@lists.denx.de>; Wed, 27 Sep 2017 16:18:09 +0200 (CEST)",
            "from localhost (dynscan1.mnet-online.de [192.168.6.70])\n\tby mail.m-online.net (Postfix) with ESMTP id 3y2Kfn3z9Sz1r0wy\n\tfor <u-boot@lists.denx.de>; Wed, 27 Sep 2017 16:18:09 +0200 (CEST)",
            "from mail.mnet-online.de ([192.168.8.182])\n\tby localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new,\n\tport 10024) with ESMTP id UL8hjytFV2zt for <u-boot@lists.denx.de>;\n\tWed, 27 Sep 2017 16:18:00 +0200 (CEST)",
            "from janitor.denx.de (unknown [62.91.23.180])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256\n\tbits)) (No client certificate requested)\n\tby mail.mnet-online.de (Postfix) with ESMTPSA\n\tfor <u-boot@lists.denx.de>; Wed, 27 Sep 2017 16:18:00 +0200 (CEST)",
            "by janitor.denx.de (Postfix, from userid 119)\n\tid 824AC4B3; Wed, 27 Sep 2017 16:17:59 +0200 (CEST)",
            "from gemini.denx.de (gemini.denx.de [10.4.0.2])\n\tby janitor.denx.de (Postfix) with ESMTPS id 12D9047A;\n\tWed, 27 Sep 2017 16:15:34 +0200 (CEST)",
            "by gemini.denx.de (Postfix, from userid 500)\n\tid C468C12036F; Wed, 27 Sep 2017 16:15:33 +0200 (CEST)"
        ],
        "X-Spam-Checker-Version": "SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de",
        "X-Spam-Level": "",
        "X-Spam-Status": "No, score=-0.7 required=5.0 tests=KHOP_BIG_TO_CC,\n\tRCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3,\n\tRCVD_IN_MSPIKE_WL autolearn=unavailable\n\tautolearn_force=no version=3.4.0",
        "X-Virus-Scanned": "amavisd-new at mnet-online.de",
        "X-Auth-Info": "dXUfM9IvrgadHywnE1Zu2dRcqUiSqZQ/tLoqUBAuEYY=",
        "From": "Wolfgang Denk <wd@denx.de>",
        "To": "u-boot@lists.denx.de",
        "Date": "Wed, 27 Sep 2017 16:15:21 +0200",
        "Message-Id": "<20170927141524.5920-3-wd@denx.de>",
        "X-Mailer": "git-send-email 2.13.5",
        "In-Reply-To": "<20170927141524.5920-1-wd@denx.de>",
        "References": "<1506263222-7080-1-git-send-email-trini@konsulko.com>\n\t<20170927141524.5920-1-wd@denx.de>",
        "MIME-Version": "1.0",
        "X-Mailman-Approved-At": "Wed, 27 Sep 2017 14:18:42 +0000",
        "Cc": "Prafulla Wadaskar <prafulla@marvell.com>,\n\tVipin Kumar <vk.vipin@gmail.com>, \n\tAlexey Brodkin <alexey.brodkin@synopsys.com>,\n\tPantelis Antoniou <panto@antoniou-consulting.com>,\n\tJoe Hershberger <joe.hershberger@ni.com>,\n\tPrzemyslaw Marczak <p.marczak@samsung.com>,\n\tKim Phillips <kim.phillips@freescale.com>,\n\tJagan Teki <jteki@openedev.com>, \n\tStefan Roese <sr@denx.de>, Marek Vasut <marex@denx.de>,\n\tTom Rini <trini@konsulko.com>, Angelo Dureghello <angelo@sysam.it>,\n\tMacpaul Lin <macpaul@andestech.com>,\n\tAndre Przywara <andre.przywara@arm.com>, \n\tSonic Zhang <sonic.adi@gmail.com>, Scott Wood <scottwood@freescale.com>, \n\tKyungmin Park <kmpark@infradead.org>,\n\tHuan Wang <alison.wang@freescale.com>, \n\tVagrant Cascadian <vagrant@debian.org>, Tom Warren <TWarren@nvidia.com>, \n\tYork Sun <yorksun@freescale.com>",
        "Subject": "[U-Boot] [PATCH 2/5] Revert \"dtc: Switch to building and using our\n\town dtc unless provided\"",
        "X-BeenThere": "u-boot@lists.denx.de",
        "X-Mailman-Version": "2.1.18",
        "Precedence": "list",
        "List-Id": "U-Boot discussion <u-boot.lists.denx.de>",
        "List-Unsubscribe": "<https://lists.denx.de/options/u-boot>,\n\t<mailto:u-boot-request@lists.denx.de?subject=unsubscribe>",
        "List-Archive": "<http://lists.denx.de/pipermail/u-boot/>",
        "List-Post": "<mailto:u-boot@lists.denx.de>",
        "List-Help": "<mailto:u-boot-request@lists.denx.de?subject=help>",
        "List-Subscribe": "<https://lists.denx.de/listinfo/u-boot>,\n\t<mailto:u-boot-request@lists.denx.de?subject=subscribe>",
        "Content-Type": "text/plain; charset=\"utf-8\"",
        "Content-Transfer-Encoding": "base64",
        "Errors-To": "u-boot-bounces@lists.denx.de",
        "Sender": "\"U-Boot\" <u-boot-bounces@lists.denx.de>"
    },
    "content": "This reverts commit 36dd5f1b8abcd0aa5f8490b3ef1e4e7ecce2eb8c.\n\nThis patch is part of a series which has never been reviewed and\nhas not been generally accepted by the community.\n\nSigned-off-by: Wolfgang Denk <wd@denx.de>\n\nCc: Albert Aribaud <albert.u.boot@aribaud.net>\nCc: Alexander Graf <agraf@suse.de>\nCc: Alexey Brodkin <alexey.brodkin@synopsys.com>\nCc: Anatolij Gustschin <agust@denx.de>\nCc: Andre Przywara <andre.przywara@arm.com>,\nCc: Andreas Bießmann <andreas.devel@googlemail.com>\nCc: Angelo Dureghello <angelo@sysam.it>\nCc: Bin Meng <bmeng.cn@gmail.com>\nCc: Daniel Hellstrom <daniel@gaisler.com>\nCc: Daniel Schwierzeck <daniel.schwierzeck@googlemail.com>\nCc: Heiko Schocher <hs@denx.de>\nCc: Heinrich Schuchardt <xypron.debian@gmx.de>\nCc: Huan Wang <alison.wang@freescale.com>\nCc: Jagan Teki <jteki@openedev.com>\nCc: Joe Hershberger <joe.hershberger@ni.com>\nCc: Kim Phillips <kim.phillips@freescale.com>\nCc: Kyungmin Park <kmpark@infradead.org>\nCc: Lukasz Majewski <lukma@denx.de>\nCc: Macpaul Lin <macpaul@andestech.com>\nCc: Marek Vasut <marek.vasut@gmail.com>\nCc: Marek Vasut <marex@denx.de>\nCc: Masahiro Yamada <yamada.masahiro@socionext.com>\nCc: Michal Simek <monstr@monstr.eu>\nCc: Minkyu Kang <mk7.kang@samsung.com>\nCc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>\nCc: Pantelis Antoniou <panto@antoniou-consulting.com>\nCc: Prafulla Wadaskar <prafulla@marvell.com>\nCc: Przemyslaw Marczak <p.marczak@samsung.com>\nCc: Robert Nelson <robertcnelson@gmail.com>\nCc: Scott Wood  <scottwood@freescale.com>\nCc: Simon Glass <sjg@chromium.org>\nCc: Sonic Zhang <sonic.adi@gmail.com>\nCc: Stanislav Galabov <sgalabov@gmail.com>\nCc: Stefan Roese <sr@denx.de>\nCc: Stefano Babic <sbabic@denx.de>\nCc: Stephen Warren <swarren@wwwdotorg.org>\nCc: Thomas Chou <thomas@wytron.com.tw>\nCc: Tom Rini <trini@konsulko.com>\nCc: Tom Warren <TWarren@nvidia.com>\nCc: u-boot@lists.denx.de\nCc: Vagrant Cascadian <vagrant@debian.org>\nCc: Vipin Kumar <vk.vipin@gmail.com>\nCc: York Sun <yorksun@freescale.com>\n---\n .travis.yml      |  6 ++++--\n Makefile         | 10 ++++++++--\n dts/Kconfig      |  4 ----\n scripts/Makefile |  1 -\n 4 files changed, 12 insertions(+), 9 deletions(-)",
    "diff": "diff --git a/.travis.yml b/.travis.yml\nindex 00b2a73a5e..9dfd016da0 100644\n--- a/.travis.yml\n+++ b/.travis.yml\n@@ -26,9 +26,11 @@ addons:\n     - grub-efi-ia32-bin\n     - rpm2cpio\n     - wget\n-    - device-tree-compiler\n \n install:\n+ # install latest device tree compiler\n+ - git clone --depth=1 -b v1.4.3 git://git.kernel.org/pub/scm/utils/dtc/dtc.git /tmp/dtc\n+ - make -j4 -C /tmp/dtc\n  # Clone uboot-test-hooks\n  - git clone --depth=1 git://github.com/swarren/uboot-test-hooks.git /tmp/uboot-test-hooks\n  - ln -s travis-ci /tmp/uboot-test-hooks/bin/`hostname`\n@@ -49,7 +51,7 @@ install:\n \n env:\n   global:\n-    - PATH=/tmp/qemu-install/bin:/tmp/uboot-test-hooks/bin:/usr/bin:/bin\n+    - PATH=/tmp/dtc:/tmp/qemu-install/bin:/tmp/uboot-test-hooks/bin:/usr/bin:/bin\n     - PYTHONPATH=/tmp/uboot-test-hooks/py/travis-ci\n     - BUILD_DIR=build\n     - HOSTCC=\"cc\"\ndiff --git a/Makefile b/Makefile\nindex b7d5cbb3f9..e058e9854b 100644\n--- a/Makefile\n+++ b/Makefile\n@@ -349,7 +349,7 @@ OBJDUMP\t\t= $(CROSS_COMPILE)objdump\n AWK\t\t= awk\n PERL\t\t= perl\n PYTHON\t\t?= python\n-DTC\t\t?= $(objtree)/scripts/dtc/dtc\n+DTC\t\t?= dtc\n CHECK\t\t= sparse\n \n CHECKFLAGS     := -D__linux__ -Dlinux -D__STDC__ -Dunix -D__unix__ \\\n@@ -872,7 +872,7 @@ endif\n PHONY += dtbs\n dtbs: dts/dt.dtb\n \t@:\n-dts/dt.dtb: u-boot\n+dts/dt.dtb: checkdtc u-boot\n \t$(Q)$(MAKE) $(build)=dts dtbs\n \n quiet_cmd_copy = COPY    $@\n@@ -1447,6 +1447,12 @@ SYSTEM_MAP = \\\n System.map:\tu-boot\n \t\t@$(call SYSTEM_MAP,$<) > $@\n \n+checkdtc:\n+\t@if test $(call dtc-version) -lt 010403; then \\\n+\t\techo '*** Your dtc is too old, please upgrade to dtc 1.4.3 or newer'; \\\n+\t\tfalse; \\\n+\tfi\n+\n #########################################################################\n \n # ARM relocations should all be R_ARM_RELATIVE (32-bit) or\ndiff --git a/dts/Kconfig b/dts/Kconfig\nindex 44fc9fe36d..b4b7ddc144 100644\n--- a/dts/Kconfig\n+++ b/dts/Kconfig\n@@ -5,15 +5,11 @@\n config SUPPORT_OF_CONTROL\n \tbool\n \n-config DTC\n-\tbool\n-\n menu \"Device Tree Control\"\n \tdepends on SUPPORT_OF_CONTROL\n \n config OF_CONTROL\n \tbool \"Run-time configuration via Device Tree\"\n-\tselect DTC\n \thelp\n \t  This feature provides for run-time configuration of U-Boot\n \t  via a flattened device tree.\ndiff --git a/scripts/Makefile b/scripts/Makefile\nindex 9d55241463..3e10c16d59 100644\n--- a/scripts/Makefile\n+++ b/scripts/Makefile\n@@ -21,4 +21,3 @@ build_docproc: $(obj)/docproc\n \n # Let clean descend into subdirs\n subdir-\t+= basic kconfig\n-subdir-$(CONFIG_DTC)\t+= dtc\n",
    "prefixes": [
        "U-Boot",
        "2/5"
    ]
}