[PATCH 2/6] lib: Add per-message last modification tracking
[notmuch-archives.git] / dd / ac5073ac5ba8edbd036584355dc618593d67bf
1 Return-Path: <wking@tremily.us>\r
2 X-Original-To: notmuch@notmuchmail.org\r
3 Delivered-To: notmuch@notmuchmail.org\r
4 Received: from localhost (localhost [127.0.0.1])\r
5         by olra.theworths.org (Postfix) with ESMTP id D797A429E34\r
6         for <notmuch@notmuchmail.org>; Mon,  3 Feb 2014 03:00:44 -0800 (PST)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: 0\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=0 tagged_above=-999 required=5\r
12         tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001]\r
13         autolearn=disabled\r
14 Received: from olra.theworths.org ([127.0.0.1])\r
15         by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
16         with ESMTP id a-MrEWDMVgnl for <notmuch@notmuchmail.org>;\r
17         Mon,  3 Feb 2014 03:00:39 -0800 (PST)\r
18 Received: from qmta03.westchester.pa.mail.comcast.net\r
19         (qmta03.westchester.pa.mail.comcast.net [76.96.62.32])\r
20         by olra.theworths.org (Postfix) with ESMTP id CC19A431FDB\r
21         for <notmuch@notmuchmail.org>; Mon,  3 Feb 2014 03:00:38 -0800 (PST)\r
22 Received: from omta17.westchester.pa.mail.comcast.net ([76.96.62.89])\r
23         by qmta03.westchester.pa.mail.comcast.net with comcast\r
24         id MmuM1n0031vXlb853n0eRM; Mon, 03 Feb 2014 11:00:38 +0000\r
25 Received: from odin.tremily.us ([24.18.63.50])\r
26         by omta17.westchester.pa.mail.comcast.net with comcast\r
27         id Mn0d1n00B152l3L3dn0dwp; Mon, 03 Feb 2014 11:00:38 +0000\r
28 Received: from mjolnir.tremily.us (unknown [192.168.0.140])\r
29         by odin.tremily.us (Postfix) with ESMTPS id E2D26FB4D3F;\r
30         Mon,  3 Feb 2014 03:00:36 -0800 (PST)\r
31 Received: (nullmailer pid 675 invoked by uid 1000);\r
32         Mon, 03 Feb 2014 10:59:40 -0000\r
33 From: "W. Trevor King" <wking@tremily.us>\r
34 To: notmuch@notmuchmail.org\r
35 Subject: [PATCH 00/17] nmbug-status: Python-3-compabitility and general\r
36         refactoring\r
37 Date: Mon,  3 Feb 2014 02:59:18 -0800\r
38 Message-Id: <cover.1391424512.git.wking@tremily.us>\r
39 X-Mailer: git-send-email 1.8.5.2.8.g0f6c0d1\r
40 MIME-Version: 1.0\r
41 Content-Type: text/plain; charset=UTF-8\r
42 Content-Transfer-Encoding: 8bit\r
43 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net;\r
44         s=q20121106; t=1391425238;\r
45         bh=sAopppKi9y3EMKkYNf/WrY51ATNQEmZ5/rIAK4Runn8=;\r
46         h=Received:Received:Received:Received:From:To:Subject:Date:\r
47         Message-Id:MIME-Version:Content-Type;\r
48         b=Onvo95NSrnTSzqp9z3CMg6ssNnSNWDv55c8JWG2cuBa2OFirSJ5ex4lH0D9VIbTIJ\r
49         j6L5pvM0QAGivY0/rcPCyqv4ZKk9xnsOtfUtL7f5KfaIae6pnzXyy8sVWdraJ0/j2Y\r
50         bj5kFmhRwqJ20gaB7pXlOarObAunrupbpduOuvMgloCw1TbL5k1mDLwGJfoKULNL3X\r
51         5jCLR+CGQkFMwwmok7kNotY7ABXeyZ2UCQI11MlcLyiykVuxNIg9/amwhxECbLyRBH\r
52         NO/Tt0x3wtjKcLac7QL/1eRUtn3w/Z7rTXw8mBj0bSuWQk5c9pgl+GGw1xn4rytTYf\r
53         EuW+tsmysmxqA==\r
54 X-BeenThere: notmuch@notmuchmail.org\r
55 X-Mailman-Version: 2.1.13\r
56 Precedence: list\r
57 List-Id: "Use and development of the notmuch mail system."\r
58         <notmuch.notmuchmail.org>\r
59 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
60         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
61 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
62 List-Post: <mailto:notmuch@notmuchmail.org>\r
63 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
64 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
65         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
66 X-List-Received-Date: Mon, 03 Feb 2014 11:00:45 -0000\r
67 \r
68 I noticed that nmbug-status was written in Python :), but not\r
69 compatible with Python 3 :(.  I started cleaning up a few print\r
70 statements, but this quickly turned into a more general refactoring.\r
71 Let me know if this is too much to bite off at once.  I tried to keep\r
72 each patch fairly contained, but the Page / HtmlPage addition is still\r
73 pretty big.  Despite increasing the size of this module by almost 50%,\r
74 I think my final version is more readable.  However, it's always\r
75 easier to read your own code, so feel free to tell me that this is a\r
76 step in the completely wrong direction ;).\r
77 \r
78 Also anyone with asthetic sensibilities is free to pick nicer colors\r
79 in the final patch.  I'm too partial to the EFF permutation symmetry\r
80 to be able to pick other colors myself ;).\r
81 \r
82 W. Trevor King (17):\r
83   nmbug-status: Convert to Python-3-compatible print functions\r
84   nmbug-status: Use email.utils instead of rfc822\r
85   nmbug-status: Decode Popen output using the user's locale\r
86   nmbug-status: Factor config-loading out into read_config\r
87   nmbug-status: Add metavars for --config and --get-query\r
88   nmbug-status: Consolidate functions and main code\r
89   nmbug-status: Don't require write access\r
90   nmbug-status: Consolidate HTML header printing\r
91   nmbug-status: Add a Python-3-compatible urllib.parse.quote import\r
92   nmbug-status: Add Page and HtmlPage for modular rendering\r
93   nmbug-status: Normalize table HTML indentation\r
94   nmbug-status: Convert from XHTML 1.0 to HTML 5\r
95   nmbug-status: Encode output using the user's locale\r
96   nmbug-status: Anchor with h3 ids instead of a names\r
97   nmbug-status: Quote the title when using it as an id\r
98   nmbug-status: Use <code> and <p> markup where appropriate\r
99   nmbug-status: Color threads in HTML output\r
100 \r
101  devel/nmbug/nmbug-status | 412 ++++++++++++++++++++++++++++++-----------------\r
102  1 file changed, 261 insertions(+), 151 deletions(-)\r
103 \r
104 -- \r
105 1.8.5.2.8.g0f6c0d1\r
106 \r