[Debian-salsa-ci] Update the name of the generated deb package name

probal basak probal31 at gmail.com
Wed Oct 26 10:16:58 BST 2022


Hello,

Also if version bump is enabled using variable:
SALSA_CI_DISABLE_VERSION_BUMP: 0

Even then the package name is always libzl_0.5-1-1+salsaci_armhf.deb
and not libzl_0.5-1-1+salsaci.1_armhf.deb,
libzl_0.5-1-1+salsaci.2_armhf.deb

Is there anything I am missing here?

On Wed, 26 Oct 2022 at 14:03, Iñaki Malerba <ina at malerba.space> wrote:

> On Wed, Oct 26, 2022 at 01:54:18PM +0530, probal basak wrote:
> > Hello,
> >
> > I want the package name to be something similar to this:
> > libzl_1.1-1+git2022092711571_armhf.deb
> >
> > But currently the package that gets generated via salsa looks like this:
> > libzl_0.5-1-1+salsaci_armhf.deb
> >
> > I want to replace the salsaci with something similar as above.
>
> Salsa CI uses the version stated in the `debian/changelog`. If you want
> a different versioning schema on your packageto happen, you need to change
> the version on the changelog and that will be reflected on the package
> name.
>
> https://www.debian.org/doc/manuals/maint-guide/dreq.en.html (section
> 4.3)
>
> https://www.debian.org/doc/debian-policy/ch-source.html#s-dpkgchangelog
>
> >
> >
> > On Wed, 26 Oct 2022 at 13:39, Iñaki Malerba <ina at malerba.space> wrote:
> >
> > > Hello !
> > >
> > > On Wed, Oct 26, 2022 at 01:30:47PM +0530, probal basak wrote:
> > > > Hello Team,
> > > >
> > > > I am using salsa ci config for building deb packages for my project.
> > > >
> > > > However, I do not see any configuration or variable to update the
> name of
> > > > the generated deb package.
> > > >
> > > > Currently the default deb package name looks like this:
> > > > zynthbox-qml_0.5-1-1+salsaci_armhf.deb
> > > >
> > > > I want it to have the git hash or timestamp in the file name to avoid
> > > > conflicts.
> > > >
> > > > Please help here.
> > >
> > > Salsa CI uses standard dpkg-buildpackage for building, and the
> > > versioning follows the convention for any Debian package.
> > >
> > > <name>_<version>-<debian-revision>_<architecture>.deb
> > >
> > > To avoid problems with released versions, Salsa CI bumps the version by
> > > adding a +salsaci tag to the Debian revision. See [0].
> > >
> > > What kind of conflicts are you trying to avoid?
> > >
> > > Regards,
> > >
> > >
> > > 0_ https://salsa.debian.org/salsa-ci-team/pipeline/-/issues/78
> > >
> > > >
> > > > --
> > > > Thanks,
> > > > Probal Basak.
> > > > Phone : +91-9681893111
> > >
> > > > --
> > > > Debian-salsa-ci mailing list
> > > > Debian-salsa-ci at alioth-lists.debian.net
> > > >
> https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-salsa-ci
> > >
> > >
> >
> > --
> > Thanks,
> > Probal Basak.
> > Phone : +91-9681893111
>
> > --
> > Debian-salsa-ci mailing list
> > Debian-salsa-ci at alioth-lists.debian.net
> > https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-salsa-ci
>
>

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


More information about the Debian-salsa-ci mailing list