Re: [Zope] Zope product update question
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 20 Apr 2006, at 22:51, J Cameron Cooper wrote: What is exactly the difference between a non-installed product on the file system and an installed product? Is the only difference that the Install.py is run when you install the product?? Yes. Many Products require changes in the ZODB; QI is how this is accomodated. This is really a CMF/Plone question, btw. Better on one of those lists. Well, it's a Plone question. CMF does not need/use the QI tool. There are a lot of packages in the Plone ecosystem that are named "CMF", but that's a little lie - they would never work on CMF alone. To avoid confusion the name should really be "Plone". jens -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.1 (Darwin) iD8DBQFESAOPRAx5nvEhZLIRAo9YAJ9A7b4mdEOK0asAPdxtTV7Ef2pLIwCfTOxy Be+35MyBKBRKFf7TcI2z0X0= =HZk/ -END PGP SIGNATURE- ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Zope product update question
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 20 Apr 2006, at 22:39, Cyrille Bonnet wrote: Hi there, I have a question regarding product update. I have updated a product (ATContentTypes) on the file system. Upon restarting the server, the new version of the product appears in red in the QuickInstaller (as expected). Even though I haven't re-installed the product, some changes are picked up (for instance, it uses the new schemata for ATDocument). Is this the expected behaviour? Yes. Once the new code is on the file system it will be read in and used. I believe the "QuickInstaller" does nothing more than execute external methods that have special "well-known" names which then trigger whatever Plone magic needs to be triggered to complete the upgrade. The "QuickInstaller" is a special Plone-only item, normal Zope product installation does not use it. jens -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.1 (Darwin) iD8DBQFESAKVRAx5nvEhZLIRArwXAJ0biLjUrcfVI3h+BVI2uBHJ1n9Z/gCgqnCw pZ6TPGApiF5Uw5iv86fVnu8= =nPcN -END PGP SIGNATURE- ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Zope product update question
Cyrille Bonnet wrote: I have a question regarding product update. I have updated a product (ATContentTypes) on the file system. Upon restarting the server, the new version of the product appears in red in the QuickInstaller (as expected). Even though I haven't re-installed the product, some changes are picked up (for instance, it uses the new schemata for ATDocument). Is this the expected behaviour? Of course. Whatever Python code exists will take effect whenever it's loaded. What is exactly the difference between a non-installed product on the file system and an installed product? Is the only difference that the Install.py is run when you install the product?? Yes. Many Products require changes in the ZODB; QI is how this is accomodated. This is really a CMF/Plone question, btw. Better on one of those lists. --jcc -- "Building Websites with Plone" http://plonebook.packtpub.com/ Enfold Systems, LLC http://www.enfoldsystems.com ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
[Zope] Zope product update question
Hi there, I have a question regarding product update. I have updated a product (ATContentTypes) on the file system. Upon restarting the server, the new version of the product appears in red in the QuickInstaller (as expected). Even though I haven't re-installed the product, some changes are picked up (for instance, it uses the new schemata for ATDocument). Is this the expected behaviour? What is exactly the difference between a non-installed product on the file system and an installed product? Is the only difference that the Install.py is run when you install the product?? I am using Zope 2.7.4.0, Python 2.3.4. The versions of ATContentTypes are 0.2.0-rc3 (current) and 0.2.1-final (future, uninstalled). Any help appreciated. Cheers, Cyrille ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )