severity 588752 normal
thanks

Hi,

On Mon, Jul 12, 2010 at 05:17:29AM +0800, Chow Loong Jin wrote:
> 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.
Thanks for your analysis! Yes, with submodules we need to loop over
submodules. Seems other have stumbled of the not subarchive-awareness of
git-archive too:

http://github.com/meitar/git-archive-all.sh

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