Ilshad Khabibullin a écrit : > -1 > > I think it is good to use /tempates. > Otherwise - we need use recipe zc.zope3recipe and write zcml in > buildout.cfg. > > Why? > > Note, generally, we need use different size.zcml and zope.conf in > different installations: development and production. Even we use 3-4 > variants (production, staging site, developer).
I'm ok for keeping the templating but we must make it useful. It currently is not. I have a suggestion for using it in my next message. Christophe > > I found this practice (collective.recipe.template) is better then > writing site.zcml in *.cfg - files. > For example, see http://github.com/astoon/bbru > > 2010/4/22 Adam GROSZER <[email protected] <mailto:[email protected]>> > > Hello Baiju, > > I guess the simpler the better. IOW KISS. > > Thursday, April 22, 2010, 6:33:29 PM, you wrote: > > BM> Hi, > BM> Currently etc/zope.conf file is generated from a template: > BM> templates/zope_conf.in <http://zope_conf.in> > BM> (using collective.recipe.template recipe) > > BM> These are the values used in the template, which is defined in > [config] part: > > BM> [config] > BM> site_zcml = etc/site.zcml > BM> blob = var/blob > BM> filestorage = var/filestorage > BM> log = var/log > > BM> Since all of these are relative paths, I think we can directly > give it > BM> in site.zcml > BM> and avoid the template. So, there won't be any "templates" > directory > BM> at the top-level by default and we will generate site.zcml inside > BM> "etc" directory. > > BM> Any comments ? > > BM> Regards, > BM> Baiju M > BM> _______________________________________________ > BM> bluebream mailing list > BM> [email protected] <mailto:[email protected]> > BM> https://mail.zope.org/mailman/listinfo/bluebream > > -- > Best regards, > Adam GROSZER mailto:[email protected] > <mailto:[email protected]> > -- > Quote of the day: > The universe is full of magical things patiently waiting for our > wits to grow sharper. > - Eden Phillpotts > > _______________________________________________ > 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 > > > ------------------------------------------------------------------------ > > _______________________________________________ > bluebream mailing list > [email protected] > https://mail.zope.org/mailman/listinfo/bluebream _______________________________________________ bluebream mailing list [email protected] https://mail.zope.org/mailman/listinfo/bluebream
