get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 613862,
    "url": "http://patchwork.ozlabs.org/api/patches/613862/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/buildroot/patch/1461358223-18312-10-git-send-email-s.martin49@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": "<1461358223-18312-10-git-send-email-s.martin49@gmail.com>",
    "list_archive_url": null,
    "date": "2016-04-22T20:50:21",
    "name": "[v9,09/11] core: add check-leaks-in-{target, host, staging} targets",
    "commit_ref": null,
    "pull_url": null,
    "state": "changes-requested",
    "archived": false,
    "hash": "3116f5500616d812256fddd5071dae2d9161c4c0",
    "submitter": {
        "id": 12868,
        "url": "http://patchwork.ozlabs.org/api/people/12868/?format=api",
        "name": "Samuel Martin",
        "email": "s.martin49@gmail.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/buildroot/patch/1461358223-18312-10-git-send-email-s.martin49@gmail.com/mbox/",
    "series": [],
    "comments": "http://patchwork.ozlabs.org/api/patches/613862/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/613862/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"
        ],
        "Received": [
            "from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133])\n\tby ozlabs.org (Postfix) with ESMTP id 3qs77t6zMQz9sCk\n\tfor <incoming@patchwork.ozlabs.org>;\n\tSat, 23 Apr 2016 06:51:22 +1000 (AEST)",
            "from localhost (localhost [127.0.0.1])\n\tby hemlock.osuosl.org (Postfix) with ESMTP id 020E2966BE;\n\tFri, 22 Apr 2016 20:51:19 +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 3sSPtq+b7RWR; Fri, 22 Apr 2016 20:51:14 +0000 (UTC)",
            "from ash.osuosl.org (ash.osuosl.org [140.211.166.34])\n\tby hemlock.osuosl.org (Postfix) with ESMTP id 190F39669E;\n\tFri, 22 Apr 2016 20:50:58 +0000 (UTC)",
            "from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137])\n\tby ash.osuosl.org (Postfix) with ESMTP id 145661C1750\n\tfor <buildroot@lists.busybox.net>;\n\tFri, 22 Apr 2016 20:50:50 +0000 (UTC)",
            "from localhost (localhost [127.0.0.1])\n\tby fraxinus.osuosl.org (Postfix) with ESMTP id 04B62C0079\n\tfor <buildroot@lists.busybox.net>;\n\tFri, 22 Apr 2016 20:50:50 +0000 (UTC)",
            "from fraxinus.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id 8Pot66drMdHv for <buildroot@lists.busybox.net>;\n\tFri, 22 Apr 2016 20:50:49 +0000 (UTC)",
            "from mail-wm0-f65.google.com (mail-wm0-f65.google.com\n\t[74.125.82.65])\n\tby fraxinus.osuosl.org (Postfix) with ESMTPS id 4F1BBC002F\n\tfor <buildroot@buildroot.org>; Fri, 22 Apr 2016 20:50:49 +0000 (UTC)",
            "by mail-wm0-f65.google.com with SMTP id w143so5970648wmw.3\n\tfor <buildroot@buildroot.org>; Fri, 22 Apr 2016 13:50:49 -0700 (PDT)",
            "from bobook.localdomain (ivr94-4-82-229-165-48.fbx.proxad.net.\n\t[82.229.165.48]) by smtp.gmail.com with ESMTPSA id\n\tiv1sm9826507wjb.34.2016.04.22.13.50.46\n\t(version=TLSv1/SSLv3 cipher=OTHER);\n\tFri, 22 Apr 2016 13:50:46 -0700 (PDT)"
        ],
        "Authentication-Results": "ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n\tunprotected) header.d=gmail.com header.i=@gmail.com header.b=pS/vbtoI;\n\tdkim-atps=neutral",
        "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=20120113;\n\th=from:to:cc:subject:date:message-id:in-reply-to:references;\n\tbh=w/uUKybluPCaTLGSsDBVL5dK4oVhUPrcj3X88AkLq/w=;\n\tb=pS/vbtoIetneGm1WpaSmXvBZL2SwmjBZpOL/cVnGRHOqbycQhZPX1x56+1/Euw5iqm\n\td1EK8KBAHoCiQT1oBe2YGc53fPkZzlU9HkrMOyZveGLW7aeFdAKq5yBEhf3iVhYUB4iO\n\tkB29NfROLb9fJqFz6XfZS73bFh1m1d/ziBcvvr3v/qIFQX2fgJycBtrTJKrL5MqdDe9D\n\teUGsAmWDafJhPpqGk7H4Y2lgJ2Nkc1FqzylT1Qdy3+q74hDKNdFK/NvQmUn0x9x+CiBb\n\tdDYAZOUy31ly4DDSNNVAI+VZjGlt2ix6cqbnPn6ARpe0W8Aj/S3w1qKKAeWE5+DTieDx\n\tMWcA==",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20130820;\n\th=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to\n\t:references;\n\tbh=w/uUKybluPCaTLGSsDBVL5dK4oVhUPrcj3X88AkLq/w=;\n\tb=b5W4IgB0D7vc16zLdm0rrmnJR2tqn6ZSdioHhlsDK9aPtR3YYe9CdCzHOvfX8xgQz2\n\tyQShCq62AauIm8+IkPUZlCUys6ijOixTbRA1gFAmuNeSEyWdrvaA08bzPdHhLJmj2PJP\n\tJJjHft5Mh4P9SimIWP/Gz9ZrTPx0cwHFKmj7bKmSoLwyiQLhN+lVZ6FpLLBKswE3vRXQ\n\tLxM0PFn+EpUF3sjfWjRgXeAyWyAvIuwsC2GsK1USep6GLtiXQOrQlFK9ITmfHZM7yCZs\n\tuR6maGlVIvL4JrDVnQqgn/HGv2mRV/mNbpcQGtauZKCZ94vmZmM90Xpqx/TQFCRnGA+g\n\tzpVQ==",
        "X-Gm-Message-State": "AOPr4FWkQwdgioHG0NNTU3KmRpgjG4a+WJ5nC6Ih2u0sF04DVaXON9IPfG6jNec4sk4eJg==",
        "X-Received": "by 10.194.178.233 with SMTP id db9mr22219127wjc.11.1461358248001;\n\tFri, 22 Apr 2016 13:50:48 -0700 (PDT)",
        "From": "Samuel Martin <s.martin49@gmail.com>",
        "To": "buildroot@buildroot.org",
        "Date": "Fri, 22 Apr 2016 22:50:21 +0200",
        "Message-Id": "<1461358223-18312-10-git-send-email-s.martin49@gmail.com>",
        "X-Mailer": "git-send-email 2.8.0",
        "In-Reply-To": "<1461358223-18312-1-git-send-email-s.martin49@gmail.com>",
        "References": "<1461358223-18312-1-git-send-email-s.martin49@gmail.com>",
        "Subject": "[Buildroot] [PATCH v9 09/11] core: add check-leaks-in-{target, host,\n\tstaging} targets",
        "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": "This new targets allow identifying what need to be fixed to fulfill the\nultimate goal of removing any trace of the host in the target filesystem\nor the SDK.\n\nSigned-off-by: Samuel Martin <s.martin49@gmail.com>\n\n---\nchanges v8->v9:\n- none\n\nchanges v7->v8:\n- update the check-host-leak script call\n\nchanges v6->v7:\n- none\n\nchanges v5->v6:\n- new patch\n---\n Makefile             | 15 +++++++++++++++\n package/pkg-utils.mk |  5 +++++\n 2 files changed, 20 insertions(+)",
    "diff": "diff --git a/Makefile b/Makefile\nindex e92826f..a986c49 100644\n--- a/Makefile\n+++ b/Makefile\n@@ -651,6 +651,21 @@ endef\n TARGET_FINALIZE_HOOKS += PURGE_LOCALES\n endif\n \n+# Checks for build machine leaks into target filesystem, SDK\n+check-leaks-in-target:\n+\t@$(call MESSAGE,Checking leaks in the target)\n+\t$(Q)$(call check-for-build-machine-leaks-in,$(TARGET_DIR))\n+\n+check-leaks-in-host:\n+\t@$(call MESSAGE,Checking leaks in the host)\n+\t$(Q)$(call check-for-build-machine-leaks-in,$(HOST_DIR),--exclude=$(STAGING_DIR))\n+\n+check-leaks-in-staging:\n+\t@$(call MESSAGE,Checking leaks in the staging)\n+\t$(Q)$(call check-for-build-machine-leaks-in,$(STAGING_DIR))\n+\n+check-leaks:\tcheck-leaks-in-target check-leaks-in-host check-leaks-in-staging\n+\n # Function sanitizing target/staging ELF files' RPATH.\n # i.e. it removes paths pointing to the staging or build location from the ELF\n # files' RPATH.\ndiff --git a/package/pkg-utils.mk b/package/pkg-utils.mk\nindex f88313a..8b80028 100644\n--- a/package/pkg-utils.mk\n+++ b/package/pkg-utils.mk\n@@ -150,3 +150,8 @@ define legal-license-file # pkg, filename, file-fullpath, {HOST|TARGET}\n \tmkdir -p $(LICENSE_FILES_DIR_$(4))/$(1)/$(dir $(2)) && \\\n \tcp $(3) $(LICENSE_FILES_DIR_$(4))/$(1)/$(2)\n endef\n+\n+define check-for-build-machine-leaks-in\n+\t$(TOPDIR)/support/scripts/check-host-leaks $(1) \\\n+\t\t$(TOPDIR) $(BASE_DIR) $(HOST_DIR) $(STAGING_DIR) $(2)\n+endef\n",
    "prefixes": [
        "v9",
        "09/11"
    ]
}