get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 1235101,
    "url": "http://patchwork.ozlabs.org/api/patches/1235101/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/buildroot/patch/20200207180829.165689-8-arnout@mind.be/",
    "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": "<20200207180829.165689-8-arnout@mind.be>",
    "list_archive_url": null,
    "date": "2020-02-07T18:08:26",
    "name": "[v3,07/10] package/cargo: drop package",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "075fd54a748d12c3369abfd97b5d77670f3e016e",
    "submitter": {
        "id": 11809,
        "url": "http://patchwork.ozlabs.org/api/people/11809/?format=api",
        "name": "Arnout Vandecappelle",
        "email": "arnout@mind.be"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/buildroot/patch/20200207180829.165689-8-arnout@mind.be/mbox/",
    "series": [
        {
            "id": 157387,
            "url": "http://patchwork.ozlabs.org/api/series/157387/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/buildroot/list/?series=157387",
            "date": "2020-02-07T18:08:19",
            "name": "Merge rust and cargo",
            "version": 3,
            "mbox": "http://patchwork.ozlabs.org/series/157387/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/1235101/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/1235101/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<buildroot-bounces@busybox.net>",
        "X-Original-To": [
            "incoming-buildroot@patchwork.ozlabs.org",
            "buildroot@lists.busybox.net"
        ],
        "Delivered-To": [
            "patchwork-incoming-buildroot@bilbo.ozlabs.org",
            "buildroot@osuosl.org"
        ],
        "Authentication-Results": [
            "ozlabs.org; spf=pass (sender SPF authorized)\n\tsmtp.mailfrom=busybox.net (client-ip=140.211.166.133;\n\thelo=hemlock.osuosl.org;\n\tenvelope-from=buildroot-bounces@busybox.net;\n\treceiver=<UNKNOWN>)",
            "ozlabs.org;\n\tdmarc=none (p=none dis=none) header.from=mind.be",
            "ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n\tunprotected) header.d=mind.be header.i=@mind.be header.a=rsa-sha256\n\theader.s=google header.b=eJjAwoaf; dkim-atps=neutral"
        ],
        "Received": [
            "from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256\n\tbits)) (No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 48DjyQ5p50z9sRh\n\tfor <incoming-buildroot@patchwork.ozlabs.org>;\n\tSat,  8 Feb 2020 05:10:22 +1100 (AEDT)",
            "from localhost (localhost [127.0.0.1])\n\tby hemlock.osuosl.org (Postfix) with ESMTP id E3EB387ED0;\n\tFri,  7 Feb 2020 18:10:17 +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 gSNLGpQ7B7cg; Fri,  7 Feb 2020 18:10:15 +0000 (UTC)",
            "from ash.osuosl.org (ash.osuosl.org [140.211.166.34])\n\tby hemlock.osuosl.org (Postfix) with ESMTP id 6035A87D57;\n\tFri,  7 Feb 2020 18:10:15 +0000 (UTC)",
            "from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137])\n\tby ash.osuosl.org (Postfix) with ESMTP id B295C1BF38E\n\tfor <buildroot@lists.busybox.net>;\n\tFri,  7 Feb 2020 18:10:11 +0000 (UTC)",
            "from localhost (localhost [127.0.0.1])\n\tby fraxinus.osuosl.org (Postfix) with ESMTP id D498E84627\n\tfor <buildroot@lists.busybox.net>;\n\tFri,  7 Feb 2020 18:09:32 +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 2sWLkBqwczjX for <buildroot@lists.busybox.net>;\n\tFri,  7 Feb 2020 18:09:23 +0000 (UTC)",
            "from mail-wr1-f49.google.com (mail-wr1-f49.google.com\n\t[209.85.221.49])\n\tby fraxinus.osuosl.org (Postfix) with ESMTPS id C79BF845C0\n\tfor <buildroot@buildroot.org>; Fri,  7 Feb 2020 18:09:12 +0000 (UTC)",
            "by mail-wr1-f49.google.com with SMTP id y11so3756627wrt.6\n\tfor <buildroot@buildroot.org>; Fri, 07 Feb 2020 10:09:12 -0800 (PST)",
            "from localhost.localdomain (ip-188-118-3-185.reverse.destiny.be.\n\t[188.118.3.185]) by smtp.gmail.com with ESMTPSA id\n\tz6sm4483955wrw.36.2020.02.07.10.09.10\n\t(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n\tFri, 07 Feb 2020 10:09:10 -0800 (PST)"
        ],
        "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=mind.be; s=google;\n\th=from:to:cc:subject:date:message-id:in-reply-to:references\n\t:mime-version:content-transfer-encoding;\n\tbh=AywkNe6JFPRK2uEPDC9nKij36u/gtjGnqqFvAxNTQYY=;\n\tb=eJjAwoafd42MhVcWXYdXLc2BrNLPUJRyCGFOcyPzTINL0pNXYlJMOP9Di3dWh6N1u3\n\thMbvfOR6M80fkD5svtsXp5vCO9km/E22ZFIQhQD4O+6P/Jt8iJPsIYRr5rzkW1ej2PrK\n\tLqNVprwLswV3Q7qnfYCWvr+ykZBGsKNDUuuYbwRbrVul8uiXFbtDUPpcd8WUiisKIZAE\n\tUheol24tzLoCRwCusJojJ99EzfyTNbsOMZY9LD6vuw+BPinVul74IWODrC7wsr2vQIt4\n\thi0B+ibPe4KHUVip4UEoXE2Yu3bITYHAW6OhUSHxAdjnLyC41/UHNpyQUcQd6R4h9emI\n\tzTnA==",
        "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:in-reply-to\n\t:references:mime-version:content-transfer-encoding;\n\tbh=AywkNe6JFPRK2uEPDC9nKij36u/gtjGnqqFvAxNTQYY=;\n\tb=EL9642O15xc7aS5wZhjOGQlZCHdbwYKpXvIDtpUTwNazhaYhP44pBI5gGNu54gDsuJ\n\th0l+3kAf+gwx+w9RIbpGcxGzc3vWYjSWdVzlf8LCFF7Xsw4MVesdmXx5XWwFBbBgCbtX\n\tcMxCQGHAlXdKTSSZ5Bj1WCZ8KJ58si7dLKtw6M0WOZu1jaND6nsWG624u5jPtmbXFqX9\n\t0+xKzd1kdXkD1r3xyM+yqfMmNttnfjAtEj3cCq8YSEYl9mlpGC0WPsRqWuIWIuySSa4O\n\tywrqhHWcdqjFRLbhd7rrhzbvl6psoWjuhNLTqTGTFXDggjjaFw607uFpHYKHH2/pwcm3\n\t/OPw==",
        "X-Gm-Message-State": "APjAAAWZ9JNKOoeLZ3/WquAnNBXbZE4aztmCBxbGhM0zoUPQPnVKw/ky\n\tmuAWzGLpcrNRkqqClsuohcQoqBhCnFU=",
        "X-Google-Smtp-Source": "APXvYqycZAbDJM5ABb0t+PJhUhPsz5A1KP0LMJ08GhIigPvf8KiKNmEBX98u0DdcBHWf0IZQBo3URw==",
        "X-Received": "by 2002:adf:f5cb:: with SMTP id k11mr234727wrp.63.1581098950942; \n\tFri, 07 Feb 2020 10:09:10 -0800 (PST)",
        "From": "\"Arnout Vandecappelle (Essensium/Mind)\" <arnout@mind.be>",
        "To": "buildroot@buildroot.org",
        "Date": "Fri,  7 Feb 2020 19:08:26 +0100",
        "Message-Id": "<20200207180829.165689-8-arnout@mind.be>",
        "X-Mailer": "git-send-email 2.24.1",
        "In-Reply-To": "<20200207180829.165689-1-arnout@mind.be>",
        "References": "<20200207180829.165689-1-arnout@mind.be>",
        "MIME-Version": "1.0",
        "Subject": "[Buildroot] [PATCH v3 07/10] package/cargo: drop package",
        "X-BeenThere": "buildroot@busybox.net",
        "X-Mailman-Version": "2.1.29",
        "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>",
        "Cc": "Eric Le Bihan <eric.le.bihan.dev@free.fr>,\n\tPatrick Havelange <patrick.havelange@essensium.com>",
        "Content-Type": "text/plain; charset=\"us-ascii\"",
        "Content-Transfer-Encoding": "7bit",
        "Errors-To": "buildroot-bounces@busybox.net",
        "Sender": "\"buildroot\" <buildroot-bounces@busybox.net>"
    },
    "content": "From: Eric Le Bihan <eric.le.bihan.dev@free.fr>\n\nAs no package depends on the standalone cargo package, it can be\ndropped.\n\nSigned-off-by: Eric Le Bihan <eric.le.bihan.dev@free.fr>\nSigned-off-by: Patrick Havelange <patrick.havelange@essensium.com>\nSigned-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>\n---\n DEVELOPERS                                 |  1 -\n package/Config.in.host                     |  1 -\n package/cargo/Config.in.host               |  9 ---\n package/cargo/cargo.hash                   |  8 --\n package/cargo/cargo.mk                     | 85 ----------------------\n support/testing/tests/package/test_rust.py |  2 -\n 6 files changed, 106 deletions(-)\n delete mode 100644 package/cargo/Config.in.host\n delete mode 100644 package/cargo/cargo.hash\n delete mode 100644 package/cargo/cargo.mk",
    "diff": "diff --git a/DEVELOPERS b/DEVELOPERS\nindex 3520072034..e0f6e7278c 100644\n--- a/DEVELOPERS\n+++ b/DEVELOPERS\n@@ -709,7 +709,6 @@ N:\tEric Le Bihan <eric.le.bihan.dev@free.fr>\n F:\tdocs/manual/adding-packages-meson.txt\n F:\tpackage/adwaita-icon-theme/\n F:\tpackage/cargo-bin/\n-F:\tpackage/cargo/\n F:\tpackage/darkhttpd/\n F:\tpackage/eudev/\n F:\tpackage/execline/\ndiff --git a/package/Config.in.host b/package/Config.in.host\nindex 62e860d7c3..d69961e813 100644\n--- a/package/Config.in.host\n+++ b/package/Config.in.host\n@@ -3,7 +3,6 @@ menu \"Host utilities\"\n \tsource \"package/aespipe/Config.in.host\"\n \tsource \"package/android-tools/Config.in.host\"\n \tsource \"package/btrfs-progs/Config.in.host\"\n-\tsource \"package/cargo/Config.in.host\"\n \tsource \"package/cbootimage/Config.in.host\"\n \tsource \"package/checkpolicy/Config.in.host\"\n \tsource \"package/checksec/Config.in.host\"\ndiff --git a/package/cargo/Config.in.host b/package/cargo/Config.in.host\ndeleted file mode 100644\nindex c33c6851f2..0000000000\n--- a/package/cargo/Config.in.host\n+++ /dev/null\n@@ -1,9 +0,0 @@\n-config BR2_PACKAGE_HOST_CARGO\n-\tbool \"host cargo\"\n-\tdepends on BR2_PACKAGE_HOST_RUSTC_ARCH_SUPPORTS\n-\tselect BR2_PACKAGE_HOST_RUSTC\n-\thelp\n-\t  Cargo is the package manager for the Rust programming\n-\t  language.\n-\n-\t  https://crates.io/\ndiff --git a/package/cargo/cargo.hash b/package/cargo/cargo.hash\ndeleted file mode 100644\nindex baa2cfbc33..0000000000\n--- a/package/cargo/cargo.hash\n+++ /dev/null\n@@ -1,8 +0,0 @@\n-# Locally generated\n-sha256 1a4bae6910ca895157a1abe8225eb2b7e9b49ee1ee1e4e72fb81cb8e1446bff9  cargo-0.26.0.tar.gz\n-sha256 dc7240d60a869fa24a68c8734fb7c810c27cca0a6dad52df6279865e4e8e7fae  rust-installer-4f994850808a572e2cc8d43f968893c8e942e9bf.tar.gz\n-sha256 a60eea817514531668d7e00765731449fe14d059d3249e0bc93b36de45f759f2  LICENSE-APACHE\n-sha256 23f18e03dc49df91622fe2a76176497404e46ced8a715d9d2b67a7446571cca3  LICENSE-MIT\n-sha256 8bd89f9222dc80292f4107347103b693ac66f3a083371f0629ccf42338abe880  LICENSE-THIRD-PARTY\n-# From https://src.fedoraproject.org/repo/pkgs/cargo/cargo-0.26.0-vendor.tar.xz/sha512\n-sha512 6ed2a1644c9b18fc24ddad5350d41b6c36cd5b62de4cf0b748a57b589f4f0ac12f91461989158d58d0892bf6fc2c1626cf574e7e2b9da4b0e35f72dfd88f9048  cargo-0.26.0-vendor.tar.xz\ndiff --git a/package/cargo/cargo.mk b/package/cargo/cargo.mk\ndeleted file mode 100644\nindex 3f6646d027..0000000000\n--- a/package/cargo/cargo.mk\n+++ /dev/null\n@@ -1,85 +0,0 @@\n-################################################################################\n-#\n-# cargo\n-#\n-################################################################################\n-\n-CARGO_VERSION = 0.26.0\n-CARGO_SITE = $(call github,rust-lang,cargo,$(CARGO_VERSION))\n-CARGO_LICENSE = Apache-2.0 or MIT\n-CARGO_LICENSE_FILES = LICENSE-APACHE LICENSE-MIT\n-\n-CARGO_DEPS_SHA512 = 6ed2a1644c9b18fc24ddad5350d41b6c36cd5b62de4cf0b748a57b589f4f0ac12f91461989158d58d0892bf6fc2c1626cf574e7e2b9da4b0e35f72dfd88f9048\n-CARGO_DEPS_SITE = https://src.fedoraproject.org/repo/pkgs/cargo/$(CARGO_DEPS_SOURCE)/sha512/$(CARGO_DEPS_SHA512)\n-CARGO_DEPS_SOURCE = cargo-$(CARGO_VERSION)-vendor.tar.xz\n-\n-CARGO_INSTALLER_VERSION = 4f994850808a572e2cc8d43f968893c8e942e9bf\n-CARGO_INSTALLER_SITE = $(call github,rust-lang,rust-installer,$(CARGO_INSTALLER_VERSION))\n-CARGO_INSTALLER_SOURCE = rust-installer-$(CARGO_INSTALLER_VERSION).tar.gz\n-\n-HOST_CARGO_EXTRA_DOWNLOADS = \\\n-\t$(CARGO_DEPS_SITE)/$(CARGO_DEPS_SOURCE) \\\n-\t$(CARGO_INSTALLER_SITE)/$(CARGO_INSTALLER_SOURCE)\n-\n-HOST_CARGO_DEPENDENCIES = \\\n-\t$(BR2_CMAKE_HOST_DEPENDENCY) \\\n-\thost-pkgconf \\\n-\thost-openssl \\\n-\thost-libhttpparser \\\n-\thost-libssh2 \\\n-\thost-libcurl \\\n-\thost-rustc \\\n-\thost-cargo-bin\n-\n-HOST_CARGO_SNAP_BIN = $(HOST_CARGO_BIN_DIR)/cargo/bin/cargo\n-HOST_CARGO_HOME = $(HOST_DIR)/share/cargo\n-\n-define HOST_CARGO_EXTRACT_DEPS\n-\t@mkdir -p $(@D)/vendor\n-\t$(call suitable-extractor,$(CARGO_DEPS_SOURCE)) \\\n-\t\t$(HOST_CARGO_DL_DIR)/$(CARGO_DEPS_SOURCE) | \\\n-\t\t$(TAR) --strip-components=1 -C $(@D)/vendor $(TAR_OPTIONS) -\n-endef\n-\n-HOST_CARGO_POST_EXTRACT_HOOKS += HOST_CARGO_EXTRACT_DEPS\n-\n-define HOST_CARGO_EXTRACT_INSTALLER\n-\t@mkdir -p $(@D)/src/rust-installer\n-\t$(call suitable-extractor,$(CARGO_INSTALLER_SOURCE)) \\\n-\t\t$(HOST_CARGO_DL_DIR)/$(CARGO_INSTALLER_SOURCE) | \\\n-\t\t$(TAR) --strip-components=1 -C $(@D)/src/rust-installer $(TAR_OPTIONS) -\n-endef\n-\n-HOST_CARGO_POST_EXTRACT_HOOKS += HOST_CARGO_EXTRACT_INSTALLER\n-\n-define HOST_CARGO_SETUP_DEPS\n-\tmkdir -p $(@D)/.cargo\n-\t( \\\n-\t\techo \"[source.crates-io]\"; \\\n-\t\techo \"registry = 'https://github.com/rust-lang/crates.io-index'\"; \\\n-\t\techo \"replace-with = 'vendored-sources'\"; \\\n-\t\techo \"[source.vendored-sources]\"; \\\n-\t\techo \"directory = '$(@D)/vendor'\"; \\\n-\t) > $(@D)/.cargo/config\n-endef\n-\n-HOST_CARGO_PRE_CONFIGURE_HOOKS += HOST_CARGO_SETUP_DEPS\n-\n-HOST_CARGO_SNAP_OPTS = \\\n-\t--release \\\n-\t$(if $(VERBOSE),--verbose)\n-\n-HOST_CARGO_ENV = \\\n-\tRUSTFLAGS=\"$(addprefix -Clink-arg=,$(HOST_LDFLAGS))\" \\\n-\tCARGO_HOME=$(HOST_CARGO_HOME)\n-\n-define HOST_CARGO_BUILD_CMDS\n-\t(cd $(@D); $(HOST_MAKE_ENV) $(HOST_CARGO_ENV) $(HOST_CARGO_SNAP_BIN) \\\n-\t\tbuild $(HOST_CARGO_SNAP_OPTS))\n-endef\n-\n-define HOST_CARGO_INSTALL_CMDS\n-\t$(INSTALL) -D -m 0755 $(@D)/target/release/cargo $(HOST_DIR)/bin/cargo\n-endef\n-\n-$(eval $(host-generic-package))\ndiff --git a/support/testing/tests/package/test_rust.py b/support/testing/tests/package/test_rust.py\nindex 9854c3692e..15bb93dd97 100644\n--- a/support/testing/tests/package/test_rust.py\n+++ b/support/testing/tests/package/test_rust.py\n@@ -73,7 +73,6 @@ class TestRustBin(TestRustBase):\n         BR2_LINUX_KERNEL_INTREE_DTS_NAME=\"vexpress-v2p-ca9\"\n         BR2_TARGET_ROOTFS_CPIO=y\n         # BR2_TARGET_ROOTFS_TAR is not set\n-        BR2_PACKAGE_HOST_CARGO=y\n         BR2_PACKAGE_HOST_RUSTC=y\n         \"\"\"\n \n@@ -102,7 +101,6 @@ class TestRust(TestRustBase):\n         BR2_LINUX_KERNEL_INTREE_DTS_NAME=\"vexpress-v2p-ca9\"\n         BR2_TARGET_ROOTFS_CPIO=y\n         # BR2_TARGET_ROOTFS_TAR is not set\n-        BR2_PACKAGE_HOST_CARGO=y\n         BR2_PACKAGE_HOST_RUSTC=y\n         BR2_PACKAGE_HOST_RUST=y\n         \"\"\"\n",
    "prefixes": [
        "v3",
        "07/10"
    ]
}