Hi KP

Am 10.10.2015 um 03:20 schrieb kp kirchdoerfer:
> Hi Erich;
> 
...
> 
> This does not happen, if one adds a new etc.lrp with "apkg -u", where changes 
> between confg files are noticed to the user, who can then decide to Keep the 
> old file, to Replace it with the new version, to Show differences or to Edit 
> a 
> merge file.
> 
> Can your upgrade script handle this better (does it run apkg -u for 
> Packages?), than the sole replacement of the Package file??
> 
> This would be a welcome improvement.

This is a good point, but it may break upgrade as right now there is no
user interaction, whereas apkg -u always has user interaction and this
IMHO would be a major drawback.

I don't know if there is an option to apkg which makes it silent and
just use the new file, but that could probably be added. Nevertheless,
if apkg could overwrie the package then we still would have to save
configdb, but that is not so bad. Unfortunately, there could be a loss
of valuable information in configdb.

Maybe it would be enough to inform the user of the differences in
important config files. Also had I read the Release Notes I might have
had less guesswork :-(

> 
>> Had I upgraded the router previously to 5.x this would probably have
>> occurred earlier, it is a 4.x to 5.x issue. I suggest to document this
>> in some gotcha section of an upgrade guide.
> 
> Yes; I'll try to take care of this tomorrow.
> 

Thank you, I am sure there will be more.

cheers

ET

------------------------------------------------------------------------------

_______________________________________________
leaf-devel mailing list
leaf-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/leaf-devel

Reply via email to