Package: git-buildpackage
Version: 0.2.31
Severity: normal

        Hi there,

 I'm discovering git-buildpackage and using it for the first time; I
 wanted to import the "sparse" Debian package in a git repository with
 git-import-dsc, but this errored out as follows:

% git-import-dsc ../sparse_0.2-2.dsc    
2007/05/25 14:05:18
Upstream version: 0.2
Debian version: 2
Initialized empty Git repository in .git/
Created initial commit 8e3ac8324101c13ae1d65079273b4deaf94d2ee4
 116 files changed, 28666 insertions(+), 0 deletions(-)
 create mode 100644 FAQ
 create mode 100644 LICENSE
[...]
 create mode 100644 validation/varargs1.c
dpkg-source : extraction de sparse dans 
/home/lool/git/local/sparse/tmp5iNX8I/unpack/sparse-0.2-2
dpkg-source : extraction de sparse_0.2.orig.tar.gz
dpkg-source : /home/lool/git/local/sparse_0.2-2.diff.gz
 VCSCMD:  git
The following paths are ignored by one of your .gitignore files:
.gitignore
Use -f if you really want to add them.
Traceback (most recent call last):
  File "/usr/bin/git_load_dirs", line 25, in ?
    init.run("git")
  File "/usr/lib/python2.4/site-packages/vcs_support/init.py", line 72, in run
    iobj.main()
  File "/usr/lib/python2.4/site-packages/vcs_support/vcs_interact.py", line 
155, in main
    self.catchup(needsupdate)
  File "/usr/lib/python2.4/site-packages/vcs_support/vcs_interact.py", line 
179, in catchup
    self.addfile(file)
  File "/usr/lib/python2.4/site-packages/vcs_support/vcs_interact.py", line 
203, in addfile
    self.wcobj.addtag(file)
  File "/usr/lib/python2.4/site-packages/vcs_support/vcs_wc.py", line 86, in 
addtag
    cmd().add + [file])
  File "/usr/lib/python2.4/site-packages/vcs_support/util.py", line 110, in 
chdircmd
    return apply(func, args, kwargs)
  File "/usr/lib/python2.4/site-packages/vcs_support/util.py", line 66, in 
safeexec
    return checkresult(result, expected)
  File "/usr/lib/python2.4/site-packages/vcs_support/util.py", line 94, in 
checkresult
    raise ExecProblem, info + " (expected exit code %d)" % expected
vcs_support.util.ExecProblem: exited with code 1 (expected exit code 0)
git_load_dirs returned 1
Couldn't import /home/lool/git/local/sparse/tmp5iNX8I/unpack/sparse-0.2-2
Failed to import Debian package


 This is due to the .gitignore file in the upstream tarball.

 I don't know whether it's possible to override the ".gitignore" file
 name for the duration of the import; an alternative would be to not
 import this file at all but display a big warning instead (I would
 prefer the file imported though).

   Bye,

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.20-1-686 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages git-buildpackage depends on:
ii  devscripts                   2.10.4      Scripts to make the life of a Debi
ii  git-core                     1:1.5.1.4-2 fast, scalable, distributed revisi
ii  git-load-dirs                1.1.4       Import upstream archives into git
ii  python                       2.4.4-6     An interactive high-level object-o
ii  python-support               0.6.4       automated rebuilding support for p

git-buildpackage recommends no packages.

-- no debconf information

-- 
Loïc Minier

Reply via email to