From: Daniel Schoepe Date: Tue, 18 Aug 2015 11:32:29 +0000 (+0200) Subject: Re: [PATCH 3/5] cli/count: add --lastmod X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=d60402695abb383ad890e4200509cb06d35cdbaf;p=notmuch-archives.git Re: [PATCH 3/5] cli/count: add --lastmod --- diff --git a/3c/cb9309a6fe09dfd3d8c48e8a66b0ee0eaa0bc7 b/3c/cb9309a6fe09dfd3d8c48e8a66b0ee0eaa0bc7 new file mode 100644 index 000000000..1915fe472 --- /dev/null +++ b/3c/cb9309a6fe09dfd3d8c48e8a66b0ee0eaa0bc7 @@ -0,0 +1,95 @@ +Return-Path: +X-Original-To: notmuch@notmuchmail.org +Delivered-To: notmuch@notmuchmail.org +Received: from localhost (localhost [127.0.0.1]) + by arlo.cworth.org (Postfix) with ESMTP id BE7F96DE1329 + for ; Tue, 18 Aug 2015 04:32:37 -0700 (PDT) +X-Virus-Scanned: Debian amavisd-new at cworth.org +X-Spam-Flag: NO +X-Spam-Score: -0.821 +X-Spam-Level: +X-Spam-Status: No, score=-0.821 tagged_above=-999 required=5 + tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, + RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, + RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled +Received: from arlo.cworth.org ([127.0.0.1]) + by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024) + with ESMTP id 2_23DI_aAUkg for ; + Tue, 18 Aug 2015 04:32:35 -0700 (PDT) +Received: from mail-la0-f41.google.com (mail-la0-f41.google.com + [209.85.215.41]) + by arlo.cworth.org (Postfix) with ESMTPS id 57A496DE025F + for ; Tue, 18 Aug 2015 04:32:34 -0700 (PDT) +Received: by lahi9 with SMTP id i9so96900009lah.2 + for ; Tue, 18 Aug 2015 04:32:31 -0700 (PDT) +DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=schoepe.org; s=google; + h=from:to:subject:in-reply-to:references:user-agent:date:message-id + :mime-version:content-type; + bh=89ak/qR0iR5ItNdWxUaVwGfOeAZMwF9L9FqKU2KE/r0=; + b=eL/tK/J89dV16ZQznsmrJUO980io7lxMsvNgAqSMSDuUESL95xMRvMCuj1BPVFHe+X + bR3ebgmnJJCm91qw9iZqe+aFCYN/YcbRDniUicgh0CA2aw6hxHPIb6kFagrfamxcztp7 + YPUXCERdTEGQmG7h+cJg4BNRlVmQJMp7UZDVQ= +X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; + d=1e100.net; s=20130820; + h=x-gm-message-state:from:to:subject:in-reply-to:references + :user-agent:date:message-id:mime-version:content-type; + bh=89ak/qR0iR5ItNdWxUaVwGfOeAZMwF9L9FqKU2KE/r0=; + b=hBjS85xmF73019dgsHfrhFsIhll9Covh9jZbYgB7oGlWHD7d3Z8rk5OqlOL+UYmzoT + 4Q9rvL5uiSkL5v3gko/66rF6iR/30T6RMBaJatXEu5nbxHGTmeqJDmW+fRwDDSIaGkL3 + pFy7DZmU/suOW03zodec7uKP6uKmxnvYhotyvGDdhIlGl2dPEvrvlLfJxDHnZsqym+7h + E5zKJUUG462puI4HlGxgjEBJgGucV+fbibjYrWdHiiU2jIx4EEI3xyAS5zyNCfFmCqcL + lmizY+fPyKk2YE1vRx+arkEkeNUgxvNwmdtyR0eBUHLQ4xPzep7ohImfnsLKQvmPHQ86 + UQew== +X-Gm-Message-State: + ALoCoQmDrUqYeGvT/BjKpB6vff1pP/luKtj92Ng/qAHm+21qRE3vOyw8/sXE1skeosKAPTFOKWkv +X-Received: by 10.112.53.229 with SMTP id e5mr5801380lbp.61.1439897551199; + Tue, 18 Aug 2015 04:32:31 -0700 (PDT) +Received: from localhost (cse-1075811.cse.chalmers.se. [129.16.23.48]) + by smtp.gmail.com with ESMTPSA id t12sm4753899lbs.19.2015.08.18.04.32.30 + (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); + Tue, 18 Aug 2015 04:32:30 -0700 (PDT) +From: Daniel Schoepe +To: David Bremner , notmuch@notmuchmail.org +Subject: Re: [PATCH 3/5] cli/count: add --lastmod +In-Reply-To: <87si7kx27c.fsf@maritornes.cs.unb.ca> +References: <1439570878-15165-1-git-send-email-david@tethera.net> + <1439570878-15165-4-git-send-email-david@tethera.net> + <878u9dyq2a.fsf@schoepe.localhost> <87si7kx27c.fsf@maritornes.cs.unb.ca> +User-Agent: Notmuch/0.20.2+64~g9f61b4c (http://notmuchmail.org) Emacs/24.5.1 + (x86_64-unknown-linux-gnu) +Date: Tue, 18 Aug 2015 13:32:29 +0200 +Message-ID: <87fv3gx25u.fsf@schoepe.localhost> +MIME-Version: 1.0 +Content-Type: text/plain +X-BeenThere: notmuch@notmuchmail.org +X-Mailman-Version: 2.1.18 +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: Tue, 18 Aug 2015 11:32:37 -0000 + +On Sat, 15 Aug 2015 12:42 +0200, David Bremner wrote: +> For me compaction is a rare event, so having to take the fallback path +> and do a full dump or whatever doesn't seem so bad. If you don't want to +> have a fallback path, then I guess you need to guarantee externally that +> no "bad changes" happen and either ignore the uuid's or copy them +> forward in your external tool. +> +> Mainly though I think this will be fixed in Xapian. As it happens Xapian +> developer Olly Betts is here at DebConf, and I discussed this problem +> with him. According to Olly, in-progress / future versions of compact +> will function in place, and guarantee the UUID is preserved. I'm not +> sure of the timeline here, but given our scarce developer resources, I +> think I'd rather wait for Olly to fix this. + +Okay, I'm convinced now. The series looks good to me otherwise. + +Best regards, +Daniel