On Fri, Dec 20, 2013 at 12:53:34PM +0100, Benjamin Drung wrote:
> Package: git-buildpackage
> Version: 0.6.7
> Severity: normal
> 
> Steps to reproduce
> ==================
> 
> pull-debian-source -d python-librabbitmq
> mkdir python-librabbitmq
> cd python-librabbitmq
> git-import-dscs --pristine-tar ../python-librabbitmq_1.0.1-1.dsc
> 
> Error message
> =============
> 
> gbp:info: Tag upstream/1.0.1 not found, importing Upstream tarball
> gbp:error: Git command failed: Error running git add: fatal: Not a git 
> repository: rabbitmq-codegen/../.git/modules/rabbitmq-codegen
> 
> gbp:error: Failed to import '[...]/python-librabbitmq_1.0.1-1.dsc'
> 
> Analysis
> ========
> 
> The upstream tarball contains the file rabbitmq-codegen/.git that contains
> the line "gitdir: ../.git/modules/rabbitmq-codegen". git-buildpackage uses
> this git configuration file instead of just ignoring it.

We have a --filter option to ignore such files. I'm not a big fan of
ignoring any files silently but we should at least complain beforehand
instead of failing in the middle of the import.
Cheers,
 -- Guido


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to