Re: [PATCH v4 01/16] add util/search-path.{c, h} to test for executables in $PATH
[notmuch-archives.git] / 65 / 5951cc72c32b56867173655fe412025019b0ba
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
8 X-Spam-Flag: NO\r
9 X-Spam-Score: -1.047\r
10 X-Spam-Level: \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
26         port 10044)\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
44 MIME-Version: 1.0\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
49 Precedence: list\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
60 \r
61 On Fri, 05 Mar 2010, Xavier Maillard wrote:\r
62 > Hi,\r
63\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
68 \r
69 Hi,\r
70 \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
75 \r
76 Cheers,\r
77  Michal\r
78 \r
79 #!/bin/sh\r
80 \r
81 set -e\r
82 \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
86 export branch\r
87 \r
88 die()\r
89 {\r
90         echo >&2 "fatal: $*"\r
91         exit 1\r
92 }\r
93 \r
94 merge() {\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
99 " 0\r
100     git merge `cat wsh-topic-branches|grep -v ^#`\r
101 }\r
102 \r
103 case "$1" in\r
104     -m|--merge)\r
105         merge\r
106         exit\r
107         ;;\r
108 esac\r
109 \r
110 git diff-index --quiet HEAD || die "Working directory is not clean"\r
111 \r
112 merge\r
113 \r
114 read version sha1 < version\r
115 \r
116 if [ "$sha1" != `git rev-parse HEAD` ]; then\r
117     version=`expr $version + 1`\r
118     sha1=`git rev-parse HEAD`\r
119 fi\r
120 \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
126 \r
127 git checkout $branch\r
128 echo $version $sha1 > version\r
129 git commit -m "snapshot #$version" version\r
130 \r