[Zope-CMF] Re: Tools as local utilities
Hi Jens! Jens Vagelpohl wrote: So I'm currently stealing^H^H^H^H^H^H^H integrating Hanno's code from GSLocalAddons into CMFCore and CMFDefault. AFAICS GSLocalAddons doesn't depend on CMF and might be useful for other projects as well. Don't know if you did that already, but please add the code to GenericSetup, not CMFCore. I think this is a good time to create a maintenance branch for GenericSetup 1.2 and to make the GenericSetup trunk depend on Zope 2.10. I'm running into an issue with the site/site manager registration, though. It does not work when instantiating the site, but it does when going to the setup tool in the newly created site afterwards and telling it to import all steps. Analogous to the way it is done in Plone I have parked the site/site manager stuff in CMFDefault.setuphandlers.importVarious for now, [...] Since CMF site roots have anyway their own class, I think we should hardcode the Zope 3 site stuff. I only had a quick look at the code so I might be missing something, but implementing this in PortalObjectBase seems to be quite easy. And we would neither need to use importVarious nor to write migration code. Just my 2 cents, Yuppie ___ Zope-CMF maillist - Zope-CMF@lists.zope.org http://mail.zope.org/mailman/listinfo/zope-cmf See http://collector.zope.org/CMF for bug reports and feature requests
[Zope-CMF] CMF Tests: 9 OK
Summary of messages to the cmf-tests list. Period Mon Nov 13 12:00:00 2006 UTC to Tue Nov 14 12:00:00 2006 UTC. There were 9 messages: 9 from CMF Unit Tests. Tests passed OK --- Subject: OK : CMF-1.5 Zope-2.7 Python-2.3.6 : Linux From: CMF Unit Tests Date: Mon Nov 13 22:06:55 EST 2006 URL: http://mail.zope.org/pipermail/cmf-tests/2006-November/003245.html Subject: OK : CMF-1.5 Zope-2.8 Python-2.3.6 : Linux From: CMF Unit Tests Date: Mon Nov 13 22:08:25 EST 2006 URL: http://mail.zope.org/pipermail/cmf-tests/2006-November/003246.html Subject: OK : CMF-1.5 Zope-2.9 Python-2.4.4 : Linux From: CMF Unit Tests Date: Mon Nov 13 22:09:55 EST 2006 URL: http://mail.zope.org/pipermail/cmf-tests/2006-November/003247.html Subject: OK : CMF-1.6 Zope-2.8 Python-2.3.6 : Linux From: CMF Unit Tests Date: Mon Nov 13 22:11:25 EST 2006 URL: http://mail.zope.org/pipermail/cmf-tests/2006-November/003248.html Subject: OK : CMF-1.6 Zope-2.9 Python-2.4.4 : Linux From: CMF Unit Tests Date: Mon Nov 13 22:12:55 EST 2006 URL: http://mail.zope.org/pipermail/cmf-tests/2006-November/003249.html Subject: OK : CMF-2.0 Zope-2.9 Python-2.4.4 : Linux From: CMF Unit Tests Date: Mon Nov 13 22:14:25 EST 2006 URL: http://mail.zope.org/pipermail/cmf-tests/2006-November/003250.html Subject: OK : CMF-2.0 Zope-2.10 Python-2.4.4 : Linux From: CMF Unit Tests Date: Mon Nov 13 22:15:55 EST 2006 URL: http://mail.zope.org/pipermail/cmf-tests/2006-November/003251.html Subject: OK : CMF-trunk Zope-2.10 Python-2.4.4 : Linux From: CMF Unit Tests Date: Mon Nov 13 22:17:26 EST 2006 URL: http://mail.zope.org/pipermail/cmf-tests/2006-November/003252.html Subject: OK : CMF-trunk Zope-trunk Python-2.4.4 : Linux From: CMF Unit Tests Date: Mon Nov 13 22:18:56 EST 2006 URL: http://mail.zope.org/pipermail/cmf-tests/2006-November/003253.html ___ Zope-CMF maillist - Zope-CMF@lists.zope.org http://mail.zope.org/mailman/listinfo/zope-cmf See http://collector.zope.org/CMF for bug reports and feature requests
[Zope-CMF] Re: Tools as local utilities
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 14 Nov 2006, at 11:41, yuppie wrote: Hi Jens! Jens Vagelpohl wrote: So I'm currently stealing^H^H^H^H^H^H^H integrating Hanno's code from GSLocalAddons into CMFCore and CMFDefault. AFAICS GSLocalAddons doesn't depend on CMF and might be useful for other projects as well. Don't know if you did that already, but please add the code to GenericSetup, not CMFCore. I think this is a good time to create a maintenance branch for GenericSetup 1.2 and to make the GenericSetup trunk depend on Zope 2.10. Good point, right now the code is purely in the CMF, but it can be moved. I'll create the 1.2 branch right now and then move the GSLocalAddons bits into GenericSetup trunk, and change DEPENDENCIES.txt. I'm running into an issue with the site/site manager registration, though. It does not work when instantiating the site, but it does when going to the setup tool in the newly created site afterwards and telling it to import all steps. Analogous to the way it is done in Plone I have parked the site/ site manager stuff in CMFDefault.setuphandlers.importVarious for now, [...] Since CMF site roots have anyway their own class, I think we should hardcode the Zope 3 site stuff. I only had a quick look at the code so I might be missing something, but implementing this in PortalObjectBase seems to be quite easy. And we would neither need to use importVarious nor to write migration code. Looking at the calls that are being done to make it into a Zope 3 site it seems a complicated affair to hardcode that stuff in at class level so that it will be picked up for older installations. Do you have any specific ideas about that? Otherwise it is easy to at least move the code from importVarious into a handler for ISiteRoot/ IObjectAddedEvent. jens -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.1 (Darwin) iD8DBQFFWc9QRAx5nvEhZLIRApFcAJ9PRBhb9+d+5G4GhD6zwWi+QvHMLgCfUVQW YdCyEnxK7sko826Lase4jOg= =zKeg -END PGP SIGNATURE- ___ Zope-CMF maillist - Zope-CMF@lists.zope.org http://mail.zope.org/mailman/listinfo/zope-cmf See http://collector.zope.org/CMF for bug reports and feature requests