[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 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: Default priority would be 0, traditional overrides get the maximum priority. ZTK component

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 wrote: > I always found configuration overrides (e.g. ZCML's > 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: > >   I appreciate the flexibili

[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 fa

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 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 of priority lev

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 com

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

2010-12-02 Thread Lennart Regebro
On Fri, Nov 26, 2010 at 07:26, Ross Patterson 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 the same time d

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 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 > element? Since you can use this element anywhere and it can be > nested, it should work well.

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 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

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 : > 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 compo

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 : > >> 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