On 25/06/2025 5:38 pm, Jerome BENOIT wrote:
I am considering to package a software stored at GitHub. It is under active development and it builds well in Sid. However it appears that its source tarball at GitHub does not contain all the necessary material: its submodules are not included. This issue seems to be an old GitHub issue. Whatever. I am wondering how we can grab its source tarball with uscan(1). The best solution I come with is to write a script that would git-clone with the option `--recurse-submodule` the git repo and then build a source ball from this. However this approach sounds heavy to me. Is there any better way ? Any example of a package with such an issue is welcome.
uscan has supported git repositories with submodules since v2.25.11 (testing/unstable only).
See [1] for usage. Hugh [1] https://manpages.ubuntu.com/manpages/questing/man1/uscan.1.html