[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Using OBS with version number, is there a limit?
[Thread Prev] | [Thread Next]
- Subject: Re: Using OBS with version number, is there a limit?
- From: Bruce Steers <bsteers4@xxxxxxxxx>
- Date: Wed, 24 Dec 2025 21:59:37 +0000
- To: user@xxxxxxxxxxxxxxxxxxxxxx
On Wed, 24 Dec 2025 at 19:42, Benoît Minisini < benoit.minisini@xxxxxxxxxxxxxxxx> wrote: > Le 22/12/2025 à 16:14, Bruce Steers a écrit : > > Hi. > > > > When using the OBS "add repository" method using a specific version > > number like 3.20, 3.19 etc is that limited? > > Ie. can it be any version number or are only some most recent versions > > available? > > > > My php script lists incrementally from 3.16 to the most recent. > > > > Respects > > BruceS > > > > I'm not sure to understand the question... The name of the OBS > repository is just a string, and hopefully I chose the version number > for that. > > And I can't guarantee that I will maintain one repository for each old > version. > > So you are never sure that you will find a OBS repository for a specific > version, unless the latest one. > > Regards, > > -- > Benoît Minisini. Thanks Benoit. I changed the code now to just read in the page gbWilly pointed me to at https://download.opensuse.org/repositories/home:/gambas:/ it extracts the available versions from there. Then it extracts the supported Os's from https://build.opensuse.org/projects/home:gambas:master/meta I've also added French and German languages to it that should auto-detect your system language. https://bruceybonus.uk/gb_update_repo.php I also added url query args to force a language and/or show single operating systems and versions (version defaults to stable) Eg. https://bruceybonus.uk/gb_update_repo.php?get=arch:stable https://bruceybonus.uk/gb_update_repo.php?get=debian 13:master https://bruceybonus.uk/gb_update_repo.php?get=ubuntu 24.04?lang=de it allows for a little variation in OS spelling Ie. deb/Deb/debian converts to Debian ubuntu converts to xUbuntu arch to ArchLinux spaces or dashes are converted to underscore. plus some other tricks. Attached is the script, maybe you (or anyone else) can use it? it uses php and javascript and should run on any php enabled server with php_curl. (added some code description comments) Respects and merry Christmas :) BruceS
Attachment:
gb_update_repo.php
Description: application/php
| Re: Using OBS with version number, is there a limit? | Bruce Steers <bsteers4@xxxxxxxxx> |
| Using OBS with version number, is there a limit? | Bruce Steers <bsteers4@xxxxxxxxx> |
| Re: Using OBS with version number, is there a limit? | Benoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx> |