From: W. Trevor King Date: Mon, 10 Feb 2014 18:40:21 +0000 (+1600) Subject: [PATCH v2 00/20] nmbug-status: Python-3-compatibility and general refactoring X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=67f57bde0b95bdeb757912bad2a7932d231c7d3c;p=notmuch-archives.git [PATCH v2 00/20] nmbug-status: Python-3-compatibility and general refactoring --- diff --git a/00/946b6ee356c410f5a40837917805caadd850a0 b/00/946b6ee356c410f5a40837917805caadd850a0 new file mode 100644 index 000000000..3da9ca8cf --- /dev/null +++ b/00/946b6ee356c410f5a40837917805caadd850a0 @@ -0,0 +1,123 @@ +Return-Path: +X-Original-To: notmuch@notmuchmail.org +Delivered-To: notmuch@notmuchmail.org +Received: from localhost (localhost [127.0.0.1]) + by olra.theworths.org (Postfix) with ESMTP id 209F6429E29 + for ; Mon, 10 Feb 2014 10:42:03 -0800 (PST) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: 0 +X-Spam-Level: +X-Spam-Status: No, score=0 tagged_above=-999 required=5 + tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001] + autolearn=disabled +Received: from olra.theworths.org ([127.0.0.1]) + by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) + with ESMTP id KqHnBQGwCXmY for ; + Mon, 10 Feb 2014 10:41:55 -0800 (PST) +Received: from qmta13.westchester.pa.mail.comcast.net + (qmta13.westchester.pa.mail.comcast.net [76.96.59.243]) + by olra.theworths.org (Postfix) with ESMTP id 3353D431FAF + for ; Mon, 10 Feb 2014 10:41:55 -0800 (PST) +Received: from omta24.westchester.pa.mail.comcast.net ([76.96.62.76]) + by qmta13.westchester.pa.mail.comcast.net with comcast + id Qcz61n0021ei1Bg5Dihujv; Mon, 10 Feb 2014 18:41:54 +0000 +Received: from odin.tremily.us ([24.18.63.50]) + by omta24.westchester.pa.mail.comcast.net with comcast + id Qihs1n00M152l3L3kihsZw; Mon, 10 Feb 2014 18:41:54 +0000 +Received: from mjolnir.tremily.us (unknown [192.168.0.140]) + by odin.tremily.us (Postfix) with ESMTPS id CCD6D10167A1; + Mon, 10 Feb 2014 10:41:51 -0800 (PST) +Received: (nullmailer pid 1241 invoked by uid 1000); + Mon, 10 Feb 2014 18:40:44 -0000 +From: "W. Trevor King" +To: notmuch@notmuchmail.org +Subject: [PATCH v2 00/20] nmbug-status: Python-3-compatibility and general + refactoring +Date: Mon, 10 Feb 2014 10:40:21 -0800 +Message-Id: +X-Mailer: git-send-email 1.8.5.2.8.g0f6c0d1 +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit +DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net; + s=q20121106; t=1392057714; + bh=xPenFbrlASXu48T9OYJP2EX3WEPECOczekZsRIT6dHQ=; + h=Received:Received:Received:Received:From:To:Subject:Date: + Message-Id:MIME-Version:Content-Type; + b=hdYM1qytyQEU1URLrKkAe7CviIOOgV+yT9lbGC+GZ/CKNT4L8Hows9qepq+y6xd/M + unK/kRx5P8RbQ8kYBCmrIjSBIJGTYUWz/Xq1YLAgmlFs7qG+sLFLatual0gtOKZY4U + uw9wfhLRlYnVjX+htabMBu52Z4uM1nMDHx8xhCtDlDs/J88PekF1GSH0YQDSvlqH+Y + HmTFp6SQWSWFmTCMUCccpXPmsPDJa2EiASax1LQUogmvQ3YurE0j7NKYYSJgEEq+wt + JuqyQJ2gy8pPD3dtZala2pgDef35m6h4FVnwXyN5GdV+5tbJNdOW2bxxaR+ZmCbDOZ + nyQY3pzL5pyXQ== +Cc: Tomi Ollila +X-BeenThere: notmuch@notmuchmail.org +X-Mailman-Version: 2.1.13 +Precedence: list +List-Id: "Use and development of the notmuch mail system." + +List-Unsubscribe: , + +List-Archive: +List-Post: +List-Help: +List-Subscribe: , + +X-List-Received-Date: Mon, 10 Feb 2014 18:42:03 -0000 + +This is the second round of my initial series [1]. Thanks to Tomi and +David for reviewing v1. General changes since v1: + +* Python 2.6 compatibility fixes ('{0}'.format(...) and an OrderedDict + stub) [2]. + +Changes to the HTML output since v1: + +* Escape &, <, and > in display data [3]. +* Changed color scheme to #ffd96e / #bce [4]. +* Added additional spacing between messages (smaller than the existing + spacing between threads) [5]. +* Slug section titles instead of quoting them [6]. + +[1]: id="cover.1391424512.git.wking@tremily.us" + http://thread.gmane.org/gmane.mail.notmuch.general/17061 +[2]: id="20140204173914.GR19935@odin.tremily.us" + http://article.gmane.org/gmane.mail.notmuch.general/17114 +[3]: id="20140207221531.GA17142@odin.tremily.us" + http://article.gmane.org/gmane.mail.notmuch.general/17141 +[4]: id="20140208190923.GE14197@odin.tremily.us" + http://article.gmane.org/gmane.mail.notmuch.general/17151 +[5]: id="20140208221925.GD17142@odin.tremily.us" + http://article.gmane.org/gmane.mail.notmuch.general/17153 +[6]: id="20140208231804.GE17142@odin.tremily.us" + http://article.gmane.org/gmane.mail.notmuch.general/17155 + +W. Trevor King (20): + nmbug-status: Convert to Python-3-compatible print functions + nmbug-status: Use email.utils instead of rfc822 + nmbug-status: Decode Popen output using the user's locale + nmbug-status: Factor config-loading out into read_config + nmbug-status: Add metavars for --config and --get-query + nmbug-status: Consolidate functions and main code + nmbug-status: Don't require write access + nmbug-status: Consolidate HTML header printing + nmbug-status: Add a Python-3-compatible urllib.parse.quote import + nmbug-status: Add Page and HtmlPage for modular rendering + nmbug-status: Add an OrderedDict stub for Python 2.6 + nmbug-status: Normalize table HTML indentation + nmbug-status: Convert from XHTML 1.0 to HTML 5 + nmbug-status: Encode output using the user's locale + nmbug-status: Anchor with h3 ids instead of a names + nmbug-status: Slug the title when using it as an id + nmbug-status: Use and

markup where appropriate + nmbug-status: Color threads in HTML output + nmbug-status: Escape &, <, and > in HTML display data + nmbug-status: Add inter-message padding + + devel/nmbug/nmbug-status | 448 +++++++++++++++++++++++++++++++---------------- + 1 file changed, 297 insertions(+), 151 deletions(-) + +-- +1.8.5.2.8.g0f6c0d1 +