From:
[email protected]
Hi Jerome,
Jerome BENOIT <
[email protected]> writes:
Hi,
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.
Cheers,
Jerome
--
Jerome BENOIT | calculus+at-rezozer^dot*net https://qa.debian.org/[email protected]
AE28 AE15 710D FF1D 87E5 A762 3F92 19A6 7F36 C68B
I have recently encountered the similar issue with gptel, which makes
its tests in a submodule. I think gbp support submodules, but it's not
really compatible with uscan, so the tarball created by uscan is still
missing the submodules.
I have proposed a few solutions. The one upstream accepted is to let
the submodule have the same release schedule as the main repo (basically
same tag versions). Then in Debian I use uscan with the multiple
upstream tarball (MUT) settings. uscan(1) manpage has examples (search
for MUT).
Of course, it would be better to persuade upstream to merge the repo,
which would make their CI setup easier, though they may well reject it
(with good reasons).
--
Regards,
Xiyue Deng
--=-=-Content-Type: application/pgp-signature; name="signature.asc"
-----BEGIN PGP SIGNATURE-----
iQJGBAEBCgAwFiEEiKQfd6o81mjI+LWALell7WOCXJMFAmhbsLoSHG1hbnBoaXpA Z21haWwuY29tAAoJEC3pZe1jglyT8tIP/RtPoD97Dk5BtQXxGyEbPHEuxWNiLWUb c8ndAxpgWLlXm97V1yZ8Wv9dkdXJvzteT9PT/sAsifRmJLlYHWrwEIFwaVADDSMP SBkQ4vseexyxRtPDGPcYLxGpkys8lw/xa1HvG1nkJEdgFRGO/ZBu0mZm3hNZD6uS bp060PLPCJHczza2fibJ8qQTAHuYt3SUZRkUgihkHM/WY33icRFmO5hJdeZsUxf/ DFL0jUOYdw2Sr23LJlxY0Jz2Wn/fK+f9cpLlL/D3Dd+VBXHA7E7BdVCZFu2cbJKn QbwuYnXPaZYqRxJQCVsmT0ecMROarYt8gpSiIwIyAJ/MjjaifrBiExEOeO4WtUgV BWJnbUbOwN+PD2wBLOwPJPog+OtExpck7O627RgibzunL5ZdJf8kL932TfdNQoLv xPGwaQT/bjVEmRleNTsV7VgaO2Sw5i/20NZDGZLpMjovc/AQeYeyGLmvrVyDKww3 H1aXUE9y9PKWvD09JqboWW1aim8G8N+Zih1VaFS8+doXXOyl0OHz3ldQ2b4sBLTX sO6gjRIdolpIFtw+uvyvcVmBz3AR/GBHj8hsxVnSzrArZT9gy1GkRTeAhdXUv7qr Z+1b9Dv0mbvXtsRU4i8wRdxjSZcQ3pxz1JISlizjM4yS8C1T+8s7/V7FaZz64hAM
EeQogSZ9Pc+r
=lVvA
-----END PGP SIGNATURE-----
--- SoupGate-Win32 v1.05
* Origin: you cannot