[windup-dev] Automatic upgrading (of the whole app) discussion

Marek Novotny mnovotny at redhat.com
Tue Jul 28 04:27:56 EDT 2015


First of all I think this gather to windup-dev list.

Secondly I think the safest way is to clone the current distribution and
do the upgrade on it and then before shutdown the furnace just copy
cloned and upgraded distro back to current place.



On 28.7.2015 03:43, Ondrej Zizka wrote:
> Hi all,
> 
> what should be the approach to upgrading?
> 
> Current implementation simply replaces the files on the fly (as a
> command), and it seems it isn't bulletproof. Changing files under
> Furnace's hands seems to break things. I get various FileNotFound and
> dependency failures. Also, we currently do not have a way to run other
> command than windup-migrate-app.
> 
> Other approach could be to download the file, unzip to a temp directory,
> and right before Windup's process shuts down, after Furnace is closed,
> it would swap the existing and the new directories.
> So next time, the new version would boot.
> Would that be ok?
> 
> Then we would need to address the possibility of rules changed by the
> user inside of the windup directory.
> 
> Ideas?
> Ondra
> 


-- 
Marek Novotny
--
WFK and Seam Product Lead

Red Hat Czech s.r.o.
Purkynova 99
612 45 Brno


More information about the windup-dev mailing list