[Debian-med-packaging] Problems with Git handling in package grinder: upstream branch was missing

Charles Plessy charles-listes-med-packaging at plessy.org
Thu May 3 06:59:03 UTC 2012


Le Thu, May 03, 2012 at 08:44:12AM +0200, Andreas Tille a écrit :
> 
> I wanted to update grinder to the latest upstream version and tried
> 
>    git import-orig --pristine-tar ../grinder_0.4.5.orig.tar.gz
> 
> I was told that branch upstream would be missing, created it via
> 
>    git branch upstream
> 
> and redid
> 
>    git import-orig --pristine-tar ../grinder_0.4.5.orig.tar.gz
> 
> I ended up without any debian/ directory and I remember that I was
> previousely running in the very same problem but I can not find the
> solution inside the archives.
> 
> Any clue

Hi Andreas,

I think that the problem is that by default, 'git clone' or 'debcheckout' will
not track the upstream and pristine-tar branches.  I have asked in #625940
if debcheckout could be changed to do so.

In the meantime, one has to pass “--git-track '*'”.  I updated our group policy
to reflect it.

Have a nice day,

-- 
Charles



More information about the Debian-med-packaging mailing list