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 4CCDE431FBC for ; Mon, 11 Jan 2010 20:52:01 -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 6JwMNJxmbCNT for ; Mon, 11 Jan 2010 20:52:00 -0800 (PST) Received: from clegg.madduck.net (clegg.madduck.net [193.242.105.96]) by olra.theworths.org (Postfix) with ESMTP id 987C8431FAE for ; Mon, 11 Jan 2010 20:52:00 -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 5D6621D4097 for ; Tue, 12 Jan 2010 05:51:56 +0100 (CET) Received: by lapse.rw.madduck.net (Postfix, from userid 1000) id 0F737F56; Tue, 12 Jan 2010 17:51:53 +1300 (NZDT) Date: Tue, 12 Jan 2010 17:51:53 +1300 From: martin f krafft To: notmuch Message-ID: <20100112045152.GA15275@lapse.rw.madduck.net> Mail-Followup-To: notmuch 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="fUYQa+Pmc3FrFX/N" 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 Subject: Potential problem using Git for mail (was: 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:52:01 -0000 --fUYQa+Pmc3FrFX/N Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable also sprach Scott Robinson [2010.01.12.1644 +1300]: > Then the whole structure is controlled via git. > Conflict-resolution and sync comes for free. I've just had a good think about this, also because the idea of abandoning IMAP and using Git has been around for a while and I have not really wrapped my head around it. If the MDA delivers to Git, then potentially, you might get into a situation where you cannot write your own changes back to the repo. This is also a DoS scenario: I'll just keep sending you e-mail, and if I manage to pass your mail filters, I'll basically commit to your mail repository at regular intervals. Say those are 5 seconds. In order for you to write updates to the repo, e.g. to update tags, then you would need to pull, rebase, and push all within 5 seconds, for otherwise you'd try to push non-fast-forwards. This a bit unrealistic, surely, but there's a real annoyance in it: you'd have to pull/rebase/push until a push succeeds =E2=80=94 until you found a time window between pull and push during which the MDA didn't write to the repo. This might take a long time. If this happens in the background by Cron, it's not a real concern, but if this becomes a UI issue, I wouldn't know how to handle it. --=20 martin | http://madduck.net/ | http://two.sentenc.es/ =20 don't hate yourself in the morning -- sleep till noon. =20 spamtraps: madduck.bogus@madduck.net --fUYQa+Pmc3FrFX/N 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) iEYEAREDAAYFAktL/+gACgkQIgvIgzMMSnVLFQCfQBH5CfUZy7YGWJvW0aeiMx/F WNwAn0E5t30m7RZqbbcS7lmZrwpy5hQQ =coAx -----END PGP SIGNATURE----- --fUYQa+Pmc3FrFX/N--