get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 807855,
    "url": "http://patchwork.ozlabs.org/api/patches/807855/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/buildroot/patch/20170830183249.8257-1-marcus.folkesson@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": "<20170830183249.8257-1-marcus.folkesson@gmail.com>",
    "list_archive_url": null,
    "date": "2017-08-30T18:32:49",
    "name": "libostree: new package",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": false,
    "hash": "a300f1512e4e038870451819ebadf4b903a0abe9",
    "submitter": {
        "id": 46679,
        "url": "http://patchwork.ozlabs.org/api/people/46679/?format=api",
        "name": "Marcus Folkesson",
        "email": "marcus.folkesson@gmail.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/buildroot/patch/20170830183249.8257-1-marcus.folkesson@gmail.com/mbox/",
    "series": [
        {
            "id": 684,
            "url": "http://patchwork.ozlabs.org/api/series/684/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/buildroot/list/?series=684",
            "date": "2017-08-30T18:32:49",
            "name": "libostree: new package",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/684/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/807855/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/807855/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=\"U1s1xCQC\"; 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 3xjDdw1Bmdz9sMN\n\tfor <incoming@patchwork.ozlabs.org>;\n\tThu, 31 Aug 2017 04:33:07 +1000 (AEST)",
            "from localhost (localhost [127.0.0.1])\n\tby hemlock.osuosl.org (Postfix) with ESMTP id B5F0D899D3;\n\tWed, 30 Aug 2017 18:33:02 +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 0ENoOWzRHlAl; Wed, 30 Aug 2017 18:33:01 +0000 (UTC)",
            "from ash.osuosl.org (ash.osuosl.org [140.211.166.34])\n\tby hemlock.osuosl.org (Postfix) with ESMTP id EDE938996B;\n\tWed, 30 Aug 2017 18:33:00 +0000 (UTC)",
            "from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138])\n\tby ash.osuosl.org (Postfix) with ESMTP id ABB8D1BFE1F\n\tfor <buildroot@lists.busybox.net>;\n\tWed, 30 Aug 2017 18:32:59 +0000 (UTC)",
            "from localhost (localhost [127.0.0.1])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id A4E0487903\n\tfor <buildroot@lists.busybox.net>;\n\tWed, 30 Aug 2017 18:32:59 +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 fuzoIXJFfQw2 for <buildroot@lists.busybox.net>;\n\tWed, 30 Aug 2017 18:32:58 +0000 (UTC)",
            "from mail-lf0-f50.google.com (mail-lf0-f50.google.com\n\t[209.85.215.50])\n\tby whitealder.osuosl.org (Postfix) with ESMTPS id 6A8F987863\n\tfor <buildroot@buildroot.org>; Wed, 30 Aug 2017 18:32:58 +0000 (UTC)",
            "by mail-lf0-f50.google.com with SMTP id z12so27680370lfd.3\n\tfor <buildroot@buildroot.org>; Wed, 30 Aug 2017 11:32:58 -0700 (PDT)",
            "from localhost.localdomain (c-2ec27fd4-74736162.cust.telenor.se.\n\t[46.194.127.212])\n\tby smtp.gmail.com with ESMTPSA id 7sm1206160lje.5.2017.08.30.11.32.54\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tWed, 30 Aug 2017 11:32:55 -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;\n\tbh=xyfYI7OkUe95S1ppsxNI/LKrD1CoxQ3uddr53bxqyIQ=;\n\tb=U1s1xCQCu+v3NEDusazXvNqcW08zaZVydWw+tqemlNI17QtushEe1cLQF8mTRxaLY8\n\tPVcKmV2/0i19+hZaKI+5MAP9Rv0O9dx9haVr5FZbsPBf7SW/Mrqcsxf3l37V4BpVN9qD\n\tV12Jp4DmHLF3zj0zfrvfU8jZySijSsV40VoZR+2d9XuwsHSalR+9tphBby6MG68PLMyd\n\tTDGUX+Y7aqnWzirhlLWetnOIalzJ/UlQ+6byMtNjOdfSbQlPI7Xof66vXdhutovRUof+\n\tgCnfSIhj/n1WNOKvQ1Pa+9jANybCY99k89KTFeWLXgRdPzUAXNnN1xo9M4Dep7czuouj\n\t7dIQ==",
        "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;\n\tbh=xyfYI7OkUe95S1ppsxNI/LKrD1CoxQ3uddr53bxqyIQ=;\n\tb=ap//g1Clfdrwvz9V8Cx7cEtF5bLwgt17iI7OQh41//9wn0g8QF3LEfrwOBwIcibokY\n\tXoD6dKodmgaVbCgqQhCJO8ddd78JVjoZK4I9rN5pqNbC+6DwcO8nb4jD2s8gG2J/dgl6\n\tjRvvWNya1eBIoDxcGSQui8vGXJWY9V+hVVptSMneVIuslu86zBrQ0FK1RddSRvuljhBl\n\t/1n2PfQZC15+eok2FUbuv8IbRy1zR6RvfuLpn+6f3Ewsov4s3+fwhQZ+LAJoJsOyycH1\n\taol7YaIsSnDxCGfGl/t78peGdMWGHx3oGmNl7XeWCBJwthZ4ejQa7H56rlg1m/229hZk\n\tMpJg==",
        "X-Gm-Message-State": "AHYfb5ilfHtMxIlICUfHiPac4Cy6e9StMhovhLaexo9DghzqyiSlOz2C\n\t5qJxc7GC2hS2YUzA",
        "X-Received": "by 10.46.86.212 with SMTP id k81mr1002140lje.105.1504117976317; \n\tWed, 30 Aug 2017 11:32:56 -0700 (PDT)",
        "From": "Marcus Folkesson <marcus.folkesson@gmail.com>",
        "To": "buildroot@buildroot.org",
        "Date": "Wed, 30 Aug 2017 20:32:49 +0200",
        "Message-Id": "<20170830183249.8257-1-marcus.folkesson@gmail.com>",
        "X-Mailer": "git-send-email 2.13.1",
        "Cc": "Marcus Folkesson <marcus.folkesson@gmail.com>",
        "Subject": "[Buildroot] [PATCH] libostree: new package",
        "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": "OSTree is an upgrade system for Linux-based operating systems\n\nSigned-off-by: Marcus Folkesson <marcus.folkesson@gmail.com>\n---\n DEVELOPERS                                         |  3 ++\n package/Config.in                                  |  1 +\n ...Use-autoreconf-from-the-build-environment.patch | 42 ++++++++++++++++++++++\n package/libostree/Config.in                        | 12 +++++++\n package/libostree/libostree.mk                     | 22 ++++++++++++\n 5 files changed, 80 insertions(+)\n create mode 100644 package/libostree/0001-Use-autoreconf-from-the-build-environment.patch\n create mode 100644 package/libostree/Config.in\n create mode 100644 package/libostree/libostree.mk",
    "diff": "diff --git a/DEVELOPERS b/DEVELOPERS\nindex f3944e2748..a1cfd9e1bb 100644\n--- a/DEVELOPERS\n+++ b/DEVELOPERS\n@@ -1100,6 +1100,9 @@ F:\tpackage/turbolua/\n N:\tMarcin Nowakowski <marcin.nowakowski@imgtec.com>\n F:\tpackage/libkcapi/\n \n+N:\tMarcus Folkesson <marcus.folkesson@gmail.com>\n+F:\tpackage/libostree/\n+\n N:\tMarek Belisko <marek.belisko@open-nandra.com>\n F:\tpackage/libatasmart/\n F:\tpackage/polkit/\ndiff --git a/package/Config.in b/package/Config.in\nindex a0868d92ee..12cd6187a5 100644\n--- a/package/Config.in\n+++ b/package/Config.in\n@@ -1883,6 +1883,7 @@ menu \"System tools\"\n \tsource \"package/numactl/Config.in\"\n \tsource \"package/nut/Config.in\"\n \tsource \"package/openvmtools/Config.in\"\n+\tsource \"package/libostree/Config.in\"\n \tsource \"package/polkit/Config.in\"\n \tsource \"package/powerpc-utils/Config.in\"\n \tsource \"package/procps-ng/Config.in\"\ndiff --git a/package/libostree/0001-Use-autoreconf-from-the-build-environment.patch b/package/libostree/0001-Use-autoreconf-from-the-build-environment.patch\nnew file mode 100644\nindex 0000000000..36d9b3f15e\n--- /dev/null\n+++ b/package/libostree/0001-Use-autoreconf-from-the-build-environment.patch\n@@ -0,0 +1,42 @@\n+From e4b940cc02776edee63c5a706746dc237862151d Mon Sep 17 00:00:00 2001\n+From: Marcus Folkesson <marcus.folkesson@gmail.com>\n+Date: Wed, 30 Aug 2017 19:20:35 +0200\n+Subject: [PATCH] Use autoreconf from the build environment\n+\n+OSTree workarounds a bug in automake in their autogen.sh file.\n+Use the script but do not call autoreconf from it.\n+\n+Signed-off-by: Marcus Folkesson <marcus.folkesson@gmail.com>\n+---\n+ autogen.sh | 11 -----------\n+ 1 file changed, 11 deletions(-)\n+\n+diff --git a/autogen.sh b/autogen.sh\n+index 17f6abf4..0dfbb15a 100755\n+--- a/autogen.sh\n++++ b/autogen.sh\n+@@ -6,12 +6,6 @@ test -n \"$srcdir\" || srcdir=.\n+ olddir=`pwd`\n+ cd $srcdir\n+ \n+-AUTORECONF=`which autoreconf`\n+-if test -z $AUTORECONF; then\n+-        echo \"*** No autoreconf found, please install it ***\"\n+-        exit 1\n+-fi\n+-\n+ set -e\n+ \n+ mkdir -p m4\n+@@ -37,8 +31,3 @@ sed -e 's,$(libbsdiff_srcpath),bsdiff,g' < bsdiff/Makefile-bsdiff.am >bsdiff/Mak\n+ \n+ # FIXME - figure out how to get aclocal to find this by default\n+ ln -sf ../libglnx/libglnx.m4 buildutil/libglnx.m4\n+-\n+-autoreconf --force --install --verbose\n+-\n+-cd $olddir\n+-test -n \"$NOCONFIGURE\" || \"$srcdir/configure\" \"$@\"\n+-- \n+2.13.1\n+\ndiff --git a/package/libostree/Config.in b/package/libostree/Config.in\nnew file mode 100644\nindex 0000000000..520e76ce6a\n--- /dev/null\n+++ b/package/libostree/Config.in\n@@ -0,0 +1,12 @@\n+config BR2_PACKAGE_LIBOSTREE\n+\tbool \"libostree\"\n+\tselect BR2_PACKAGE_LIBGLIB2\n+\tselect BR2_PACKAGE_PKGCONF\n+\tselect BR2_PACKAGE_XZ\n+\tselect BR2_PACKAGE_E2FSPROGS\n+\tselect BR2_PACKAGE_LIBFUSE\n+\tselect BR2_PACKAGE_LIBGPGME\n+\thelp\n+\t  OSTree is an upgrade system for Linux-based operating systems.\n+\n+\t  https://ostree.readthedocs.io/en/latest/\ndiff --git a/package/libostree/libostree.mk b/package/libostree/libostree.mk\nnew file mode 100644\nindex 0000000000..28d80343b7\n--- /dev/null\n+++ b/package/libostree/libostree.mk\n@@ -0,0 +1,22 @@\n+################################################################################\n+#\n+# libostree\n+#\n+################################################################################\n+\n+LIBOSTREE_VERSION = v2017.10\n+LIBOSTREE_SITE = https://github.com/ostreedev/ostree.git\n+LIBOSTREE_SITE_METHOD = git\n+LIBOSTREE_GIT_SUBMODULES = yes\n+LIBOSTREE_LICENSE = GPLv2\n+LIBOSTREE_LICENSE_FILES = COPYING\n+LIBOSTREE_AUTORECONF = YES\n+LIBOSTREE_DEPENDENCIES = libgpgme libglib2 xz libfuse pkgconf\n+\n+# Use their special autogen.sh script to workaround automake bug with subdir-objects and computed paths\n+define LIBOSTREE_RUN_AUTOGEN\n+\tcd $(@D) && PATH=$(BR_PATH) ./autogen.sh\n+endef\n+LIBOSTREE_PRE_CONFIGURE_HOOKS += LIBOSTREE_RUN_AUTOGEN\n+\n+$(eval $(autotools-package))\n",
    "prefixes": []
}