From 87a0f7da7762aabaca25ec8025dc00ea6db79c07 Mon Sep 17 00:00:00 2001 From: Austin Clements Date: Tue, 14 Oct 2014 02:19:59 +2000 Subject: [PATCH] [WIP PATCH 0/4] Add message revision tracking --- b1/f306b48fbf3eba9d4dc41e8338025cf8af854f | 83 +++++++++++++++++++++++ 1 file changed, 83 insertions(+) create mode 100644 b1/f306b48fbf3eba9d4dc41e8338025cf8af854f diff --git a/b1/f306b48fbf3eba9d4dc41e8338025cf8af854f b/b1/f306b48fbf3eba9d4dc41e8338025cf8af854f new file mode 100644 index 000000000..499950ebe --- /dev/null +++ b/b1/f306b48fbf3eba9d4dc41e8338025cf8af854f @@ -0,0 +1,83 @@ +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 11802431FBF + for ; Sun, 12 Oct 2014 23:20:17 -0700 (PDT) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: -2.3 +X-Spam-Level: +X-Spam-Status: No, score=-2.3 tagged_above=-999 required=5 + tests=[RCVD_IN_DNSWL_MED=-2.3] 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 kXIkCnAYkEzi for ; + Sun, 12 Oct 2014 23:20:09 -0700 (PDT) +Received: from dmz-mailsec-scanner-7.mit.edu (dmz-mailsec-scanner-7.mit.edu + [18.7.68.36]) + (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) + (No client certificate requested) + by olra.theworths.org (Postfix) with ESMTPS id 7D4CA431FAE + for ; Sun, 12 Oct 2014 23:20:09 -0700 (PDT) +X-AuditID: 12074424-f79346d000004923-3f-543b6f1898fc +Received: from mailhub-auth-1.mit.edu ( [18.9.21.35]) + (using TLS with cipher AES256-SHA (256/256 bits)) + (Client did not present a certificate) + by dmz-mailsec-scanner-7.mit.edu (Symantec Messaging Gateway) with SMTP + id C9.BA.18723.81F6B345; Mon, 13 Oct 2014 02:20:08 -0400 (EDT) +Received: from outgoing.mit.edu (outgoing-auth-1.mit.edu [18.9.28.11]) + by mailhub-auth-1.mit.edu (8.13.8/8.9.2) with ESMTP id s9D6K81H009802 + for ; Mon, 13 Oct 2014 02:20:08 -0400 +Received: from drake.dyndns.org ([73.162.189.21]) (authenticated bits=0) + (User authenticated as amdragon@ATHENA.MIT.EDU) + by outgoing.mit.edu (8.13.8/8.12.4) with ESMTP id s9D6K5u9031969 + (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT) + for ; Mon, 13 Oct 2014 02:20:07 -0400 +Received: from amthrax by drake.dyndns.org with local (Exim 4.84) + (envelope-from ) id 1XdYzF-0000U5-7B + for notmuch@notmuchmail.org; Mon, 13 Oct 2014 02:20:05 -0400 +From: Austin Clements +To: notmuch@notmuchmail.org +Subject: [WIP PATCH 0/4] Add message revision tracking +Date: Mon, 13 Oct 2014 02:19:59 -0400 +Message-Id: <1413181203-1676-1-git-send-email-aclements@csail.mit.edu> +X-Mailer: git-send-email 2.1.0 +X-Brightmail-Tracker: + H4sIAAAAAAAAA+NgFprNIsWRmVeSWpSXmKPExsUixCmqrCuRbx1i0LBQz+L6zZnMDowez1bd + Yg5gjOKySUnNySxLLdK3S+DK6Ll3g7HgAUvFoenHmRsY3zB3MXJySAiYSJw99I0JwhaTuHBv + PRuILSQwm0ni31S+LkYuIPs8o8SMLZfYIZyjTBLLHl5ghnAOMUo8ufKWBaSFTUBfYsXaSawg + toiAtMTOu7PBbGEBM4mpfw6BrWARUJVYfvISWD2vgJtE87aHLBCr5SQ27P7POIGRZwEjwypG + 2ZTcKt3cxMyc4tRk3eLkxLy81CJdc73czBK91JTSTYwgf7O7qOxgbD6kdIhRgINRiYf3wU+r + ECHWxLLiytxDjJIcTEqivAFp1iFCfEn5KZUZicUZ8UWlOanFQBdzMCuJ8L61AcrxpiRWVqUW + 5cOkpDlYlMR5N/3gCxESSE8sSc1OTS1ILYLJynBwKEnwdmYDNQoWpaanVqRl5pQgpJk4OEGG + 8wANlwKp4S0uSMwtzkyHyJ9i1OVoaXrbyyTEkpeflyolzns1C6hIAKQoozQPbg4sTl8xigO9 + JcwbCDKKBxjjcJNeAS1hAlpytMscZElJIkJKqoGxrfBr0rUpiVfj9knIyKuI6U5axmk/XX5X + p2u30sfTzTmL9Q7lLdLa9l7/5qSooHssYqVq3DctO9tyuhzOfSlbX/WbYcMth/fT5tgcrnTt + 3diYsVpJdk/mo+OpvncLNwnyfw0xVdsSIxDWs3CRg1E+72f/BfmJwVJT5X+JvebZ6R2rUlR0 + sEyJpTgj0VCLuag4EQBe7PLnrgIAAA== +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, 13 Oct 2014 06:20:17 -0000 + +This implements message revision tracking. This is definitely a +work-in-progress, but I wanted to post it since I don't know when I'll +be able to work on it next (and maybe someone else can run with it in +the mean time). I think this makes all of the necessary library-side +changes, but doesn't do anything in the CLI to expose current revision +information other than adding support for a "lastmod" query. + +This series applies on top of the ghost message series, but only +because of trivial conflicts in the lists of features in database.cc +and database-private.h. There's no code dependency. + -- 2.26.2