Re: A story about QuickInstaller and GenericSetup cooperation
Maurits van Rees <m.van.rees-1kr/[email protected]>
| Newsgroups | gmane.comp.web.zope.plone.devel |
|---|---|
| Organization | Zest Software |
| Message-ID | <[email protected]> |
You have uncovered my secret master plan. ;-) Well, not really, but getting rid of CMFQuickInstallerTool might be an option in Plone 5.1 or 6.0. The QI is more and more just a different way of talking to portal_setup. What QI now mostly does, is: - QI is an alternative installation system, with Extensions/Install.py. Products depending on this would need to be changed to use GS. In the basis this is not hard. I expect any product that was created for Plone 3 or higher to have a GS profile. Some old products, like Products.Marshall, would need a small profile, which could very roughly be: move Extensions/Install.py to setuphandlers.py and hook it up in zcml. - QI determines a link between a profile and its product and the other way around. And in the near future maybe a link between an uninstall and a default profile. The logic behind those links could in Plone 5 be moved to the new controlpanel/browser/quickinstaller.py. - QI keeps track of which products are installed. But when done correctly (see the TODO items in my original post) this information can be found in GS as well. - QI keeps a list of which things have been added during the install: skin layers, tools, etc, so it can automatically remove them during uninstall. It more or less works, but it does not do everything. With QI gone we would loose this. An uninstall profile would basically become mandatory for add-ons. When an uninstall profile is not found, the Add-ons control panel would need to display a big fat warning, probably already before activating the product: "This product has no uninstall profile: if you activate it you are stuck with it for eternity." Put a button next to it: "I feel lucky." ;-) Maurits Gil Forcada Codinachs schreef op 19-08-15 om 16:13: > Maybe an stupid idea, but is there any reason to not merge them (apart > from breaking everything?) From your description seems that the logic > about (not)installed packages is somewhat split between the two... > > 2015-08-19 14:44 GMT+02:00 Philip Bauer > <[email protected] > <mailto:[email protected]>>: > > Finally a plan for sanity! > +1 > > > Am 19.08.2015 um 00:01 schrieb Maurits van Rees > <m.van.rees-1kr/[email protected] > <mailto:m.van.rees-1kr/[email protected]>>: > > > > Hi, > > > > So, I have been having some fun with the CMFQuickInstallerTool (QI) > > and GenericSetup (GS) and how they cooperate. It's quite > interesting, > > really. Sit back and relax. > > > > Mostly this is about applying a GS profile and marking the > corresponding > > product as installed in the QI. And then uninstalling or unmarking. ------------------------------------------------------------------------------