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 8AFF7431FBC for ; Mon, 11 Jan 2010 20:07:34 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org 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 qTNzxQozc07i for ; Mon, 11 Jan 2010 20:07:34 -0800 (PST) Received: from clegg.madduck.net (clegg.madduck.net [193.242.105.96]) by olra.theworths.org (Postfix) with ESMTP id F1499431FAE for ; Mon, 11 Jan 2010 20:07:33 -0800 (PST) Received: from lapse.rw.madduck.net (unknown [IPv6:2404:130:0:1000:20a:e4ff:fe30:4316]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "lapse.rw.madduck.net", Issuer "CAcert Class 3 Root" (verified OK)) by clegg.madduck.net (postfix) with ESMTPS id 08D4B1D4097; Tue, 12 Jan 2010 05:07:21 +0100 (CET) Received: by lapse.rw.madduck.net (Postfix, from userid 1000) id B5016E20; Tue, 12 Jan 2010 17:06:45 +1300 (NZDT) Date: Tue, 12 Jan 2010 17:06:45 +1300 From: martin f krafft To: notmuch@notmuchmail.org Message-ID: <20100112040645.GB13223@lapse.rw.madduck.net> Mail-Followup-To: notmuch@notmuchmail.org, mailtags discussion list References: <20100111221909.GA30299@lapse.rw.madduck.net> <1263267603-sup-302@elise> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-ripemd160; protocol="application/pgp-signature"; boundary="1UWUbFP1cBYEclgG" Content-Disposition: inline In-Reply-To: <1263267603-sup-302@elise> X-Motto: Keep the good times rollin' X-OS: Debian GNU/Linux squeeze/sid kernel 2.6.32-trunk-686 i686 X-Spamtrap: madduck.bogus@madduck.net X-Subliminal-Message: debian/rules! User-Agent: Mutt/1.5.20 (2009-06-14) X-Virus-Scanned: clamav-milter 0.95.3 at clegg X-Virus-Status: Clean Cc: mailtags discussion list Subject: Re: [notmuch] Idea for storing tags 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: Tue, 12 Jan 2010 04:07:34 -0000 --1UWUbFP1cBYEclgG Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable also sprach Scott Robinson [2010.01.12.1644 +1300]: > I wrote a script to store and sync my tags. >=20 > * One filename per message-ID. > * Line-feed seperated tags in each file. >=20 > Then the whole structure is controlled via git. > Conflict-resolution and sync comes for free. How do you ensure that the external tag store and your mail store do not go out of sync? I assume that mails without a tagfile are simply untagged, so that's hardly the issue. However, if you delete a mail, how do you ensure that the tag database is cleaned up? Also, do you attach tags automatically, e.g. with procmail on the server? If so, how do you initiate git-pull locally? Would you consider sharing your script? --=20 martin | http://madduck.net/ | http://two.sentenc.es/ =20 "alle vorurteile kommen aus den eingeweiden." - friedrich nietzsche =20 spamtraps: madduck.bogus@madduck.net --1UWUbFP1cBYEclgG Content-Type: application/pgp-signature; name="digital_signature_gpg.asc" Content-Description: Digital signature (see http://martin-krafft.net/gpg/) Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iEYEAREDAAYFAktL9VUACgkQIgvIgzMMSnXBRQCdGp7yMSe50bBUHpvVXZmc+KwJ aiQAn2+fVPmd2+I7uSYdj+Wb/a/xzio7 =YFBr -----END PGP SIGNATURE----- --1UWUbFP1cBYEclgG--