[Debian-salsa-ci] Need some information regarding building package with git submodules

probal basak probal31 at gmail.com
Thu Oct 20 07:58:42 BST 2022


Hello,

In my particular case, the code repository and the build repo are
different.
In my build repo I have the gitlab ci config and the debian folder.


I have checked and in my case, the gbp export-orig fails and thus the tar
is created using the origtargz

https://salsa.debian.org/salsa-ci-team/pipeline/-/blob/master/salsa-ci.yml#L137

I still could not find a way out to get the git submodules source as well
while creating the source tar.


I tried to use --git-submodules with gbp buildpackage and it did not help
either.
I just need the source of all the git submodules in the source tarball.

Any help will be appreciated please.


Thanks.


On Wed, 19 Oct 2022 at 20:51, Santiago Ruano Rincón <santiagorr at riseup.net>
wrote:

> El 19/10/22 a las 16:51, probal basak escribió:
> > Hello Team,
> >
> > I already used the salsa ci pipeline to build a deb package for one of
> the
> > package.
> >
> > Now I have another use case with me where I have a git repo that I need
> to
> > configure to build deb package using salsa but this time the repo has git
> > submodules.
> >
> > Is there any way I can enable the submodules source cloning/update as
> well
> > while building the source tar?
> >
> > Or if you can please suggest a better way to do that please, it would
> > really help.
>
> Please note the pipeline relies on gbp to extract the source package. I
> have never used git submodules to produce/export a source package, but
> the gbp export-orig's man page mentions it:
>
> https://manpages.debian.org/unstable/git-buildpackage/gbp-export-orig.1.en.html
>
> Note sure it that helps though.
>
> cheers,
>
>  -- S
>


-- 
Thanks,
Probal Basak.
Phone : +91-9681893111
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-salsa-ci/attachments/20221020/b419eb80/attachment.htm>


More information about the Debian-salsa-ci mailing list