Re: [Zope-CMF] GenericSetup global registries

2011-03-09 Thread Laurence Rowe
On 8 March 2011 16:26, Wichert Akkerman wich...@wiggy.net wrote: On 2011-3-8 17:08, Godefroid Chapelle wrote: Hello, GenericSetup has global registries for profiles and steps. They are a PITA when testing. For instance, plone.app.testing has to make a complicated dance to record and

Re: [Zope-CMF] GenericSetup global registries

2011-03-09 Thread Wichert Akkerman
On 3/9/11 14:41 , Laurence Rowe wrote: On 8 March 2011 16:26, Wichert Akkermanwich...@wiggy.net wrote: On 2011-3-8 17:08, Godefroid Chapelle wrote: Hello, GenericSetup has global registries for profiles and steps. They are a PITA when testing. For instance, plone.app.testing has to make

Re: [Zope-CMF] GenericSetup global registries

2011-03-09 Thread Hanno Schlichting
On Wed, Mar 9, 2011 at 3:00 PM, Wichert Akkerman wich...@wiggy.net wrote: You really want to use the ZCA for every occurance of a string-object mapping? Really? As long as Zope doesn't have a central configuration registry like Pyramid has, it unfortunately makes sense. It's massive overkill

Re: [Zope-CMF] GenericSetup global registries

2011-03-09 Thread Wichert Akkerman
On 3/9/11 15:03 , Hanno Schlichting wrote: On Wed, Mar 9, 2011 at 3:00 PM, Wichert Akkermanwich...@wiggy.net wrote: You really want to use the ZCA for every occurance of a string-object mapping? Really? As long as Zope doesn't have a central configuration registry like Pyramid has, it

Re: [Zope-CMF] GenericSetup global registries

2011-03-09 Thread Godefroid Chapelle
Le 09/03/11 15:09, Wichert Akkerman a écrit : It all looks like a workaround for a missing feature in plone.testing, which won't even help much since plone.testing needs to support older GS releases as well. Wichert. The change I made is internal implementation only. IOW, it can go into a

Re: [Zope-CMF] GenericSetup global registries

2011-03-09 Thread Martin Aspeli
On 9 March 2011 14:09, Wichert Akkerman wich...@wiggy.net wrote: On 3/9/11 15:03 , Hanno Schlichting wrote: On Wed, Mar 9, 2011 at 3:00 PM, Wichert Akkermanwich...@wiggy.net  wrote: You really want to use the ZCA for every occurance of a string-object mapping? Really? As long as Zope doesn't

[Zope-CMF] GenericSetup global registries

2011-03-08 Thread Godefroid Chapelle
Hello, GenericSetup has global registries for profiles and steps. They are a PITA when testing. For instance, plone.app.testing has to make a complicated dance to record and restore their state. In branch gotcha-registries-use-utilities, I have removed those global storages. The profiles

Re: [Zope-CMF] GenericSetup global registries

2011-03-08 Thread Godefroid Chapelle
Le 08/03/11 17:26, Wichert Akkerman a écrit : On 2011-3-8 17:08, Godefroid Chapelle wrote: Hello, GenericSetup has global registries for profiles and steps. They are a PITA when testing. For instance, plone.app.testing has to make a complicated dance to record and restore