Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/1516047/?format=api
{ "id": 1516047, "url": "http://patchwork.ozlabs.org/api/patches/1516047/?format=api", "web_url": "http://patchwork.ozlabs.org/project/patchwork/patch/20210811213705.36293-18-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": "<20210811213705.36293-18-stephen@that.guru>", "list_archive_url": null, "date": "2021-08-11T21:37:03", "name": "[RFC,17/19] templates: Convert about page", "commit_ref": null, "pull_url": null, "state": "rfc", "archived": false, "hash": "3db6d92dd44d8a04144c4390db18d3b431e2c91a", "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/20210811213705.36293-18-stephen@that.guru/mbox/", "series": [ { "id": 257699, "url": "http://patchwork.ozlabs.org/api/series/257699/?format=api", "web_url": "http://patchwork.ozlabs.org/project/patchwork/list/?series=257699", "date": "2021-08-11T21:36:49", "name": "Integrate Bulma", "version": 1, "mbox": "http://patchwork.ozlabs.org/series/257699/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/1516047/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/1516047/checks/", "tags": {}, "related": [ { "id": 1523341, "url": "http://patchwork.ozlabs.org/api/patches/1523341/?format=api", "web_url": "http://patchwork.ozlabs.org/project/patchwork/patch/20210901165756.181192-18-stephen@that.guru/", "msgid": "<20210901165756.181192-18-stephen@that.guru>", "list_archive_url": null, "date": "2021-09-01T16:57:54", "name": "[RFC,v2,17/19] templates: Convert about page", "mbox": "http://patchwork.ozlabs.org/project/patchwork/patch/20210901165756.181192-18-stephen@that.guru/mbox/" } ], "headers": { "Return-Path": "\n <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" ], "Authentication-Results": [ "ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=lists.ozlabs.org\n (client-ip=112.213.38.117; helo=lists.ozlabs.org;\n envelope-from=patchwork-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org;\n receiver=<UNKNOWN>)", "ozlabs.org;\n\tdkim=fail reason=\"key not found in DNS\" header.d=that.guru\n header.i=@that.guru header.a=rsa-sha256 header.s=x header.b=HRelp76l;\n\tdkim-atps=neutral", "lists.ozlabs.org;\n\tdkim=fail reason=\"key not found in DNS\" header.d=that.guru\n header.i=@that.guru header.a=rsa-sha256 header.s=x header.b=HRelp76l;\n\tdkim-atps=neutral", "lists.ozlabs.org;\n spf=none (no SPF record) smtp.mailfrom=that.guru\n (client-ip=136.175.108.214; helo=mail-108-mta214.mxroute.com;\n envelope-from=stephen@that.guru; receiver=<UNKNOWN>)", "lists.ozlabs.org;\n dkim=fail reason=\"key not found in DNS\" header.d=that.guru\n header.i=@that.guru\n header.a=rsa-sha256 header.s=x header.b=HRelp76l;\n dkim-atps=neutral" ], "Received": [ "from lists.ozlabs.org (lists.ozlabs.org [112.213.38.117])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange X25519 server-signature RSA-PSS (4096 bits))\n\t(No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 4GlPC76YXgz9sSs\n\tfor <incoming@patchwork.ozlabs.org>; Thu, 12 Aug 2021 08:10:27 +1000 (AEST)", "from boromir.ozlabs.org (localhost [IPv6:::1])\n\tby lists.ozlabs.org (Postfix) with ESMTP id 4GlPC74mjKz3bmb\n\tfor <incoming@patchwork.ozlabs.org>; Thu, 12 Aug 2021 08:10:27 +1000 (AEST)", "from mail-108-mta214.mxroute.com (mail-108-mta214.mxroute.com\n [136.175.108.214])\n (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))\n (No client certificate requested)\n by lists.ozlabs.org (Postfix) with ESMTPS id 4GlPBn2n9Kz302X\n for <patchwork@lists.ozlabs.org>; Thu, 12 Aug 2021 08:10:08 +1000 (AEST)", "from filter004.mxroute.com ([149.28.56.236] filter004.mxroute.com)\n (Authenticated sender: mN4UYu2MZsgR)\n by mail-108-mta214.mxroute.com (ZoneMTA) with ESMTPSA id\n 17b3743e78600074ba.002 for <patchwork@lists.ozlabs.org>\n (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES128-GCM-SHA256);\n Wed, 11 Aug 2021 22:10:02 +0000" ], "X-Zone-Loop": "d387faa2b2f45ae9800db557b9e0c6b6c2ce94aea6fd", "X-Originating-IP": "[149.28.56.236]", "DKIM-Signature": "v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=that.guru;\n s=x;\n h=Content-Transfer-Encoding:MIME-Version:References:In-Reply-To:\n Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type:Content-ID:\n Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc\n :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe:\n List-Post:List-Owner:List-Archive;\n bh=xg43gtZS4Y2IyEWb/2w8gLSk83cTwVdKHRRIk/N4Auw=; b=HRelp76lFHxj4tc1JNfqMlqQPA\n 1rveepe3tzELAYnxY3FkOjgMz6NUZ/SD+UMLX5pde0fBa9UCMN23O3CdzXzpEVFVlifPMGylKgPJu\n D0E4j2fwHVLTfTHYk3HJoPwA06TryokaEtq+PqC5610gdF7mU8DgfiRSrVade4Q47gaT26KZ2LSvu\n PSx/SArTh/bwy7ibwEjKW82ywR1iAVVcBrhzbXlrRqVZLJ9osokoo16SmIOOUVDTlntstbxcoCKfk\n W/BqdaDsAAUmM/hAdkhHwNvuQ8GxW3xVXB5+5GGEHxhQKvzHw7b2TQe798WnpglG3xtx8O5LNQqVY\n rpl3e/VA==;", "From": "Stephen Finucane <stephen@that.guru>", "To": "patchwork@lists.ozlabs.org", "Subject": "[RFC PATCH 17/19] templates: Convert about page", "Date": "Wed, 11 Aug 2021 22:37:03 +0100", "Message-Id": "<20210811213705.36293-18-stephen@that.guru>", "X-Mailer": "git-send-email 2.31.1", "In-Reply-To": "<20210811213705.36293-1-stephen@that.guru>", "References": "<20210811213705.36293-1-stephen@that.guru>", "MIME-Version": "1.0", "X-AuthUser": "stephen@that.guru", "X-Zone-Spam-Resolution": "no action", "X-Zone-Spam-Status": "No, score=5, required=15, tests=[ARC_NA=0,\n MID_CONTAINS_FROM=1, FROM_HAS_DN=0, RCPT_COUNT_THREE=0, TO_DN_SOME=0,\n R_MISSING_CHARSET=2.5, RCVD_COUNT_ZERO=0, FROM_EQ_ENVFROM=0, MIME_TRACE=0,\n BROKEN_CONTENT_TYPE=1.5, NEURAL_SPAM=0]", "X-BeenThere": "patchwork@lists.ozlabs.org", "X-Mailman-Version": "2.1.29", "Precedence": "list", "List-Id": "Patchwork development <patchwork.lists.ozlabs.org>", "List-Unsubscribe": "<https://lists.ozlabs.org/options/patchwork>,\n <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 <mailto:patchwork-request@lists.ozlabs.org?subject=subscribe>", "Content-Type": "text/plain; charset=\"us-ascii\"", "Content-Transfer-Encoding": "7bit", "Errors-To": "patchwork-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org", "Sender": "\"Patchwork\"\n <patchwork-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org>" }, "content": "Another one bites the dust.\n\nSigned-off-by: Stephen Finucane <stephen@that.guru>\n---\n patchwork/templates/patchwork/about.html | 147 ++++++++++++++---------\n 1 file changed, 91 insertions(+), 56 deletions(-)", "diff": "diff --git patchwork/templates/patchwork/about.html patchwork/templates/patchwork/about.html\nindex 43f3110b..cdd8cdc5 100644\n--- patchwork/templates/patchwork/about.html\n+++ patchwork/templates/patchwork/about.html\n@@ -1,70 +1,105 @@\n-{% extends \"base.html\" %}\n+{% extends \"base2.html\" %}\n \n {% block title %}About{% endblock %}\n-{% block heading %}About Patchwork{% endblock %}\n \n {% block body %}\n-<div class=\"container\">\n- <h1>About Patchwork</h1>\n+<div class=\"container\" style=\"margin-top: 1rem;\">\n+ <section class=\"block\">\n+ <h1 class=\"title\">\n+ About Patchwork\n+ </h1>\n \n- <p>Patchwork is free software, and is available from the <a\n- href=\"http://jk.ozlabs.org/projects/patchwork/\">Patchwork website</a>.\n- Documentation is available on <a\n- href=\"http://patchwork.readthedocs.io/\">Read the Docs</a>.</p>\n+ <p>\n+ Patchwork is a patch tracking system for community-based projects.\n+ It is intended to make the patch management process easier for both the\n+ project's contributors and maintainers, leaving time for the more\n+ important (and more interesting) stuff.\n+ </p>\n \n- <p>Patchwork is built on the <a href=\"https://djangoproject.com/\">Django</a>\n- web framework using <a href=\"https://getbootstrap.com/\">Bootstrap</a>.</p>\n+ <p>\n+ Patchwork is free software, and is available from the\n+ <a href=\"https://github.com/getpatchwork/patchwork/\">Patchwork website</a>.\n+ Documentation is available on\n+ <a href=\"http://patchwork.readthedocs.io/\">Read the Docs</a>.\n+ </p>\n+ </section>\n \n- <div class=\"panel panel-default\">\n- <div class=\"panel-heading\">\n- <h3 class=\"panel-title\">Version</h3>\n+ <section class=\"block\">\n+ <h2 id=\"overview\" class=\"title is-4\">\n+ <a href=\"#overview\" title=\"Permalink to this section\">#</a>\n+ Status\n+ </h2>\n+\n+ <div class=\"card\">\n+ <div class=\"card-content\">\n+ <div class=\"columns\">\n+ <div class=\"column\">\n+ <span class=\"has-text-weight-bold\">Version</span>\n+ </div>\n+ <div class=\"column is-narrow\">\n+ {{ version }}\n+ </div>\n+ </div>\n+ </div>\n+ </div>\n+\n+ <div class=\"card\">\n+ <div class=\"card-content\">\n+ <div class=\"columns\">\n+ <div class=\"column\">\n+ <span class=\"has-text-weight-bold\">REST API</span>\n+ </div>\n+ <div class=\"column is-narrow\">\n+{% if enabled_apis.rest %}\n+ <span class=\"tag is-medium is-success\">enabled</span>\n+{% else %}\n+ <span class=\"tag is-medium is-danger\">disabled</span>\n+{% endif %}\n+ </div>\n+ </div>\n+ </div>\n </div>\n- <ul class=\"list-group\">\n- <li class=\"list-group-item\">\n- <p>{{ version }}</p>\n- </li>\n- </ul>\n- </div>\n \n- {% if admins %}\n- <div class=\"panel panel-default\">\n- <div class=\"panel-heading\">\n- <h3 class=\"panel-title\">Administrators</h3>\n+ <div class=\"card\">\n+ <div class=\"card-content\">\n+ <div class=\"columns\">\n+ <div class=\"column\">\n+ <span class=\"has-text-weight-bold\">XML-RPC API</span>\n+ </div>\n+ <div class=\"column is-narrow\">\n+{% if enabled_apis.xmlrpc %}\n+ <span class=\"tag is-medium is-success\">enabled</span>\n+{% else %}\n+ <span class=\"tag is-medium is-danger\">disabled</span>\n+{% endif %}\n+ </div>\n+ </div>\n+ </div>\n </div>\n- <ul class=\"list-group\">\n- {% for admin in admins %}\n- <li class=\"list-group-item\">\n- <a href=\"mailto:{{ admin.1 }}\">{{ admin.0 }}</a>\n- </li>\n- {% endfor %}\n- </ul>\n- </div>\n- {% endif %}\n \n- <div class=\"panel panel-default\">\n- <div class=\"panel-heading\">\n- <h3 class=\"panel-title\">API Status</h3>\n+ </section>\n+\n+ <section class=\"block\">\n+ <h2 id=\"administrators\" class=\"title is-4\">\n+ <a href=\"#administrators\" title=\"Permalink to this section\">#</a>\n+ Administrators\n+ </h2>\n+{% for admin in admins %}\n+ <div class=\"card\">\n+ <div class=\"card-content\">\n+ <div class=\"columns\">\n+ <div class=\"column\">\n+ <span class=\"has-text-weight-bold\">{{ admin.0 }}</span>\n+ </div>\n+ <div class=\"column\">\n+ <span>{{ admin.1 }}</span>\n+ </div>\n+ </div>\n+ </div>\n </div>\n- <ul class=\"list-group\">\n- <li class=\"list-group-item\">\n- REST\n- <span class=\"glyphicon glyphicon-question-sign\" title=\"The REST API\"></span>\n- {% if enabled_apis.rest %}\n- <span class=\"label label-success pull-right\">enabled</span>\n- {% else %}\n- <span class=\"label label-warning pull-right\">disabled</span>\n- {% endif %}\n- </li>\n- <li class=\"list-group-item\">\n- XML-RPC\n- <span class=\"glyphicon glyphicon-question-sign\" title=\"The XML-RPC API\"></span>\n- {% if enabled_apis.xmlrpc %}\n- <span class=\"label label-success pull-right\">enabled</span>\n- {% else %}\n- <span class=\"label label-warning pull-right\">disabled</span>\n- {% endif %}\n- </li>\n- </ul>\n- </div>\n+{% empty %}\n+ <p>This instance has no administrators.</p>\n+{% endfor %}\n+ </section>\n </div>\n {% endblock %}\n", "prefixes": [ "RFC", "17/19" ] }