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

Re: [gambas-package-config] Automatic generation of OBS configuration


On Saturday, November 30th, 2024 at 20:08, Benoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx> wrote:

> Hi,
> 
> The 'gambas-package-config' configuration now generates in the '.obs'
> directory:
> 
> - The 'PKGBUILD' file.
> - The 'gambas3.spec' file.
> - The 'debian.tar.gz' file.
> 
> I have now some requirements and questions...
> 
> 1) Can Paolo, Laurent, Willy, or anyone else, check these files and
> their corresponding template in the 'gambas-package-config' project to
> tell me what the errors are, what is missing, and so on...

I will do so, later today. You want changes in a merge request to the template folder in 'gambas-package-config' with notes as a comment in the request? Or rather here on list?

> 2) I don't generate the '.dsc' file yet. Why these files? It seems that
> they include information already present inside the 'debian.tar.gz' file.
>
> 3) I don't generate the debian 11 specific files too yet.
> 
> 4) Very important question: would it be possible, with OBS, not to just
> make the difference between debian 11 and debian 12, but have different
> configuration files for each distribution version? For example, one
> '.spec' file for each Fedora version, one 'debian.tar.gz' for each
> Debian version, one for each Ubuntu version. And, of course, make
> packages for all them (not -every- system version of course, but the
> last big ones).

I would propose debian stable (debian 12 atm) and old stable (debain 11 atm) for debian.
If debian 11 becomes old old stable, drop it and introduce debian 13 hat will then be the stable one.
So, 2 package versions for debian

For ubuntu I would do the currently still maintained LTS versions atm being 20.04, 22.04 and 24.04. When 26.04 is introduced, drop packaging 20.04.
So, 3 package version for ubuntu.

The recipe is same for ubuntu and for debian, it might need some changes in the control (dependencies), rules and will need changing first line of changelog (version, distro).

> 
> Thanks again for all your help, guys!
> 
> --
> Benoît Minisini.


Follow-Ups:
Re: [gambas-package-config] Automatic generation of OBS configurationgbWilly <gbWilly@xxxxxxxxxxxxxx>