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

Re: gambas very simple updater


Am 06.04.24 um 20:30 schrieb Brian G:

On 4/6/24 08:14, Bruce Steers wrote:

https://gitlab.com/bsteers4/gambas/-/blob/bruces-patched/Install_Gambas.sh?ref_type=heads

Remember that all bells and whistles installer script i made?

well i just made a very, very simple one.  only 120 lines, about as simple as i could get it. it probably needs to be a bit less simple with some error handling and stuff.

it does no detection and no downloading.
It must be run from a gambas source folder
(I have placed it in my fork and just used it on neon6 VM and it's working just as expected)

it does the following...

* Asks if you want to "run" the install commands or just show them.
(just showing is good for testing it looks okay first)

* Then asks you to select your os from the .gitlab-ci.yml file build list.

* Then it will either print the commands you need to upgrade to autotools compiled version or run them all for you.

If installing it pauses before running make install to warn to be sure packager installed gambas is removed before the next step.

Maybe we could work on something like this to include in the main source to make the old "upgrading is too complicated for some" rhetoric obsolete ? :)


Respects
BruceS


Would it be possible to host repositories for most main line Linux version, rpm, deb etc like the daily and stable for Ubuntu.

This would make updating a very very simple process.


something like the Open Build Service?

https://openbuildservice.org/
https://software.opensuse.org/
https://build.opensuse.org/


--
~~~~ Brian



Follow-Ups:
Re: gambas very simple updaterBrian G <brian@xxxxxxxxxxxxxxxx>
References:
gambas very simple updaterBruce Steers <bsteers4@xxxxxxxxx>
Re: gambas very simple updaterBrian G <brian@xxxxxxxxxxxxxxxx>