1 Return-Path: <sojkam1@fel.cvut.cz>
\r
2 X-Original-To: notmuch@notmuchmail.org
\r
3 Delivered-To: notmuch@notmuchmail.org
\r
4 Received: from localhost (localhost [127.0.0.1])
\r
5 by olra.theworths.org (Postfix) with ESMTP id 6EFFB431FBC
\r
6 for <notmuch@notmuchmail.org>; Fri, 5 Mar 2010 00:37:55 -0800 (PST)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=-1.047 tagged_above=-999 required=5
\r
12 tests=[AWL=-0.862, BAYES_40=-0.185] autolearn=ham
\r
13 Received: from olra.theworths.org ([127.0.0.1])
\r
14 by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)
\r
15 with ESMTP id TDglRbHpu-Zt for <notmuch@notmuchmail.org>;
\r
16 Fri, 5 Mar 2010 00:37:54 -0800 (PST)
\r
17 Received: from max.feld.cvut.cz (max.feld.cvut.cz [147.32.192.36])
\r
18 by olra.theworths.org (Postfix) with ESMTP id AEFD7431FAE
\r
19 for <notmuch@notmuchmail.org>; Fri, 5 Mar 2010 00:37:54 -0800 (PST)
\r
20 Received: from localhost (unknown [192.168.200.4])
\r
21 by max.feld.cvut.cz (Postfix) with ESMTP id 8607C19F33E5;
\r
22 Fri, 5 Mar 2010 09:37:42 +0100 (CET)
\r
23 X-Virus-Scanned: IMAP AMAVIS
\r
24 Received: from max.feld.cvut.cz ([192.168.200.1])
\r
25 by localhost (styx.feld.cvut.cz [192.168.200.4]) (amavisd-new,
\r
27 with ESMTP id MiwgOLBp17mn; Fri, 5 Mar 2010 09:37:41 +0100 (CET)
\r
28 Received: from imap.feld.cvut.cz (imap.feld.cvut.cz [147.32.192.34])
\r
29 by max.feld.cvut.cz (Postfix) with ESMTP id 4390C19F3397;
\r
30 Fri, 5 Mar 2010 09:37:41 +0100 (CET)
\r
31 Received: from steelpick.localdomain (k335-30.felk.cvut.cz [147.32.86.30])
\r
32 (Authenticated sender: sojkam1)
\r
33 by imap.feld.cvut.cz (Postfix) with ESMTPSA id 06D93FA003;
\r
34 Fri, 5 Mar 2010 09:37:41 +0100 (CET)
\r
35 Received: from wsh by steelpick.localdomain with local (Exim 4.71)
\r
36 (envelope-from <sojkam1@fel.cvut.cz>)
\r
37 id 1NnT2S-000516-SE; Fri, 05 Mar 2010 09:37:40 +0100
\r
38 From: Michal Sojka <sojkam1@fel.cvut.cz>
\r
39 To: Xavier Maillard <xma@gnu.org>, notmuch@notmuchmail.org
\r
40 In-Reply-To: <m2eijzl5ds.fsf@deb.maillard.im>
\r
41 References: <m2eijzl5ds.fsf@deb.maillard.im>
\r
42 Date: Fri, 05 Mar 2010 09:37:40 +0100
\r
43 Message-ID: <87eijzxiy3.fsf@steelpick.localdomain>
\r
45 Content-Type: text/plain; charset=us-ascii
\r
46 Subject: Re: [notmuch] Debian package
\r
47 X-BeenThere: notmuch@notmuchmail.org
\r
48 X-Mailman-Version: 2.1.13
\r
50 List-Id: "Use and development of the notmuch mail system."
\r
51 <notmuch.notmuchmail.org>
\r
52 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
53 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
54 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
55 List-Post: <mailto:notmuch@notmuchmail.org>
\r
56 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
57 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
58 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
59 X-List-Received-Date: Fri, 05 Mar 2010 08:37:55 -0000
\r
61 On Fri, 05 Mar 2010, Xavier Maillard wrote:
\r
64 > I am using Debian GNU/linux SID and notmuch and I'd like to be
\r
65 > bleading edge with notmuch. So I am trying to figure out whether
\r
66 > someone is maintaining a Debian package against notmuch git
\r
67 > repository or not. If the former, that's nice.
\r
71 I do not know the current plans for Debian package, but what I do for
\r
72 myself is to merge together current master, debian and seveal topic
\r
73 branches (based on patches sent to the mailing list) to produce a
\r
74 bleeding edge package. I use the following script to build the package.
\r
83 ref=$(git symbolic-ref HEAD)
\r
84 branch=${ref##refs/heads/}
\r
85 test "$ref" != "$branch" || die "You're on a strange branch"
\r
90 echo >&2 "fatal: $*"
\r
95 git branch -D integration/all
\r
96 git checkout -b integration/all
\r
97 trap "git checkout $branch
\r
98 git checkout -- debian/changelog
\r
100 git merge `cat wsh-topic-branches|grep -v ^#`
\r
110 git diff-index --quiet HEAD || die "Working directory is not clean"
\r
114 read version sha1 < version
\r
116 if [ "$sha1" != `git rev-parse HEAD` ]; then
\r
117 version=`expr $version + 1`
\r
118 sha1=`git rev-parse HEAD`
\r
121 git-dch --snapshot --snapshot-number=$version --debian-branch=integration/all
\r
122 git-buildpackage --git-ignore-new \
\r
123 --git-debian-branch=integration/all \
\r
124 --git-upstream-branch=master \
\r
125 -i -us -uc -b # see the example in debuild(1)
\r
127 git checkout $branch
\r
128 echo $version $sha1 > version
\r
129 git commit -m "snapshot #$version" version
\r