[Zope-dev] Context priority as an alternative to configuration directive overrides

2010-12-02 Thread Malthe Borch
I always found configuration overrides (e.g. ZCML's includeOverrides directive) to be difficult to manage and hard to get right. How about an alternative where you can put a priority on a configuration context like so: adapter zcml:priority=100 ... / Default priority would be 0, traditional

Re: [Zope-dev] Context priority as an alternative to configuration directive overrides

2010-12-02 Thread Benji York
On Thu, Dec 2, 2010 at 3:15 AM, Malthe Borch mbo...@gmail.com wrote: I always found configuration overrides (e.g. ZCML's includeOverrides directive) to be difficult to manage and hard to get right. How about an alternative where you can put a priority on a configuration context like so:  

[Zope-dev] Zope Tests: 63 OK, 9 Failed

2010-12-02 Thread Zope Tests Summarizer
Summary of messages to the zope-tests list. Period Wed Dec 1 13:00:00 2010 UTC to Thu Dec 2 13:00:00 2010 UTC. There were 72 messages: 6 from Zope Tests, 4 from buildbot at pov.lt, 19 from buildbot at winbot.zope.org, 13 from ccomb at free.fr, 30 from jdriessen at thehealthagency.com. Test

Re: [Zope-dev] Context priority as an alternative to configuration directive overrides

2010-12-02 Thread Malthe Borch
On 2 December 2010 13:34, Benji York be...@benjiyork.com wrote: I appreciate the flexibility inherent in that approach, but personally, I'd be frightened of such a system.  I sometimes have problems figuring out which directives are active in the current system, if I had to reason about dozens

Re: [Zope-dev] Context priority as an alternative to configuration directive overrides

2010-12-02 Thread Stephan Richter
On Thursday, December 02, 2010, Malthe Borch wrote: As far as I understand, for a ZCML include override to work properly, you need to carefully make sure that your includes are in the exact right order and on the same level. In a system where two packages are trying to override the same

Re: [Zope-dev] Zope 3 porting sprint?

2010-12-02 Thread Lennart Regebro
On Fri, Nov 26, 2010 at 07:26, Ross Patterson m...@rpatterson.net wrote: Who would be interested in a sprint, when, where and how? I'd be interested in remote sprinting.  I'm available now, FWIW. OK, so it's me and you then. :-) Let's talk in January about doing something and staying online at

Re: [Zope-dev] Context priority as an alternative to configuration directive overrides

2010-12-02 Thread Malthe Borch
On 2 December 2010 14:37, Stephan Richter srich...@cosmos.phy.tufts.edu wrote: This explanation helped me to understand where you come from. I think I would be okay with the priority feature, but could we maybe limit it to the configure element? Since you can use this element anywhere and it

Re: [Zope-dev] Zope 3 porting sprint?

2010-12-02 Thread David Glick
On 12/2/10 5:39 AM, Lennart Regebro wrote: On Fri, Nov 26, 2010 at 07:26, Ross Patterson m...@rpatterson.net wrote: Who would be interested in a sprint, when, where and how? I'd be interested in remote sprinting. I'm available now, FWIW. OK, so it's me and you then. :-) Let's talk in January

Re: [Zope-dev] Context priority as an alternative to configuration directive overrides

2010-12-02 Thread Charlie Clark
Am 02.12.2010, 14:19 Uhr, schrieb Malthe Borch mbo...@gmail.com: As far as I understand, for a ZCML include override to work properly, you need to carefully make sure that your includes are in the exact right order and on the same level. In a system where two packages are trying to override

Re: [Zope-dev] Context priority as an alternative to configuration directive overrides

2010-12-02 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 12/02/2010 03:43 PM, Charlie Clark wrote: Am 02.12.2010, 14:19 Uhr, schrieb Malthe Borch mbo...@gmail.com: As far as I understand, for a ZCML include override to work properly, you need to carefully make sure that your includes are in the