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 0242D431FBF for ; Wed, 5 Mar 2014 00:40:03 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: 0 X-Spam-Level: X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none] 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 ccpsoQ3-Shh2 for ; Wed, 5 Mar 2014 00:39:53 -0800 (PST) Received: from guru.guru-group.fi (guru.guru-group.fi [46.183.73.34]) by olra.theworths.org (Postfix) with ESMTP id 2C83A431FBD for ; Wed, 5 Mar 2014 00:39:53 -0800 (PST) Received: from guru.guru-group.fi (localhost [IPv6:::1]) by guru.guru-group.fi (Postfix) with ESMTP id C115E100245; Wed, 5 Mar 2014 10:39:46 +0200 (EET) From: Tomi Ollila To: David Bremner , Jani Nikula , notmuch@notmuchmail.org Subject: Re: [PATCH v2 00/13] literal folder: prefix, new path: prefix In-Reply-To: <8738ix4qeg.fsf@tethera.net> References: <87mwh8mn58.fsf@zancas.localnet> <87siqxiwlc.fsf@nikula.org> <8738ix4qeg.fsf@tethera.net> User-Agent: Notmuch/0.17+112~g4e0c1d5 (http://notmuchmail.org) Emacs/24.3.1 (x86_64-unknown-linux-gnu) X-Face: HhBM'cA~ MIME-Version: 1.0 Content-Type: text/plain 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: Wed, 05 Mar 2014 08:40:03 -0000 On Tue, Mar 04 2014, David Bremner wrote: > Jani Nikula writes: > >> >> I think we should use the prereq mechanism in the tests to check if a >> required test database is in place, skipping the test if not. This >> should be fairly straightforward to do, and does not care *how* the test >> database is to be fetched. (I'm undecided whether the test should verify >> the checksum, or the part that fetches the database. Minor detail.) > > Yep, prereqs sounds fine. SHA256 verification is pretty fast (on the > scale of test suite operations), so I'd lean to doing it late, but > I could be convinced otherwise. I decline commenting on prereqs... ;/ >> >> I know git annex in principle, but don't have any practical experience >> with it. I don't really have any ideas for that. > > Well, if you don't mind the rest of the setup (SHA256 sums checked, > tarballs fetched if needed), we can forge ahead for now. I can contribute script with interface ./fetch-and-check.sh [--verify-only] destdir url sha256sum > > d Tomi