[PATCH 0/14] Implement and use database "features"
authorAustin Clements <amdragon@MIT.EDU>
Sun, 27 Jul 2014 03:52:39 +0000 (23:52 +2000)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 18:03:51 +0000 (10:03 -0800)
04/b9932c8b33b9065172d352c1eca1fad869d19c [new file with mode: 0644]

diff --git a/04/b9932c8b33b9065172d352c1eca1fad869d19c b/04/b9932c8b33b9065172d352c1eca1fad869d19c
new file mode 100644 (file)
index 0000000..b180147
--- /dev/null
@@ -0,0 +1,95 @@
+Return-Path: <amdragon@mit.edu>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+       by olra.theworths.org (Postfix) with ESMTP id 9142F431FDC\r
+       for <notmuch@notmuchmail.org>; Sat, 26 Jul 2014 20:53:18 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -2.3\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-2.3 tagged_above=-999 required=5\r
+       tests=[RCVD_IN_DNSWL_MED=-2.3] autolearn=disabled\r
+Received: from olra.theworths.org ([127.0.0.1])\r
+       by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
+       with ESMTP id ZnTeD+wYeUMx for <notmuch@notmuchmail.org>;\r
+       Sat, 26 Jul 2014 20:53:12 -0700 (PDT)\r
+Received: from dmz-mailsec-scanner-7.mit.edu (dmz-mailsec-scanner-7.mit.edu\r
+       [18.7.68.36])\r
+       (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))\r
+       (No client certificate requested)\r
+       by olra.theworths.org (Postfix) with ESMTPS id 013FB431FC3\r
+       for <notmuch@notmuchmail.org>; Sat, 26 Jul 2014 20:53:06 -0700 (PDT)\r
+X-AuditID: 12074424-f79146d00000067c-fe-53d477a2e1a8\r
+Received: from mailhub-auth-2.mit.edu ( [18.7.62.36])\r
+       (using TLS with cipher AES256-SHA (256/256 bits))\r
+       (Client did not present a certificate)\r
+       by dmz-mailsec-scanner-7.mit.edu (Symantec Messaging Gateway) with SMTP\r
+       id 83.C1.01660.2A774D35; Sat, 26 Jul 2014 23:53:06 -0400 (EDT)\r
+Received: from outgoing.mit.edu (outgoing-auth-1.mit.edu [18.9.28.11])\r
+       by mailhub-auth-2.mit.edu (8.13.8/8.9.2) with ESMTP id s6R3r6Si014370\r
+       for <notmuch@notmuchmail.org>; Sat, 26 Jul 2014 23:53:06 -0400\r
+Received: from drake.dyndns.org\r
+       (216-15-114-40.c3-0.arl-ubr1.sbo-arl.ma.cable.rcn.com\r
+       [216.15.114.40]) (authenticated bits=0)\r
+       (User authenticated as amdragon@ATHENA.MIT.EDU)\r
+       by outgoing.mit.edu (8.13.8/8.12.4) with ESMTP id s6R3r5Hg016471\r
+       (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NOT)\r
+       for <notmuch@notmuchmail.org>; Sat, 26 Jul 2014 23:53:06 -0400\r
+Received: from amthrax by drake.dyndns.org with local (Exim 4.77)\r
+       (envelope-from <amdragon@mit.edu>) id 1XBFW8-000515-5K\r
+       for notmuch@notmuchmail.org; Sat, 26 Jul 2014 23:53:00 -0400\r
+From: Austin Clements <amdragon@MIT.EDU>\r
+To: notmuch@notmuchmail.org\r
+Subject: [PATCH 0/14] Implement and use database "features"\r
+Date: Sat, 26 Jul 2014 23:52:39 -0400\r
+Message-Id: <1406433173-19169-1-git-send-email-amdragon@mit.edu>\r
+X-Mailer: git-send-email 2.0.0\r
+X-Brightmail-Tracker:\r
+ H4sIAAAAAAAAA+NgFprAIsWRmVeSWpSXmKPExsUixG6noruo/EqwwaUfRhbXb85kdmD0eLbq\r
+       FnMAYxSXTUpqTmZZapG+XQJXxvXd55gK5nFUzFx7irGB8S1bFyMnh4SAicTSEw+ZIGwxiQv3\r
+       1gPFuTiEBGYzSUw81QvlnGeU+DBxApTzi0li8fap7BDObkaJ3o1bGUH62QQ0JLbtXw5miwhI\r
+       S+y8O5sVxBYWsJbY+LIPbB+LgKrEu03/wPbxCjhIHHlwkx1it5xEw41PbBMYeRYwMqxilE3J\r
+       rdLNTczMKU5N1i1OTszLSy3SNdfLzSzRS00p3cQI9riLyg7G5kNKhxgFOBiVeHgz2K4EC7Em\r
+       lhVX5h5ilORgUhLl3W8GFOJLyk+pzEgszogvKs1JLT7EKMHBrCTCK1QMlONNSaysSi3Kh0lJ\r
+       c7AoifO+tbYKFhJITyxJzU5NLUgtgsnKcHAoSfDeKANqFCxKTU+tSMvMKUFIM3FwggznARq+\r
+       oRRkeHFBYm5xZjpE/hSjopQ47y+QhABIIqM0D64XFpGvGMWBXhHmZQVZwQOMZrjuV0CDmYAG\r
+       s/hfBhlckoiQkmpg5Lvzts9X9tXyQ/cc6so2P+SbN2Wa+SOhl2Zb2+yaOwVF2SQEQ/TZW+Q9\r
+       Be6/muFf/2/lqp75ax45Gsx9I/nF6fUMRy3W+eaTa9oUv5uwB71M/HOCwWOamOz2sL477/WP\r
+       7nr63XLJzbQO3c/3QuZ+bGE+p7Uug2dDkbl0wcpdX539Ts8WEU7drcRSnJFoqMVcVJwIAE7x\r
+       EcejAgAA\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.13\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+       <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Sun, 27 Jul 2014 03:53:18 -0000\r
+\r
+This series is not as long as it looks!  Patch 5 is the only one\r
+that's even slightly lengthy and almost any prefix of the series can\r
+be sensibly reviewed and pushed on its own.\r
+\r
+This series implements support for database features as described in\r
+my earlier proposal [1].  This should simplify future database schema\r
+changes and upgrades, enabling us to iterate faster on notmuch's core.\r
+It also substantially improves forward and backwards compatibility and\r
+improves user error reporting related to compatibility.  Patches 9 and\r
+on make use of database features throughout the rest of libnotmuch to\r
+simplify and improve code, improve performance, and even make the\r
+libnotmuch interface safer and easier to use correctly.\r
+\r
+Once features support has been merged, it should be easy to implement\r
+various pending changes, including ghost messages [2] (I have this\r
+mostly implemented already) and ctimes [3].\r
+\r
+[1] id:87sim8ob48.fsf@awakening.csail.mit.edu\r
+[2] id:20140421162058.GE25817@mit.edu\r
+[3] id:87wqexnqvb.fsf@ta.scs.stanford.edu\r
+\r