Re: [Zope-dev] z3c.form: nested group

2009-03-12 Thread Laurent Mignon
Martin Aspeli wrote: > Laurent Mignon wrote: >> Hi, >> >> 2 weeks ago, I've implemented a support for nested group into the >> branch svn://svn.zope.org/repos/main/z3c.form/branches/sagblmi-nestedgroup >> >> All test pass and no compatibility issue. >> >> Can I merge it to the trunk? > > What's t

Re: [Zope-dev] z3c.form: nested group

2009-03-12 Thread Wichert Akkerman
Previously Laurent Mignon wrote: > Martin Aspeli wrote: > > Laurent Mignon wrote: > >> Hi, > >> > >> 2 weeks ago, I've implemented a support for nested group into the > >> branch svn://svn.zope.org/repos/main/z3c.form/branches/sagblmi-nestedgroup > >> > >> All test pass and no compatibility issue.

Re: [Zope-dev] z3c.form: nested group

2009-03-12 Thread Stephan Richter
On Wednesday 11 March 2009, Laurent Mignon wrote: > Can I merge it to the trunk? yes Regards, Stephan -- Stephan Richter Web Software Design, Development and Training Google me. "Zope Stephan Richter" ___ Zope-Dev maillist - Zope-Dev@zope.org http://

[Zope-dev] Releasing z3c.recipe.i18n?

2009-03-12 Thread Brian Sutherland
Hi, I've added a oneline bugfix to z3c.recipe.i18n that's pretty important for me (97979). Could someone release it? or add me as an owner in pypi so I can do it myself? My pypi username is jinty. -- Brian Sutherland ___ Zope-Dev maillist - Zope-Dev

Re: [Zope-dev] Releasing z3c.recipe.i18n?

2009-03-12 Thread Roger Ineichen
Hi Brian > Betreff: [Zope-dev] Releasing z3c.recipe.i18n? > > Hi, > > I've added a oneline bugfix to z3c.recipe.i18n that's pretty > important for me (97979). Thanks a lot! > Could someone release it? or add me as an owner in pypi so I > can do it myself? My pypi username is jinty. Just a

Re: [Zope-dev] Dependencies for ZCML

2009-03-12 Thread Martijn Faassen
Hey, Tres Seaver wrote: [snip] > - -1 on having "configuration dependecies," including having mandatory > tests that ZCML will load: You mean mandatory ZCML loaded by tests? You seem to write the reverse here, and I don't understand what that could mean. > "mandatory configuration is a contrad

Re: [Zope-dev] New package: zope.authentication AND the problem.

2009-03-12 Thread Martijn Faassen
Hey, Thanks for bringing this up and describing the problem so clearly. I'm going to answer with a bunch of questions in the hope it will lead us into the right direction for this problem. Dan Korostelev wrote: [snip] > Another solution which I like much less is to move those adapters to > "zop

Re: [Zope-dev] Release of zope.component (was [Checkins] SVN: zope.component/trunk/ Merge the 'tseaver-wo_zope_deferredimport' branch)

2009-03-12 Thread Martijn Faassen
Hey, Dan Korostelev wrote: > I decided to start a new branch of that, because there's no still > response on my requests for a release. I see that you have access to that package now. Could you also give srichter access to zope.component? Regards, Martijn _

Re: [Zope-dev] Common permissions (final bits of zope.app.security refactoring)

2009-03-12 Thread Martijn Faassen
Hey Dan, Thanks very much for this analysis and summary! My comments below. Dan Korostelev wrote: > To be honest, I don't quite get the difference between zope.ManageSite > and zope.ManageServices. Can someone clear this point for me? May be > they should be merged somehow. I'm afraid I don't kn

[Zope-dev] z3c.form - creating a file upload widget

2009-03-12 Thread Martin Aspeli
Hi, I'm writing a custom file widget for z3c.form that works like the Archetypes file widget that Plone uses and the formlib widget in collective.namedfile. That is, after you've uploaded a file once, you're given a radio button to decide whether to upload a new file, or leave the existing fil

Re: [Zope-dev] z3c.form - creating a file upload widget

