From b9840f005564c0d5d7e3cf9e5f8c64cd569cd07e Mon Sep 17 00:00:00 2001 From: Daniel Schoepe Date: Fri, 7 Aug 2015 10:05:51 +0200 Subject: [PATCH] Re: [PATCH 5/6] cli: add global option "--db-revision" --- 44/13dbc3d1f0d784a1d06c078189fe2f11744384 | 92 +++++++++++++++++++++++ 1 file changed, 92 insertions(+) create mode 100644 44/13dbc3d1f0d784a1d06c078189fe2f11744384 diff --git a/44/13dbc3d1f0d784a1d06c078189fe2f11744384 b/44/13dbc3d1f0d784a1d06c078189fe2f11744384 new file mode 100644 index 000000000..3aa529e55 --- /dev/null +++ b/44/13dbc3d1f0d784a1d06c078189fe2f11744384 @@ -0,0 +1,92 @@ +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 584E16DE020B + for ; Fri, 7 Aug 2015 01:06:02 -0700 (PDT) +X-Virus-Scanned: Debian amavisd-new at cworth.org +X-Spam-Flag: NO +X-Spam-Score: -0.11 +X-Spam-Level: +X-Spam-Status: No, score=-0.11 tagged_above=-999 required=5 tests=[AWL=0.097, + 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, RCVD_IN_SORBS_WEB=0.614, 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 GHO9OFkCTNla for ; + Fri, 7 Aug 2015 01:05:57 -0700 (PDT) +Received: from mail-wi0-f182.google.com (mail-wi0-f182.google.com + [209.85.212.182]) + by arlo.cworth.org (Postfix) with ESMTPS id 09DAC6DE13F4 + for ; Fri, 7 Aug 2015 01:05:57 -0700 (PDT) +Received: by wibhh20 with SMTP id hh20so55179719wib.0 + for ; Fri, 07 Aug 2015 01:05:55 -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=3L7Lu6mUBQ6VJDuSk2WBOZaXcNLd4d6sQDY1g2RYdSY=; + b=Y9HHSeSQeFaS33vYiHDhI13VYtWZ+CXYCjEaESM+OaH74yH1+lssbYg7jzdnWYoeRf + nLMI6lKObe0B+ayGl1iXzjTYCdHak3gmz5VyfKdVqVO/xDLZMX6qUE8QjfREDBKIlfNq + Mggs/GRrbP1NoY4i4woUUPFBPEyasP0UYAI5A= +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=3L7Lu6mUBQ6VJDuSk2WBOZaXcNLd4d6sQDY1g2RYdSY=; + b=GAbtJiqxYMOpc6/d9WAstoXK6jutcnXko8XpXVrIosMWkMc+jQBb8ySjGtNWBC1vxm + fMA0Mr64V+7xFnjxs2TK8IacATNpfLccayTg+rbQqnHK14IUC2sQ19VUXlBk+Tohir1W + gAyl4DZ542w6VypL+3pRnPWpTvPQvMEk7EbyapCyHiMCTeG6z9e69I2SNzLxf6qncHr/ + cfdFjq8j6qkJ9NQ+CKuDQ5P2W70BhTbBzMyxCFRQ8WUhJVpncDOETjFkmo8NNbj+3DaR + EJ6Ne02L/lat5NdYdo0n/3NQJDP2urKvnDJCopAxQjCGmHthDQV98V5YqCqr+hn2YIQx + +GzQ== +X-Gm-Message-State: + ALoCoQnTCeKADrrOoJIcNSmkhxlfAiNBxhMJagTXRsA5EprARHwo7YorUEm0wPCBsUX83SQ4zKNf +X-Received: by 10.180.99.71 with SMTP id eo7mr4709407wib.25.1438934755499; + Fri, 07 Aug 2015 01:05:55 -0700 (PDT) +Received: from localhost (ip-80-226-24-9.vodafone-net.de. [80.226.24.9]) + by smtp.gmail.com with ESMTPSA id pu6sm13379032wjc.34.2015.08.07.01.05.53 + (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); + Fri, 07 Aug 2015 01:05:54 -0700 (PDT) +From: Daniel Schoepe +To: David Bremner , notmuch@notmuchmail.org +Subject: Re: [PATCH 5/6] cli: add global option "--db-revision" +In-Reply-To: <1433525318-23756-6-git-send-email-david@tethera.net> +References: <1432936375-astroid-4-0i1n6yczs2-1520@strange> + <1433525318-23756-1-git-send-email-david@tethera.net> + <1433525318-23756-6-git-send-email-david@tethera.net> +User-Agent: Notmuch/0.20.2 (http://notmuchmail.org) Emacs/24.5.1 + (x86_64-unknown-linux-gnu) +Date: Fri, 07 Aug 2015 10:05:51 +0200 +Message-ID: <87614rjzfk.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: Fri, 07 Aug 2015 08:06:02 -0000 + +On Fri, 05 Jun 2015 19:28 +0200, David Bremner wrote: +> + ``--db-revision=UUID`` +> + Enforce that the database revision is UUID. This is useful to +> + detect rollover in modification counts on messages. You can +> + find this UUID in the first column of output from +> + ``notmuch count --output=modifications`` + +I'm not sure if the wording here is entirely clear. When reading this +the first time, to me it sounded like it might give you a view of the +database from when the revision was UUID. Maybe we can clarify here that +this will result in notmuch exiting if the revision is not matched. + +Best regards, +Daniel -- 2.26.2