Re: [notmuch] Debian package
authorMichal Sojka <sojkam1@fel.cvut.cz>
Fri, 5 Mar 2010 08:37:40 +0000 (09:37 +0100)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:36:20 +0000 (09:36 -0800)
65/5951cc72c32b56867173655fe412025019b0ba [new file with mode: 0644]

diff --git a/65/5951cc72c32b56867173655fe412025019b0ba b/65/5951cc72c32b56867173655fe412025019b0ba
new file mode 100644 (file)
index 0000000..a6791e1
--- /dev/null
@@ -0,0 +1,130 @@
+Return-Path: <sojkam1@fel.cvut.cz>\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 6EFFB431FBC\r
+       for <notmuch@notmuchmail.org>; Fri,  5 Mar 2010 00:37:55 -0800 (PST)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -1.047\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-1.047 tagged_above=-999 required=5\r
+       tests=[AWL=-0.862, BAYES_40=-0.185] autolearn=ham\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 TDglRbHpu-Zt for <notmuch@notmuchmail.org>;\r
+       Fri,  5 Mar 2010 00:37:54 -0800 (PST)\r
+Received: from max.feld.cvut.cz (max.feld.cvut.cz [147.32.192.36])\r
+       by olra.theworths.org (Postfix) with ESMTP id AEFD7431FAE\r
+       for <notmuch@notmuchmail.org>; Fri,  5 Mar 2010 00:37:54 -0800 (PST)\r
+Received: from localhost (unknown [192.168.200.4])\r
+       by max.feld.cvut.cz (Postfix) with ESMTP id 8607C19F33E5;\r
+       Fri,  5 Mar 2010 09:37:42 +0100 (CET)\r
+X-Virus-Scanned: IMAP AMAVIS\r
+Received: from max.feld.cvut.cz ([192.168.200.1])\r
+       by localhost (styx.feld.cvut.cz [192.168.200.4]) (amavisd-new,\r
+       port 10044)\r
+       with ESMTP id MiwgOLBp17mn; Fri,  5 Mar 2010 09:37:41 +0100 (CET)\r
+Received: from imap.feld.cvut.cz (imap.feld.cvut.cz [147.32.192.34])\r
+       by max.feld.cvut.cz (Postfix) with ESMTP id 4390C19F3397;\r
+       Fri,  5 Mar 2010 09:37:41 +0100 (CET)\r
+Received: from steelpick.localdomain (k335-30.felk.cvut.cz [147.32.86.30])\r
+       (Authenticated sender: sojkam1)\r
+       by imap.feld.cvut.cz (Postfix) with ESMTPSA id 06D93FA003;\r
+       Fri,  5 Mar 2010 09:37:41 +0100 (CET)\r
+Received: from wsh by steelpick.localdomain with local (Exim 4.71)\r
+       (envelope-from <sojkam1@fel.cvut.cz>)\r
+       id 1NnT2S-000516-SE; Fri, 05 Mar 2010 09:37:40 +0100\r
+From: Michal Sojka <sojkam1@fel.cvut.cz>\r
+To: Xavier Maillard <xma@gnu.org>, notmuch@notmuchmail.org\r
+In-Reply-To: <m2eijzl5ds.fsf@deb.maillard.im>\r
+References: <m2eijzl5ds.fsf@deb.maillard.im>\r
+Date: Fri, 05 Mar 2010 09:37:40 +0100\r
+Message-ID: <87eijzxiy3.fsf@steelpick.localdomain>\r
+MIME-Version: 1.0\r
+Content-Type: text/plain; charset=us-ascii\r
+Subject: Re: [notmuch] Debian package\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: Fri, 05 Mar 2010 08:37:55 -0000\r
+\r
+On Fri, 05 Mar 2010, Xavier Maillard wrote:\r
+> Hi,\r
+> \r
+> I am using Debian GNU/linux SID and notmuch and I'd like to be\r
+> bleading edge with notmuch. So I am trying to figure out whether\r
+> someone is maintaining a Debian package against notmuch git\r
+> repository or not. If the former, that's nice.\r
+\r
+Hi,\r
+\r
+I do not know the current plans for Debian package, but what I do for\r
+myself is to merge together current master, debian and seveal topic\r
+branches (based on patches sent to the mailing list) to produce a\r
+bleeding edge package. I use the following script to build the package.\r
+\r
+Cheers,\r
+ Michal\r
+\r
+#!/bin/sh\r
+\r
+set -e\r
+\r
+ref=$(git symbolic-ref HEAD)\r
+branch=${ref##refs/heads/}\r
+test "$ref" != "$branch" || die "You're on a strange branch"\r
+export branch\r
+\r
+die()\r
+{\r
+       echo >&2 "fatal: $*"\r
+       exit 1\r
+}\r
+\r
+merge() {\r
+    git branch -D integration/all\r
+    git checkout -b integration/all\r
+    trap "git checkout $branch\r
+git checkout -- debian/changelog\r
+" 0\r
+    git merge `cat wsh-topic-branches|grep -v ^#`\r
+}\r
+\r
+case "$1" in\r
+    -m|--merge)\r
+       merge\r
+       exit\r
+       ;;\r
+esac\r
+\r
+git diff-index --quiet HEAD || die "Working directory is not clean"\r
+\r
+merge\r
+\r
+read version sha1 < version\r
+\r
+if [ "$sha1" != `git rev-parse HEAD` ]; then\r
+    version=`expr $version + 1`\r
+    sha1=`git rev-parse HEAD`\r
+fi\r
+\r
+git-dch --snapshot --snapshot-number=$version --debian-branch=integration/all\r
+git-buildpackage --git-ignore-new \\r
+                --git-debian-branch=integration/all \\r
+                --git-upstream-branch=master \\r
+                -i -us -uc -b  # see the example in debuild(1)\r
+\r
+git checkout $branch\r
+echo $version $sha1 > version\r
+git commit -m "snapshot #$version" version\r
+\r