2009-03-12 Thread Stephan Richter
On Thursday 12 March 2009, Martin Aspeli wrote: > I'm writing a custom file widget for z3c.form that works like the > Archetypes file widget that Plone uses and the formlib widget in > collective.namedfile. That is, after you've uploaded a file once, you're > given a radio button to decide whether

Re: [Zope-dev] New package: zope.authentication AND the problem.

2009-03-12 Thread Dan Korostelev
2009/3/12 Martijn Faassen : > Dan Korostelev wrote: > [snip] >> Another solution which I like much less is to move those adapters to >> "zope.authentication" and define an extra dependency (sigh) on >> zope.publisher, but then the package won't be so nice, clean and >> generic as it could be. :-)

Re: [Zope-dev] Release of zope.component (was [Checkins] SVN: zope.component/trunk/ Merge the 'tseaver-wo_zope_deferredimport' branch)

2009-03-12 Thread Dan Korostelev
2009/3/12 Martijn Faassen : > Hey, > > Dan Korostelev wrote: >> I decided to start a new branch of that, because there's no still >> response on my requests for a release. > > I see that you have access to that package now. Could you also give > srichter access to zope.component? Okay, done. Shoul

Re: [Zope-dev] z3c.form - creating a file upload widget

2009-03-12 Thread Dan Korostelev
2009/3/12 Stephan Richter : > On Thursday 12 March 2009, Martin Aspeli wrote: >> I'm writing a custom file widget for z3c.form that works like the >> Archetypes file widget that Plone uses and the formlib widget in >> collective.namedfile. That is, after you've uploaded a file once, you're >> given

Re: [Zope-dev] Dependencies for ZCML

2009-03-12 Thread Chris McDonough
Martijn Faassen wrote: >> "mandatory configuration is a contradiction >> in terms." I therefore don't believe that tests which try to load ZCML >> are useful, at least for "library" pacakges (as opposed to "applications"). > > Yeah, I know you're a purist on this topic. > > Here are some observ

Re: [Zope-dev] Common permissions (final bits of zope.app.security refactoring)

2009-03-12 Thread Dan Korostelev
2009/3/12 Martijn Faassen : > Thanks very much for this analysis and summary! My comments below. [...snip...] Okay, the move is now done. > Anyway, we can always move zope.ManageApplication into > zope.app.applicationcontrol when we want to, so leave it in > zope.app.security for now. +1 -- W

Re: [Zope-dev] Release of zope.component (was [Checkins] SVN: zope.component/trunk/ Merge the 'tseaver-wo_zope_deferredimport' branch)

2009-03-12 Thread Martijn Faassen
Dan Korostelev wrote: > 2009/3/12 Martijn Faassen : >> Hey, >> >> Dan Korostelev wrote: >>> I decided to start a new branch of that, because there's no still >>> response on my requests for a release. >> I see that you have access to that package now. Could you also give >> srichter access to zope.

Re: [Zope-dev] Release of zope.component (was [Checkins] SVN: zope.component/trunk/ Merge the 'tseaver-wo_zope_deferredimport' branch)

2009-03-12 Thread Dan Korostelev
2009/3/12 Martijn Faassen : > Dan Korostelev wrote: >> 2009/3/12 Martijn Faassen : >>> Hey, >>> >>> Dan Korostelev wrote: I decided to start a new branch of that, because there's no still response on my requests for a release. >>> I see that you have access to that package now. Could you

Re: [Zope-dev] Release of zope.component (was [Checkins] SVN: zope.component/trunk/ Merge the 'tseaver-wo_zope_deferredimport' branch)

2009-03-12 Thread Stephan Richter
On Thursday 12 March 2009, Dan Korostelev wrote: > Okay, it's released now. Expect some test breakage for the first time, > until we adapt our packages to the removal of bbb interfaces. I'll try > to do that quickly and then run the KGS and compat tests. With all these refactorings going on, we re

Re: [Zope-dev] Dependencies for ZCML

