atom feed23 messages in net.sourceforge.lists.plone-developersRe: [Plone-developers] QuickInstaller...
FromSent OnAttachments
Martin AspeliFeb 26, 2009 6:19 pm 
Hanno SchlichtingFeb 27, 2009 2:54 am 
Martin AspeliFeb 27, 2009 2:59 am 
Hanno SchlichtingFeb 27, 2009 3:25 am 
Martin AspeliFeb 27, 2009 3:47 am 
Matthew WilkesFeb 27, 2009 3:53 am 
Ricardo AlvesFeb 27, 2009 4:18 am 
Wichert AkkermanFeb 27, 2009 4:59 am 
Hanno SchlichtingFeb 27, 2009 5:09 am 
Martin AspeliFeb 27, 2009 5:29 am 
Daniel NouriFeb 27, 2009 5:35 am 
Chris RossiFeb 27, 2009 6:34 am 
Ricardo AlvesFeb 27, 2009 6:39 am 
Wichert AkkermanFeb 27, 2009 7:48 am 
Rob MillerFeb 27, 2009 11:25 am 
Maurits van ReesFeb 28, 2009 2:19 pm 
Hanno SchlichtingMar 14, 2009 8:22 am 
Lennart RegebroMar 14, 2009 8:42 am 
Hanno SchlichtingMar 14, 2009 9:06 am 
Gilles LenfantMar 14, 2009 11:33 am 
Martin AspeliMar 14, 2009 11:33 pm 
Wichert AkkermanMar 14, 2009 11:51 pm 
Alexander LimiMar 16, 2009 4:47 am 
Subject:Re: [Plone-developers] QuickInstaller kills local utilities upon product re-install
From:Martin Aspeli (opti@gmail.com)
Date:Feb 27, 2009 2:59:30 am
List:net.sourceforge.lists.plone-developers

Hanno Schlichting wrote:

Martin Aspeli wrote:

If you have a local utility installed using componentregistry.xml with the 'factory' option, it will be overwritten with a new one (and any data stored in it lost) when you re-install a product. This sucks.

I notice http://dev.plone.org/plone/ticket/8410, and I see Hanno's point: storing data in the registration is probably not the best idea, nor is the re-install butting generally safe and the whole of portal_quickinstaller should die.

[...]

However, stomping on registrations and deleting data is bad, no matter what reasons that data was there in the first place.

What do you expect to happen if you ask someone to uninstall? It deletes data, that's its whole point. Reinstall means uninstall + install, you use it if you seriously screwed something and want to start from scratch.

Actually, I use it all the time during development, to get changes to my GS profile installed. I don't want to lose my persistent utility state just because of that.

The re-install button is there now, and people use it all the time.

I consider removing the reinstall button and not encouraging its use a possible workaround.

I don't think we can do that in 3.x, which means that I still think my workaround is better than yours. ;-)

Another option may be to have the re-install button attempt no uninstall whatsoever, and just re-run the installation. I think people expect to have to "uninstall" and then "reinstall" if they really want to get back to ground zero. I bet most people expect "re-install" to indeed just install again.

Martin

------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H