[Lazarus] Auto Update Request

Michael Van Canneyt michael at freepascal.org
Mon Apr 13 17:41:11 CEST 2015



On Mon, 13 Apr 2015, Graeme Geldenhuys wrote:

> On 2015-04-13 14:58, Lukasz Sokol wrote:
>> Probably doable IFF one wants to, or can, run on SVN/GIT releases
>> and rebuild by themselves;
>
> I would (and already do) go with this option. It would also download the
> least about.
>
> I'm pretty sure with 15 minutes to spare, somebody could write a Lazarus
> add-on (package) that registers a new "Get Updates" menu item in say the
> Help menu, which triggers a 'git stash; git pull; git stash pop' and
> then finally triggers the IDE to rebuild.

This is not so difficult.

IMHO the problem is primarily: what happens if it goes wrong.
i.e. the compile fails somewhere halfway the LCL.

The IDE will continue to function, but you won't be able to compile any apps.

Also, doing this requires a checkout. This will increase diskspace etc.
Lots of pitfalls.

Michael.




More information about the Lazarus mailing list