Le 20/09/2010 00:04, Ilshad Khabibullin a écrit : > (I wrote about .zcml files) > > 2010/9/20 Ilshad Khabibullin <astoon.net <http://astoon.net>@gmail.com > <http://gmail.com>> > > Now we have (in trunk) dublication in etc/ - two absolutely > identical files. Let's discuss about it. > > When I described how I doing, really, I'm doing two different files, > and it helps me to do not create too complex zcml with many > "conditions". This just conveniently. > > For example, it can be more these files (3 instead of 2) when we > need fully tested staging site, and etc. Also, "manager" principal > turned on, often, in deploy mode to setup site in first time. Also, > deploy and debug modes have different ports, usually. And all this - > under version control systems, let's do not forget about this. > > But I do not insist that it must be in the standard template. Maybe > it's not everyone like that. And in any case we should not allow > dublication in this very important package, because dublication > looks ugly anyway...
we have several options: - <include deploy.zcml> from debug.zcml to avoid duplication - or add a note in the debug.zcml saying this file can be customized for debug (and maybe a minimal customization) - or both - or remove the debug file and keep just a site.zcml btw, for point 2, we could remove the admin manager from the deploy.zcml, and just keep it in debug. I don't like having the manager password for deployment in a versionned file because people can forget to remove it. That would mean we could authenticate as global manager only in development mode. > > 2010/9/19 Christophe Combelles <[email protected] <mailto:[email protected]>> > > Le 18/09/2010 21:34, Ilshad Khabibullin a écrit : > > +1 for bluebream.zcml :) > > > > 2010/9/18 Baiju M <[email protected] > <mailto:[email protected]> <mailto:[email protected] > <mailto:[email protected]>>> > > > > On Fri, Sep 17, 2010 at 4:02 PM, Christophe Combelles > <[email protected] <mailto:[email protected]> > > <mailto:[email protected] <mailto:[email protected]>>> wrote: > > > Le 17/09/2010 07:41, Baiju M a écrit : > > >> On Fri, Sep 17, 2010 at 3:49 AM, Christophe > > Combelles<[email protected] <mailto:[email protected]> > <mailto:[email protected] <mailto:[email protected]>>> wrote: > > >>> I've made the changes. Could you have a look at : > > >>> > > >>> http://svn.zope.org/bluebream/branches/ccomb-zcml-reorg/ > > >> > > >> This looks great. > > >> > > >> +1 for merging to trunk. > > merged! > > > >> > > >> We need to update "Getting Started" documentation also: > > >> http://bluebream.zope.org/doc/1.0/gettingstarted.html > > >> > > >> Should we change "require.zcml" to "requirements.zcml" > > >> or "dependencies.zcml" ? > > > > > > bluebream.zcml ? > > > > I am fine with this also. Please decide :) > > > > Regards, > > Baiju M > > _______________________________________________ > > bluebream mailing list > > [email protected] <mailto:[email protected]> > <mailto:[email protected] <mailto:[email protected]>> > > https://mail.zope.org/mailman/listinfo/bluebream > > > > > > > > > > -- > > Ilshad R. Khabibullin > > http://astoon.zwiki.org > > +7 922 600 56 06 > _______________________________________________ > bluebream mailing list > [email protected] <mailto:[email protected]> > https://mail.zope.org/mailman/listinfo/bluebream > > > > > -- > Ilshad R. Khabibullin > http://astoon.zwiki.org > +7 922 600 56 06 > > > > > -- > Ilshad R. Khabibullin > http://astoon.zwiki.org > +7 922 600 56 06 _______________________________________________ bluebream mailing list [email protected] https://mail.zope.org/mailman/listinfo/bluebream
