Re: [PATCH v2 00/13] literal folder: prefix, new path: prefix
authorTomi Ollila <tomi.ollila@iki.fi>
Wed, 5 Mar 2014 13:10:56 +0000 (15:10 +0200)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 18:00:21 +0000 (10:00 -0800)
25/2f9ac11ba957912484f50a84d0459ed58dd526 [new file with mode: 0644]

diff --git a/25/2f9ac11ba957912484f50a84d0459ed58dd526 b/25/2f9ac11ba957912484f50a84d0459ed58dd526
new file mode 100644 (file)
index 0000000..0f29b15
--- /dev/null
@@ -0,0 +1,100 @@
+Return-Path: <tomi.ollila@iki.fi>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+       by olra.theworths.org (Postfix) with ESMTP id 20E90431FBF\r
+       for <notmuch@notmuchmail.org>; Wed,  5 Mar 2014 05:11:13 -0800 (PST)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: 0\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none]\r
+       autolearn=disabled\r
+Received: from olra.theworths.org ([127.0.0.1])\r
+       by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
+       with ESMTP id TxiNLj1Xv2Vw for <notmuch@notmuchmail.org>;\r
+       Wed,  5 Mar 2014 05:11:04 -0800 (PST)\r
+Received: from guru.guru-group.fi (guru.guru-group.fi [46.183.73.34])\r
+       by olra.theworths.org (Postfix) with ESMTP id B33D7431FBD\r
+       for <notmuch@notmuchmail.org>; Wed,  5 Mar 2014 05:11:04 -0800 (PST)\r
+Received: from guru.guru-group.fi (localhost [IPv6:::1])\r
+       by guru.guru-group.fi (Postfix) with ESMTP id F0C9C100245;\r
+       Wed,  5 Mar 2014 15:10:56 +0200 (EET)\r
+From: Tomi Ollila <tomi.ollila@iki.fi>\r
+To: David Bremner <david@tethera.net>, Jani Nikula <jani@nikula.org>,\r
+       notmuch@notmuchmail.org\r
+Subject: Re: [PATCH v2 00/13] literal folder: prefix, new path: prefix\r
+In-Reply-To: <87fvmwvpbm.fsf@zancas.localnet>\r
+References: <cover.1393105055.git.jani@nikula.org>\r
+       <87mwh8mn58.fsf@zancas.localnet> <87siqxiwlc.fsf@nikula.org>\r
+       <8738ix4qeg.fsf@tethera.net> <m2d2i13up9.fsf@guru.guru-group.fi>\r
+       <87fvmwvpbm.fsf@zancas.localnet>\r
+User-Agent: Notmuch/0.17+112~g4e0c1d5 (http://notmuchmail.org) Emacs/24.3.1\r
+       (x86_64-unknown-linux-gnu)\r
+X-Face: HhBM'cA~<r"^Xv\KRN0P{vn'Y"Kd;zg_y3S[4)KSN~s?O\"QPoL\r
+       $[Xv_BD:i/F$WiEWax}R(MPS`^UaptOGD`*/=@\1lKoVa9tnrg0TW?"r7aRtgk[F\r
+       !)g;OY^,BjTbr)Np:%c_o'jj,Z\r
+Date: Wed, 05 Mar 2014 15:10:56 +0200\r
+Message-ID: <m2lhwoeqov.fsf@guru.guru-group.fi>\r
+MIME-Version: 1.0\r
+Content-Type: text/plain\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.13\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+       <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Wed, 05 Mar 2014 13:11:13 -0000\r
+\r
+On Wed, Mar 05 2014, David Bremner <david@tethera.net> wrote:\r
+\r
+> Tomi Ollila <tomi.ollila@iki.fi> writes:\r
+>\r
+>>\r
+>> I can contribute script with interface \r
+>>\r
+>> ./fetch-and-check.sh [--verify-only] destdir url sha256sum \r
+>>\r
+>\r
+> This script is basically embedded in \r
+>\r
+>\r
+> http://pivot.cs.unb.ca/git?p=notmuch.git;a=commitdiff;h=f93e32b11e517e160c755355de55ab465206dc62\r
+>\r
+> except that I rebased away  the verification in the actual test :(\r
+>\r
+> Something like \r
+>\r
+> diff --git a/test/T530-upgrade.sh b/test/T530-upgrade.sh\r
+> index 3c0134f..768242d 100755\r
+> --- a/test/T530-upgrade.sh\r
+> +++ b/test/T530-upgrade.sh\r
+> @@ -5,6 +5,10 @@ test_description="database upgrade"\r
+>  \r
+>  dbtarball=database-v1.tar.xz\r
+>  \r
+> +cd $TEST_DIRECTORY/test-databases\r
+> +sha256sum --quiet --check ${dbtarball}.sha256 || error "checksum of database failed"\r
+> +cd - >& /dev/null\r
+\r
+more portable alternative:\r
+\r
+read sha256sum_exp < ${dbtarball}.sha256\r
+#sha256sum_act=`openssl sha256 "${dbtarball}" | sed 's/ .*//'`\r
+sha256sum_act=`openssl sha256 "${dbtarball}"`\r
+test "$sha256sum_exp" = "$sha256sum_act" || error "checksum of database failed"\r
+\r
+(IIRC openssl sha256 is available at least in Mac OS X, probably in other\r
+BSD:s & Solaris too)\r
+\r
+\r
+> +\r
+>  tar Jxf $TEST_DIRECTORY/test-databases/${dbtarball} -C ${MAIL_DIR} --strip-component\r
+>  \r
+>  test_begin_subtest "folder: search does not work with old database version"\r