Le 4 nov. 2010 à 16:39, Mikko Ohtamaa a écrit : > > > Gilles Lenfant-2 wrote: >> >> - make a GenericSetup snapshot (a) >> - install stuffs >> - do your tests >> - uninstall stuffs >> - make a GenericSetup snapshot (b) >> - compare snapshots (a) and (b), discarding acceptable differences.
Hi, >> > > Does this also capture the situations when add-on has left persistent > objects around in Data.fs, like local utilities (read: Singing & Dancing)? There's a "componentregistry" step that's in a snapshot as all steps should be. I assume that local utilities are installed using GS step (componentregistry.xml) of course, and not from an install.py or setuphandlers.py. I already ran into situations where the site is broken when components incorrectly installed are removed with QI/GS then from buildout. > > It looks like the site "functions" until you try to upgrade it (Plone 4) or > do Import/Export through ZMI. > > > > > ----- > Mikko Ohtamaa > mFabrik - Freedom Delivered. > > Web site - http://mfabrik.com > Mobile site - http://mfabrik.mobi > Blog - http://blog.mfabrik.com > -- > View this message in context: > http://plone.293351.n2.nabble.com/Automatizing-uninstalls-cleanly-test-tp5705298p5705758.html > Sent from the Product Developers mailing list archive at Nabble.com. > _______________________________________________ > Product-Developers mailing list > [email protected] > http://lists.plone.org/mailman/listinfo/product-developers _______________________________________________ Product-Developers mailing list [email protected] http://lists.plone.org/mailman/listinfo/product-developers
