[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Preparing the release of gambas 3.19.6


Am 11.11.24 um 10:21 schrieb Benoît Minisini:
Le 11/11/2024 à 06:00, munix9 a écrit :

One thing that is important in relation to the use of openbuildservice (and sometimes causes irritation):

For security reasons, it generally does not allow access to the network during the build.

This means that everything needed to build a package must already be available in advance or must be retrieved by a dedicated service.

See also
https://openbuildservice.org/help/manuals/obs-user-guide/cha-obs- source- services


I started to read the user guide, but I am a bit overhelmed by the task:

1) The given examples are for OpenSuSE RPM package.


This is not a problem, there are some examples online for building for other distributions.

For example, I build the packages for Celestia:
https://build.opensuse.org/project/monitor/home:munix9:unstable

2) It seems that it generates packages one by one. But Gambas is actually dozens of packages, the number being dynamic, depending on the components.

That's no problem either, see for example
https://build.opensuse.org/projects/home:munix9/packages/gambas3/files/gambas3.spec?expand=1

Depending on what is required, the corresponding *.spec or *.dsc (better: debian/control) or ... (for other distributions) must be adapted.


3) It seems to build package locally, but I want to build for different distributions if possible.


This is not a problem either, on the contrary: it makes it possible to build and test packages locally in advance before releasing them to the general public.

How to build only on the OpenSuse server?

This happens automatically as soon as a project is created correctly, i.e. with *.spec files for openSUSE, Fedora, ... or *.dsc and/or debian.tar.gz for Ubuntu and the like.

See also
https://build.opensuse.org/package/show/home:munix9/gambas3
https://build.opensuse.org/package/show/home:munix9:unstable/celestia


Do you know some project hosted OBS that build packages for Debian or Ubuntu?


Yup, see e.g. Celestia or the openSUSE:Tools


To be able to work with obs in a meaningful way, the tool “osc” is required, which is available as a package for many distributions:
https://software.opensuse.org//download.html?project=openSUSE%3ATools&package=osc
https://build.opensuse.org/package/show/openSUSE:Tools/osc
https://en.opensuse.org/openSUSE:OSC
https://github.com/openSUSE/osc


Suggestion: I'll try to build an example environment ASAP in home:munix9:gambas so that you can get a better idea - preferably for version 3.19.6.


ps: I have made some changes to gambas for openSUSE, which I will add as merge requests soon.


References:
Preparing the release of gambas 3.19.6Benoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx>
Re: Preparing the release of gambas 3.19.6Benoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx>
Re: Preparing the release of gambas 3.19.6Benoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx>
Re: Preparing the release of gambas 3.19.6T Lee Davidson <t.lee.davidson@xxxxxxxxx>
Re: Preparing the release of gambas 3.19.6Benoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx>
Re: Preparing the release of gambas 3.19.6munix9 <munix9@xxxxxxxxxxxxxx>
Re: Preparing the release of gambas 3.19.6Benoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx>
Re: Preparing the release of gambas 3.19.6munix9 <munix9@xxxxxxxxxxxxxx>
Re: Preparing the release of gambas 3.19.6Benoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx>
Re: Preparing the release of gambas 3.19.6munix9 <munix9@xxxxxxxxxxxxxx>
Re: Preparing the release of gambas 3.19.6munix9 <munix9@xxxxxxxxxxxxxx>
Re: Preparing the release of gambas 3.19.6munix9 <munix9@xxxxxxxxxxxxxx>
Re: Preparing the release of gambas 3.19.6Benoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx>