Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/933979/?format=api
{ "id": 933979, "url": "http://patchwork.ozlabs.org/api/patches/933979/?format=api", "web_url": "http://patchwork.ozlabs.org/project/patchwork/patch/20180624195557.19909-11-stephen@that.guru/", "project": { "id": 16, "url": "http://patchwork.ozlabs.org/api/projects/16/?format=api", "name": "Patchwork", "link_name": "patchwork", "list_id": "patchwork.lists.ozlabs.org", "list_email": "patchwork@lists.ozlabs.org", "web_url": "http://jk.ozlabs.org/projects/patchwork/", "scm_url": "git://github.com/getpatchwork/patchwork", "webscm_url": "https://github.com/getpatchwork/patchwork", "list_archive_url": "", "list_archive_url_format": "", "commit_url_format": "" }, "msgid": "<20180624195557.19909-11-stephen@that.guru>", "list_archive_url": null, "date": "2018-06-24T19:55:57", "name": "[11/11] docker: Don't require rebuilding if unnecessary", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": false, "hash": "b45293d7e5f8f70d8818eec03f516719982a1645", "submitter": { "id": 69991, "url": "http://patchwork.ozlabs.org/api/people/69991/?format=api", "name": "Stephen Finucane", "email": "stephen@that.guru" }, "delegate": null, "mbox": "http://patchwork.ozlabs.org/project/patchwork/patch/20180624195557.19909-11-stephen@that.guru/mbox/", "series": [ { "id": 51752, "url": "http://patchwork.ozlabs.org/api/series/51752/?format=api", "web_url": "http://patchwork.ozlabs.org/project/patchwork/list/?series=51752", "date": "2018-06-24T19:55:49", "name": "[01/11] REST: Check.user is not read-only", "version": 1, "mbox": "http://patchwork.ozlabs.org/series/51752/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/933979/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/933979/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<patchwork-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org>", "X-Original-To": [ "incoming@patchwork.ozlabs.org", "patchwork@lists.ozlabs.org" ], "Delivered-To": [ "patchwork-incoming@bilbo.ozlabs.org", "patchwork@lists.ozlabs.org" ], "Received": [ "from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3])\n\t(using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits))\n\t(No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 41DNS83vGZz9ry1\n\tfor <incoming@patchwork.ozlabs.org>;\n\tMon, 25 Jun 2018 05:59:36 +1000 (AEST)", "from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3])\n\tby lists.ozlabs.org (Postfix) with ESMTP id 41DNS82LZZzF1Cr\n\tfor <incoming@patchwork.ozlabs.org>;\n\tMon, 25 Jun 2018 05:59:36 +1000 (AEST)", "from black.maple.relay.mailchannels.net\n\t(black.maple.relay.mailchannels.net [23.83.214.19])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256\n\tbits)) (No client certificate requested)\n\tby lists.ozlabs.org (Postfix) with ESMTPS id 41DNNL3h7gzF189\n\tfor <patchwork@lists.ozlabs.org>;\n\tMon, 25 Jun 2018 05:56:18 +1000 (AEST)", "from relay.mailchannels.net (localhost [127.0.0.1])\n\tby relay.mailchannels.net (Postfix) with ESMTP id B4EA85C16D1;\n\tSun, 24 Jun 2018 19:56:15 +0000 (UTC)", "from one.mxroute.com (unknown [100.96.16.125])\n\t(Authenticated sender: 5xi41l16bi)\n\tby relay.mailchannels.net (Postfix) with ESMTPA id 2B4A35C1736;\n\tSun, 24 Jun 2018 19:56:15 +0000 (UTC)", "from one.mxroute.com (one-outgoing.mxroute.com [172.18.54.155])\n\t(using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384)\n\tby 0.0.0.0:2500 (trex/5.15.2); Sun, 24 Jun 2018 19:56:15 +0000" ], "Authentication-Results": [ "ozlabs.org;\n\tdmarc=none (p=none dis=none) header.from=that.guru", "ozlabs.org;\n\tdkim=fail reason=\"key not found in DNS\" (0-bit key;\n\tunprotected) header.d=that.guru header.i=@that.guru\n\theader.b=\"WdoITtc2\"; dkim-atps=neutral", "lists.ozlabs.org;\n\tdmarc=none (p=none dis=none) header.from=that.guru", "lists.ozlabs.org;\n\tdkim=fail reason=\"key not found in DNS\" (0-bit key;\n\tunprotected) header.d=that.guru header.i=@that.guru\n\theader.b=\"WdoITtc2\"; dkim-atps=neutral", "lists.ozlabs.org;\n\tspf=none (mailfrom) smtp.mailfrom=that.guru\n\t(client-ip=23.83.214.19; helo=black.maple.relay.mailchannels.net;\n\tenvelope-from=stephen@that.guru; receiver=<UNKNOWN>)", "lists.ozlabs.org;\n\tdmarc=none (p=none dis=none) header.from=that.guru", "lists.ozlabs.org;\n\tdkim=fail reason=\"key not found in DNS\" (0-bit key;\n\tunprotected) header.d=that.guru header.i=@that.guru\n\theader.b=\"WdoITtc2\"; dkim-atps=neutral" ], "X-Sender-Id": [ "5xi41l16bi|x-authuser|stephen@that.guru", "5xi41l16bi|x-authuser|stephen@that.guru" ], "X-MC-Relay": "Neutral", "X-MailChannels-SenderId": "5xi41l16bi|x-authuser|stephen@that.guru", "X-MailChannels-Auth-Id": "5xi41l16bi", "X-Trail-Coil": "27e0a89363a47fed_1529870175506_2661087604", "X-MC-Loop-Signature": "1529870175506:1596056846", "X-MC-Ingress-Time": "1529870175505", "DKIM-Signature": "v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=that.guru;\n\ts=default;\n\th=References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:\n\tSender:Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding:\n\tContent-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender:\n\tResent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:\n\tList-Subscribe:List-Post:List-Owner:List-Archive;\n\tbh=s22A1yoUD9WtFnq5Jnuc6IFGPN6/tkv3FTPsJlfU9vI=;\n\tb=WdoITtc2WY0nHFnpU6Dno5x8yN\n\t/AQu2U8VO0S2ibqk96EkZOKOY0CKjtHTQRd7W+9crd+sxJMuwLa/gMUcX+6hteB7hcVxixN8RV9xZ\n\tVxGNfpcNNPjPg6bp683OZX4RAsXBQEPgcexm6HgwCdiME/uWvRefJHnbDHljE4YBgrQumvkIolCAh\n\tKSQpEGWC3S00DHxfjyML9WpsOv4U/Iib4VNDRX6644dgbra3cYrFFCKLwOsGlaOgDIXgfkUvq9Rnl\n\tVSHy75aispLR7N9gE3swsbd4yPTBm7xe2HbK0YSmpjxNktQkt5/2T3HTntLqy7ieTYmCL8LOSDuBe\n\tH7XkjFNA==;", "From": "Stephen Finucane <stephen@that.guru>", "To": "patchwork@lists.ozlabs.org", "Subject": "[PATCH 11/11] docker: Don't require rebuilding if unnecessary", "Date": "Sun, 24 Jun 2018 20:55:57 +0100", "Message-Id": "<20180624195557.19909-11-stephen@that.guru>", "X-Mailer": "git-send-email 2.17.1", "In-Reply-To": "<20180624195557.19909-1-stephen@that.guru>", "References": "<20180624195557.19909-1-stephen@that.guru>", "X-AuthUser": "stephen@that.guru", "X-BeenThere": "patchwork@lists.ozlabs.org", "X-Mailman-Version": "2.1.26", "Precedence": "list", "List-Id": "Patchwork development <patchwork.lists.ozlabs.org>", "List-Unsubscribe": "<https://lists.ozlabs.org/options/patchwork>,\n\t<mailto:patchwork-request@lists.ozlabs.org?subject=unsubscribe>", "List-Archive": "<http://lists.ozlabs.org/pipermail/patchwork/>", "List-Post": "<mailto:patchwork@lists.ozlabs.org>", "List-Help": "<mailto:patchwork-request@lists.ozlabs.org?subject=help>", "List-Subscribe": "<https://lists.ozlabs.org/listinfo/patchwork>,\n\t<mailto:patchwork-request@lists.ozlabs.org?subject=subscribe>", "MIME-Version": "1.0", "Content-Type": "text/plain; charset=\"utf-8\"", "Content-Transfer-Encoding": "base64", "Errors-To": "patchwork-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org", "Sender": "\"Patchwork\"\n\t<patchwork-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org>" }, "content": "Now that we're pinning versions, we're going to see more frequent\ndependency version changes. Requiring a rebuild after every one of these\nis tiresome so don't force it and instead display a helpful message\nmerely suggesting that a rebuild may be necessary.\n\nSigned-off-by: Stephen Finucane <stephen@that.guru>\nCc: Daniel Axtens <dja@axtens.net>\n---\nThis is a modified version of an earlier patch I submitted to the list.\nThe original was rejected as there were concerns that it would lead to\nsome confusion. However, I think the warning it prints is explicit\nenough that someone can make their own mind up about this.\n---\n tools/docker/entrypoint.sh | 5 +++--\n 1 file changed, 3 insertions(+), 2 deletions(-)", "diff": "diff --git a/tools/docker/entrypoint.sh b/tools/docker/entrypoint.sh\nindex 997b8763..afa85333 100755\n--- a/tools/docker/entrypoint.sh\n+++ b/tools/docker/entrypoint.sh\n@@ -69,9 +69,10 @@ fi\n for x in /tmp/requirements-*.txt; do\n if ! cmp $x ~/patchwork/$(basename $x); then\n echo \"A requirements file has changed.\"\n- echo \"Please rebuild the patchwork image:\"\n+ echo \"You may need to rebuild the patchwork image:\"\n echo \" docker-compose build web\"\n- exit 1\n+ echo \"\"\n+ diff -u $x ~/patchwork/$(basename $x)\n fi\n done\n \n", "prefixes": [ "11/11" ] }