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

Iñaki Malerba ina at malerba.space
Wed Oct 26 09:33:48 BST 2022


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




More information about the Debian-salsa-ci mailing list