2009-03-12 Thread Martijn Faassen
Chris McDonough wrote: > Martijn Faassen wrote: [snip] >> Sometimes you can only test a library when a particular utility or >> adapter or event handler is registered. The library uses this utility or >> adapter in its own logic and while the utility or adapter is intended to >> be replaceable (

Re: [Zope-dev] z3c.form - creating a file upload widget

2009-03-12 Thread Stephan Richter
On Thursday 12 March 2009, Dan Korostelev wrote: > Just to note, there's already the NOT_CHANGED constant in > z3c.form.interfaces. Yep, good point. Regards, Stephan -- Stephan Richter Web Software Design, Development and Training Google me. "Zope Stephan Richter" ___

Re: [Zope-dev] New package: zope.authentication AND the problem.

2009-03-12 Thread Martijn Faassen
Hey Dan, Thanks for your answer. Go ahead and make zope.publisher depend on zope.authentication. Could you document a summary of this discussion within the Python code that implements these adapters? (or the ZCML if you think that's better) As a general point, right now the whole idea to use a

Re: [Zope-dev] Release of zope.component (was [Checkins] SVN: zope.component/trunk/ Merge the 'tseaver-wo_zope_deferredimport' branch)

2009-03-12 Thread Martijn Faassen
Stephan Richter wrote: > On Thursday 12 March 2009, Dan Korostelev wrote: >> Okay, it's released now. Expect some test breakage for the first time, >> until we adapt our packages to the removal of bbb interfaces. I'll try >> to do that quickly and then run the KGS and compat tests. > > With all th

Re: [Zope-dev] Release of zope.component (was [Checkins] SVN: zope.component/trunk/ Merge the 'tseaver-wo_zope_deferredimport' branch)

2009-03-12 Thread Stephan Richter
On Thursday 12 March 2009, Martijn Faassen wrote: > Stephan, what would be involved to bringing this buildout to > something.zope.org? Would that even be a good idea? The French Python > association runs this now, right? We should ask ccomb (Chsristopher), though I think other people chipping in

Re: [Zope-dev] Dependencies for ZCML

2009-03-12 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Martijn Faassen wrote: > Tres Seaver wrote: > [snip] >> - -1 on having "configuration dependecies," including having mandatory >> tests that ZCML will load: > > You mean mandatory ZCML loaded by tests? You seem to write the reverse > here, and I don

[Zope-dev] zope.site

2009-03-12 Thread Dan Korostelev
Please, can someone review the current zope.site's trunk? It fails the "persistent_interfaces" tests. I didn't ever work with persistent code, so I don't have idea about what's going on. But I'd like to make a release of this package. Anyone? -- WBR, Dan Korostelev _

Re: [Zope-dev] deprecating the deprecation system?

2009-03-12 Thread Lennart Regebro
On Wed, Mar 11, 2009 at 19:55, Dieter Maurer wrote: > The parameter was pointless in the first place. > One and only one value for it worked -- the one that could be > determined automatically. Which is why it was removed. :) (and also, I think there was a use case where the one calling the param

Re: [Zope-dev] z3c.form - creating a file upload widget

2009-03-12 Thread Martin Aspeli
Stephan Richter wrote: > On Thursday 12 March 2009, Martin Aspeli wrote: >> I'm writing a custom file widget for z3c.form that works like the >> Archetypes file widget that Plone uses and the formlib widget in >> collective.namedfile. That is, after you've uploaded a file once, you're >> given a ra

Re: [Zope-dev] z3c.form - creating a file upload widget

2009-03-12 Thread Stephan Richter
On Thursday 12 March 2009, Martin Aspeli wrote: > Could I maybe create a custom validator that checks for a magic > constant? If so, how? I have both a custom field (in the zope.schema > sense) and a custom widget. Yeah. I could swear I implemented this before. A validator is an adapter for the f

Re: [Zope-dev] z3c.form - creating a file upload widget

2009-03-12 Thread Martin Aspeli
Stephan Richter wrote: > On Thursday 12 March 2009, Martin Aspeli wrote: >> Could I maybe create a custom validator that checks for a magic >> constant? If so, how? I have both a custom field (in the zope.schema >> sense) and a custom widget. > > Yeah. I could swear I implemented this before. A va