Deploying updated libraries (was Replacing Omnis VCS with SVN/Git type repository)
Doug Easterbrook
doug at artsman.com
Tue Jan 2 10:32:23 EST 2018
hi all
here it is. this archive was made in 2015 .. and given to a few people. its got some ‘good enough’ documentation with it ...
www2.artsman.com/Omnis/UpdaterRestarterProcess.zip
feel free to adapt, use to your own needs.
the restarter alone .. is a good way to tell omnis to completely restart itself periodically if you want to do that (as graham points out — for their web services).
Doug Easterbrook
Arts Management Systems Ltd.
mailto:doug at artsman.com
http://www.artsman.com
Phone (403) 650-1978
see you at the third annual users conference
https://tickets.proctors.org/TheatreManager/95/online?performance=29086 <https://tickets.proctors.org/TheatreManager/95/online?performance=29086>
> On Jan 2, 2018, at 8:10 AM, Alex Clay <aclay at mac.com> wrote:
>
> On Jan 2, 2018, at 09:52, Graham Stevens <graham.stevens at gmail.com> wrote:
>
>> Alex,
>> How are you assigning (and reading) the build number of your libraries? I have been thinking along similar lines, perhaps, in our case, using the SVN revision.
>
> We write a simple build_number.txt with each build from Jenkins. We track these number in a separate database to ensure a unique value.
>
> I like the idea of a configuration file, perhaps with support for including an entire directory. We could also add support for including remote files, such as libraries hosted on Github. Add some semantic version tagging and presto - true package management for Omnis. (As if it's _just_ that easy!! ;) )
>
> I'll see if I can integrate our two approaches this week and offer a PR to your project. I'm working on switching our Mac deployment to use ~/Library Application support which requires testing our app_loader on macOS, so the timing is good.
>
> Our app_loader.lbs will perform a runtime update of running libraries so don't restart Omnis. However, this doesn't handle reloading xcomps, so Doug's python reloader is a good companion project.
>
> Alex
> _____________________________________________________________
> Manage your list subscriptions at http://lists.omnis-dev.com
More information about the omnisdev-en
mailing list