From: Jani Nikula Date: Thu, 6 Dec 2012 22:34:36 +0000 (+0200) Subject: [PATCH] TODO: date range queries - check X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=bb7b2f9f0c256bc1df7e4c128800a2c09cb3d2ae;p=notmuch-archives.git [PATCH] TODO: date range queries - check --- diff --git a/33/bbf024506cea71b978af3735d441f2831b3062 b/33/bbf024506cea71b978af3735d441f2831b3062 new file mode 100644 index 000000000..11b7061b6 --- /dev/null +++ b/33/bbf024506cea71b978af3735d441f2831b3062 @@ -0,0 +1,88 @@ +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 86342431FB6 + for ; Thu, 6 Dec 2012 14:34:41 -0800 (PST) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: -0.7 +X-Spam-Level: +X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5 + tests=[RCVD_IN_DNSWL_LOW=-0.7] 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 qLy516QomfAv for ; + Thu, 6 Dec 2012 14:34:41 -0800 (PST) +Received: from mail-la0-f53.google.com (mail-la0-f53.google.com + [209.85.215.53]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) + (No client certificate requested) + by olra.theworths.org (Postfix) with ESMTPS id E4C34431FAE + for ; Thu, 6 Dec 2012 14:34:40 -0800 (PST) +Received: by mail-la0-f53.google.com with SMTP id w12so5838533lag.26 + for ; Thu, 06 Dec 2012 14:34:39 -0800 (PST) +X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; + d=google.com; s=20120113; + h=from:to:cc:subject:date:message-id:x-mailer:x-gm-message-state; + bh=L6ZG3iHC0BQuEbFowIFu0kZ9ngjpU2Wni8Gw4YguFTU=; + b=GWsE3BqxfJQwuxhFGXPnJYrXvQoAB/vB6wg3SAzQXdjCqWIzQJ2DJIGujNIa3XXAEI + BhmgGI8TH/SX7RdMsYymNFXGJr4Z9wwwako/NP2DNVqR+hzmVu3Cewc3TDkaq5kqCAg0 + EmLQKnBH5qjQbCjpvxegGGaiWy+y/sdwMjDbN0Sq0zd+atvXkfmbvlPwFuIXWT5nKG56 + GVW8GzbK3y8PRgOVZm2XTCpYzekNWu8bA8PYGqRWCSKXrh2qZIzsiVXs3/f+RnJFeiME + MMJ6zPhznOKpwxo8Fa+f72bInHGx/Ik3YhXbzpgH9tqaTagXMjg5VH8BN4FCLQ3IwHmi + 7phw== +Received: by 10.152.110.74 with SMTP id hy10mr3458331lab.54.1354833279397; + Thu, 06 Dec 2012 14:34:39 -0800 (PST) +Received: from localhost (dsl-hkibrasgw4-fe51df00-27.dhcp.inet.fi. + [80.223.81.27]) + by mx.google.com with ESMTPS id pg5sm2471912lab.6.2012.12.06.14.34.37 + (version=SSLv3 cipher=OTHER); Thu, 06 Dec 2012 14:34:38 -0800 (PST) +From: Jani Nikula +To: notmuch@notmuchmail.org +Subject: [PATCH] TODO: date range queries - check +Date: Fri, 7 Dec 2012 00:34:36 +0200 +Message-Id: <1354833276-6219-1-git-send-email-jani@nikula.org> +X-Mailer: git-send-email 1.7.10.4 +X-Gm-Message-State: + ALoCoQnVdnADiOUHu4+b7eUpdb1wW28teJ+uBC1AcRpcu9P93ktSlnvebVRBntaVdZfqifEIMB7r +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: Thu, 06 Dec 2012 22:34:41 -0000 + +--- + devel/TODO | 9 --------- + 1 file changed, 9 deletions(-) + +diff --git a/devel/TODO b/devel/TODO +index eb757af..277a997 100644 +--- a/devel/TODO ++++ b/devel/TODO +@@ -163,15 +163,6 @@ vs. tag-when-all-files-flagged (* above)). + Add an interface to accept a "key" and a byte stream, rather than a + filename. + +-Provide a sane syntax for date ranges. First, we don't want to require +-both endpoints to be specified. For example it would be nice to be +-able to say things like "since:2009-01-1" or "until:2009-01-1" and +-have the other endpoint be implicit. Second we'd like to support +-relative specifications of time such as "since:'2 months ago'". To do +-any of this we're probably going to need to break down an write our +-own parser for the query string rather than using Xapian's QueryParser +-class. +- + Make failure to read a file (such as a permissions problem) a warning + rather than an error (should be similar to the existing warning for a + non-mail file). +-- +1.7.10.4 +