Hi! On Mon, 02 Jul 2018 18:27:54 +1000 Dmitry Smirnov <[email protected]> wrote: > I'm struggling to produce comprehensive orig.tar from upstream repository > with submodules. I hoped that "gitmode=full" would be helpful but it looks > like we need new "gitmode=recursive" to "git clone --recursive" in order to > preserve submodules. > > This would be very helpful and hopefully easy to implement.
I am not so sure this feature is easy. Apart of the extra flag for git-clone, you also need a special tool that can walk along all submodules. I use a third-party git-archive-all command to workaround this restriction. If you are curious, here is an example of my script that does such a download. https://salsa.debian.org/debian/libtgowt/-/blob/70220626ec98e7fd02977f3c9b7ebe19956a36ae/debian/rules#L49
signature.asc
Description: This is a digitally signed message part

