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