[windup-dev] Automatic upgrading (of the whole app) discussion
Ondrej Zizka
ozizka at redhat.com
Wed Jul 29 04:20:08 EDT 2015
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
>>
>
More information about the windup-dev
mailing list