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

Marek Novotny mnovotny at redhat.com
Thu Jul 30 04:47:17 EDT 2015


well we both probably meant the same way as you said the replacing files
on the fly is problematic.

I would say I am fine with that.
Btw are directory like  cache significant too in addition to ignore and
rules directories in end user customization?

On 29.7.2015 10:20, Ondrej Zizka wrote:
> Ah, here I found this post.
> 
> I am not sure about cloning. Only the rules could be potentially needed 
> to transfer. And maybe the .ignore files.
> Hence I'd rather swap the whole distro directories and then transfer the 
> XML rules. To keep the process simple and to avoid collisions when we 
> change some dir structure.
> 
> WDYT?
> Ondra
> 
> 
> On 28.7.2015 10:27, Marek Novotny wrote:
>> 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
>>>
>>
> 
> _______________________________________________
> windup-dev mailing list
> windup-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/windup-dev
> 


-- 
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