<div dir="ltr"><div>Ok thanks. Understood.</div><div><br></div><div>One more query please.</div><div><br></div><div>If I want to build a deb package for a project that does not have cmake but has a custom script to build the project.</div><div>In that scenario, how can I configure to build it not using cmake but using the custom build script?</div><div><br></div><div>Thanks in advance.<br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, 26 Oct 2022 at 15:28, Iñaki Malerba <<a href="mailto:ina@malerba.space">ina@malerba.space</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Wed, Oct 26, 2022 at 02:46:58PM +0530, probal basak wrote:<br>
> Hello,<br>
><br>
> Also if version bump is enabled using variable:<br>
> SALSA_CI_DISABLE_VERSION_BUMP: 0<br>
><br>
> Even then the package name is always libzl_0.5-1-1+salsaci_armhf.deb<br>
> and not libzl_0.5-1-1+salsaci.1_armhf.deb,<br>
> libzl_0.5-1-1+salsaci.2_armhf.deb<br>
><br>
> Is there anything I am missing here?<br>
<br>
As I mentioned on the first email, the pipeline does not increment the<br>
versions but only adds a +salsaci tag for the builds that happen on CI.<br>
<br>
The source code for the tag bumping is here[0].<br>
<br>
What you're trying to do would require changes on your packaging<br>
workflow to bump the version on the debian/changelog when you want a<br>
different version.<br>
<br>
0_ <a href="https://salsa.debian.org/salsa-ci-team/pipeline/-/blob/master/salsa-ci.yml#L253" rel="noreferrer" target="_blank">https://salsa.debian.org/salsa-ci-team/pipeline/-/blob/master/salsa-ci.yml#L253</a><br>
<br>
><br>
> On Wed, 26 Oct 2022 at 14:03, Iñaki Malerba <<a href="mailto:ina@malerba.space" target="_blank">ina@malerba.space</a>> wrote:<br>
><br>
> > On Wed, Oct 26, 2022 at 01:54:18PM +0530, probal basak wrote:<br>
> > > Hello,<br>
> > ><br>
> > > I want the package name to be something similar to this:<br>
> > > libzl_1.1-1+git2022092711571_armhf.deb<br>
> > ><br>
> > > But currently the package that gets generated via salsa looks like this:<br>
> > > libzl_0.5-1-1+salsaci_armhf.deb<br>
> > ><br>
> > > I want to replace the salsaci with something similar as above.<br>
> ><br>
> > Salsa CI uses the version stated in the `debian/changelog`. If you want<br>
> > a different versioning schema on your packageto happen, you need to change<br>
> > the version on the changelog and that will be reflected on the package<br>
> > name.<br>
> ><br>
> > <a href="https://www.debian.org/doc/manuals/maint-guide/dreq.en.html" rel="noreferrer" target="_blank">https://www.debian.org/doc/manuals/maint-guide/dreq.en.html</a> (section<br>
> > 4.3)<br>
> ><br>
> > <a href="https://www.debian.org/doc/debian-policy/ch-source.html#s-dpkgchangelog" rel="noreferrer" target="_blank">https://www.debian.org/doc/debian-policy/ch-source.html#s-dpkgchangelog</a><br>
> ><br>
> > ><br>
> > ><br>
> > > On Wed, 26 Oct 2022 at 13:39, Iñaki Malerba <<a href="mailto:ina@malerba.space" target="_blank">ina@malerba.space</a>> wrote:<br>
> > ><br>
> > > > Hello !<br>
> > > ><br>
> > > > On Wed, Oct 26, 2022 at 01:30:47PM +0530, probal basak wrote:<br>
> > > > > Hello Team,<br>
> > > > ><br>
> > > > > I am using salsa ci config for building deb packages for my project.<br>
> > > > ><br>
> > > > > However, I do not see any configuration or variable to update the<br>
> > name of<br>
> > > > > the generated deb package.<br>
> > > > ><br>
> > > > > Currently the default deb package name looks like this:<br>
> > > > > zynthbox-qml_0.5-1-1+salsaci_armhf.deb<br>
> > > > ><br>
> > > > > I want it to have the git hash or timestamp in the file name to avoid<br>
> > > > > conflicts.<br>
> > > > ><br>
> > > > > Please help here.<br>
> > > ><br>
> > > > Salsa CI uses standard dpkg-buildpackage for building, and the<br>
> > > > versioning follows the convention for any Debian package.<br>
> > > ><br>
> > > > <name>_<version>-<debian-revision>_<architecture>.deb<br>
> > > ><br>
> > > > To avoid problems with released versions, Salsa CI bumps the version by<br>
> > > > adding a +salsaci tag to the Debian revision. See [0].<br>
> > > ><br>
> > > > What kind of conflicts are you trying to avoid?<br>
> > > ><br>
> > > > Regards,<br>
> > > ><br>
> > > ><br>
> > > > 0_ <a href="https://salsa.debian.org/salsa-ci-team/pipeline/-/issues/78" rel="noreferrer" target="_blank">https://salsa.debian.org/salsa-ci-team/pipeline/-/issues/78</a><br>
> > > ><br>
> > > > ><br>
> > > > > --<br>
> > > > > Thanks,<br>
> > > > > Probal Basak.<br>
> > > > > Phone : +91-9681893111<br>
> > > ><br>
> > > > > --<br>
> > > > > Debian-salsa-ci mailing list<br>
> > > > > <a href="mailto:Debian-salsa-ci@alioth-lists.debian.net" target="_blank">Debian-salsa-ci@alioth-lists.debian.net</a><br>
> > > > ><br>
> > <a href="https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-salsa-ci" rel="noreferrer" target="_blank">https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-salsa-ci</a><br>
> > > ><br>
> > > ><br>
> > ><br>
> > > --<br>
> > > Thanks,<br>
> > > Probal Basak.<br>
> > > Phone : +91-9681893111<br>
> ><br>
> > > --<br>
> > > Debian-salsa-ci mailing list<br>
> > > <a href="mailto:Debian-salsa-ci@alioth-lists.debian.net" target="_blank">Debian-salsa-ci@alioth-lists.debian.net</a><br>
> > > <a href="https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-salsa-ci" rel="noreferrer" target="_blank">https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-salsa-ci</a><br>
> ><br>
> ><br>
><br>
> --<br>
> Thanks,<br>
> Probal Basak.<br>
> Phone : +91-9681893111<br>
<br>
> --<br>
> Debian-salsa-ci mailing list<br>
> <a href="mailto:Debian-salsa-ci@alioth-lists.debian.net" target="_blank">Debian-salsa-ci@alioth-lists.debian.net</a><br>
> <a href="https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-salsa-ci" rel="noreferrer" target="_blank">https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-salsa-ci</a><br>
<br>
</blockquote></div><br clear="all"><br>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div>Thanks,<br></div>Probal Basak.<br></div>Phone : +91-9681893111<br></div></div></div></div>