Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/933978/?format=api
{ "id": 933978, "url": "http://patchwork.ozlabs.org/api/patches/933978/?format=api", "web_url": "http://patchwork.ozlabs.org/project/patchwork/patch/20180624195557.19909-8-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-8-stephen@that.guru>", "list_archive_url": null, "date": "2018-06-24T19:55:54", "name": "[08/11] requirements: Start using fixed versions", "commit_ref": null, "pull_url": null, "state": "changes-requested", "archived": false, "hash": "bc60aa26718cd79d347e14ad23758116bc80fadf", "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-8-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/933978/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/933978/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 41DNRh1rVHz9ry1\n\tfor <incoming@patchwork.ozlabs.org>;\n\tMon, 25 Jun 2018 05:59:12 +1000 (AEST)", "from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3])\n\tby lists.ozlabs.org (Postfix) with ESMTP id 41DNRh0NHCzF14g\n\tfor <incoming@patchwork.ozlabs.org>;\n\tMon, 25 Jun 2018 05:59:12 +1000 (AEST)", "from gorilla.birch.relay.mailchannels.net\n\t(gorilla.birch.relay.mailchannels.net [23.83.209.75])\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 41DNNK0sqtzF153\n\tfor <patchwork@lists.ozlabs.org>;\n\tMon, 25 Jun 2018 05:56:16 +1000 (AEST)", "from relay.mailchannels.net (localhost [127.0.0.1])\n\tby relay.mailchannels.net (Postfix) with ESMTP id 4B2C1681AA5\n\tfor <patchwork@lists.ozlabs.org>;\n\tSun, 24 Jun 2018 19:56:13 +0000 (UTC)", "from one.mxroute.com (unknown [100.96.29.38])\n\t(Authenticated sender: 5xi41l16bi)\n\tby relay.mailchannels.net (Postfix) with ESMTPA id 02B036816FF\n\tfor <patchwork@lists.ozlabs.org>;\n\tSun, 24 Jun 2018 19:56:11 +0000 (UTC)", "from one.mxroute.com (one-outgoing.mxroute.com [23.92.70.115])\n\t(using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384)\n\tby 0.0.0.0:2500 (trex/5.15.3); Sun, 24 Jun 2018 19:56:13 +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=\"LrYX5EfD\"; 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=\"LrYX5EfD\"; dkim-atps=neutral", "lists.ozlabs.org;\n\tspf=none (mailfrom) smtp.mailfrom=that.guru\n\t(client-ip=23.83.209.75; helo=gorilla.birch.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=\"LrYX5EfD\"; 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-Continue-Illustrious": "30221700503708ef_1529870172183_1855512766", "X-MC-Loop-Signature": "1529870172183:481851069", "X-MC-Ingress-Time": "1529870172183", "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=TVINvugOm1soU6iZI4MowjHsxBKHKDH7ZhNkAzuxgUk=;\n\tb=LrYX5EfDGbOb0AozK+xt5LTjc7\n\txjD8NMG3bOazj4iPCwm5vpItnLGiWBxh7f4MbQtfr9/8UU+/6bzu2HD4X8mO913K94UoEWX9O2YjK\n\tuT0kqv2OkPP+IqkimbFe4vZUoR1+m6ofRqGWd9VUAAItOGKM+cyGGzNpC3zdF888RmUhe6quQvMn8\n\tLm6EtddamFeI1nOtzFjM9YWCOFK14i8JLGmFWGK7H4muGiZQKR4j34hyI3/POr7xowmoTsnqSuG+q\n\tMfBzgW7f9sS/IXIC0yw3RVw64c+WSIIfcyri6VWzxmPjEAGuQBbaGdNkGEozhI8hJQ04Y2pUljiDy\n\tLzqv4Tcg==;", "From": "Stephen Finucane <stephen@that.guru>", "To": "patchwork@lists.ozlabs.org", "Subject": "[PATCH 08/11] requirements: Start using fixed versions", "Date": "Sun, 24 Jun 2018 20:55:54 +0100", "Message-Id": "<20180624195557.19909-8-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": "Given that 'tox' doesn't actually read any of these, there's no reason\nto use ranges of requirements. Instead, use the latest and greatest for\nlive instances and rely on tox to validate behavior with older versions.\n\nSigned-off-by: Stephen Finucane <stephen@that.guru>\n---\n requirements-dev.txt | 5 +----\n requirements-prod.txt | 10 +++++-----\n requirements-test.txt | 6 ++----\n 3 files changed, 8 insertions(+), 13 deletions(-)", "diff": "diff --git a/requirements-dev.txt b/requirements-dev.txt\nindex f4ad751a..47465a3e 100644\n--- a/requirements-dev.txt\n+++ b/requirements-dev.txt\n@@ -1,5 +1,2 @@\n-Django>=1.11,<2.1; python_version >= '3.4'\n-Django>=1.11,<2.0; python_version < '3.0'\n-djangorestframework>=3.4,<3.9\n-django-filter>=1.0,<1.2\n+-r requirements-prod.txt\n -r requirements-test.txt\ndiff --git a/requirements-prod.txt b/requirements-prod.txt\nindex e7a75354..1e075629 100644\n--- a/requirements-prod.txt\n+++ b/requirements-prod.txt\n@@ -1,6 +1,6 @@\n-Django>=1.11,<2.1; python_version >= '3.4'\n-Django>=1.11,<2.0; python_version < '3.0'\n-djangorestframework>=3.4,<3.9\n-django-filter>=1.0,<1.2\n-psycopg2>=2.7,<2.8\n+Django==2.0.6; python_version >= '3.4'\n+Django==1.11.13; python_version < '3.0'\n+djangorestframework==3.8.2\n+django-filter==1.1.0\n+psycopg2-binary==2.7.5\n sqlparse==0.2.4\ndiff --git a/requirements-test.txt b/requirements-test.txt\nindex 94dc3db7..759db77b 100644\n--- a/requirements-test.txt\n+++ b/requirements-test.txt\n@@ -1,5 +1,3 @@\n-mysqlclient>=1.3,<1.4\n-psycopg2-binary>=2.7,<2.8\n+mysqlclient==1.3.12\n django-debug-toolbar==1.9.1\n-python-dateutil>2.0,<3.0\n-selenium>=3.0,<4.0\n+python-dateutil==2.7.3\n", "prefixes": [ "08/11" ] }