From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id 9B13A429E26 for ; Thu, 6 Oct 2011 07:19:08 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -2.29 X-Spam-Level: X-Spam-Status: No, score=-2.29 tagged_above=-999 required=5 tests=[RCVD_IN_DNSWL_MED=-2.3, T_MIME_NO_TEXT=0.01] 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 RGSUz8dQnr-P for ; Thu, 6 Oct 2011 07:19:07 -0700 (PDT) Received: from tempo.its.unb.ca (tempo.its.unb.ca [131.202.1.21]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by olra.theworths.org (Postfix) with ESMTPS id BABA9429E28 for ; Thu, 6 Oct 2011 07:19:07 -0700 (PDT) Received: from zancas.localnet (fctnnbsc36w-156034064058.pppoe-dynamic.High-Speed.nb.bellaliant.net [156.34.64.58]) (authenticated bits=0) by tempo.its.unb.ca (8.13.8/8.13.8) with ESMTP id p96EIwJR011033 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO); Thu, 6 Oct 2011 11:18:59 -0300 Received: from bremner by zancas.localnet with local (Exim 4.76) (envelope-from ) id 1RBomo-0005mq-Lp; Thu, 06 Oct 2011 11:18:58 -0300 From: David Bremner To: Jesse Rosenthal , Jameson Graef Rollins , Notmuch Mail Subject: Re: tag sharing In-Reply-To: References: <1306619520-25730-1-git-send-email-jrollins@finestructure.net> <87hb8eebdi.fsf@servo.factory.finestructure.net> <87pqmyn224.fsf@servo.factory.finestructure.net> <87zklyjshd.fsf@yoom.home.cworth.org> <87sjrng5k3.fsf@servo.factory.finestructure.net> <87oc2bjgrs.fsf@yoom.home.cworth.org> <8762oigc0y.fsf@servo.factory.finestructure.net> <87boya98sf.fsf@gogo.home> <87vcwg2p2m.fsf@servo.factory.finestructure.net> <87wrcijn1w.fsf@zancas.localnet> User-Agent: Notmuch/0.9_rc1-42-g76fdca8 (http://notmuchmail.org) Emacs/23.3.1 (x86_64-pc-linux-gnu) Date: Thu, 06 Oct 2011 11:18:51 -0300 Message-ID: <87ipo2td84.fsf@zancas.localnet> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" 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 Oct 2011 14:19:08 -0000 --=-=-= On Thu, 06 Oct 2011 09:21:48 -0400, Jesse Rosenthal wrote: > morning's project. In retrospect, I think the main issue was that I was > trying to figure out how history would be kept. By using git, though, > your idea would be that we get history for free, right? Yeah. Of course, one would have to decide if the history of the current dump file format is intelligible, or if some alternative format should be used. > of git? I.e., all we need something to just keep different dumps in > different namespaces, so that when I pull your dump, the tags come in as > `bremner/to-fix` (or whatever our separator is), and then when I dump > all `bremner` tags, it removes the namespace and puts it in > `bremner.tagfile`. something like that sounds plausible. Currently the query parser doesn't handle searches like "tag:bremner/to-fix" very well, because it helpfully splits at '/' (aiui; maybe somebody else can explain it better). "notmuch search "tag:notmuch*" does not seem to work either, so my first idea to kludge around the problem by using e.g. "notmuchPushed" doesn't seem to work either. > So using > either the library or the bindings would probably speed things up quite > a bit, by only dumping the tags you care about. Which means it couldn't > just be a shell script: it would have to be c/ruby/python. Without looking at the code, I'd guess it wouldn't be too hard to have notmuch-dump take a standard search term; it's just as I mentioned I don't see an elegant way of doing what we want with a standard search term. Of course I'd be happy to be proved wrong. David --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iJwEAQECAAYFAk6NuMsACgkQTiiN/0Um85lHKgP/eXBH8JznAKdI48iLTbtvqCP3 dZArwtAP0dzQ27jDvOlYv3/MnbLMPGKUWXYpS0Wvwz0EwA5/KOCIxq4liC7xysGm ZTpm3yJcHs4Wf+e28UKv09tDm6aWM2TLsGcIbU6qSJK34/HQlN8Mw03aqt9/nVt4 qL9fGVxAj61xWRyJUII= =QvvG -----END PGP SIGNATURE----- --=-=-=--