Package: git-buildpackage
Version: 0.4.65ubuntu1
Severity: important

As mentioned in the subject, without pristine-tar in use, or using
--git-no-pristine-tar, git-buildpackage fails with submodules in two areas:

 * Creating the orig tarball from tag or upstream-branch
 * Exporting the contents of the debian-branch to a separate directory
   (--git-export-dir)

In both cases, the contents of the submodule is left out, meaning that the
contents of the submodule are missing from both the exported directory and orig
tarball, leading to it being completely missing from the generated package.

This is due to git-archive not handling submodules, as it only exports the
contents of a tree-ish, which does not include submodules by
design. git-buildpackage relies on git-archive both for exporting the
directory, as well as for generating the tarball. A possible solution would be
to workaround these two areas, by looping through each submodule and
exporting to the export-dir or catenating the contents into the generated 
tarball.

-- System Information:
Debian Release: squeeze/sid
  APT prefers lucid-updates
  APT policy: (500, 'lucid-updates'), (500, 'lucid-security'), (500, 
'lucid-backports'), (500, 'lucid'), (400, 'lucid-proposed')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.35-rc4-hyper1 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=en_SG.utf8, LC_CTYPE=en_SG.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages git-buildpackage depends on:
ii  devscripts                2.10.61ubuntu5 scripts to make the life of a Debi
ii  git-core                  1:1.7.0.4-1    fast, scalable, distributed revisi
ii  python                    2.6.5-0ubuntu1 An interactive high-level object-o
ii  python-dateutil           1.4.1-3        powerful extensions to the standar
ii  python-support            1.0.4ubuntu1   automated rebuilding support for P

Versions of packages git-buildpackage recommends:
ii  pristine-tar                  1.00       regenerate pristine tarballs

Versions of packages git-buildpackage suggests:
pn  git-load-dirs                 <none>     (no description available)

-- no debconf information



-- 
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