Thanks for extracting the profiling behaviour. I have a few remarks.
> === modified file 'lib/canonical/launchpad/webapp/configure.zcml'
> --- lib/canonical/launchpad/webapp/configure.zcml 2010-06-08 15:57:09 +0000
> +++ lib/canonical/launchpad/webapp/configure.zcml 2010-06-27 09:23:29 +0000
> @@ -13,6 +13,8 @@
> <include file="errorlog.zcml" />
> -->
> <include file="bug-5133.zcml" />
> + <!-- Would be nice to turn this off in production -->
> + <include file="profile.zcml" />
Each env gets its own config. ./configs/testrunner-appserver has ZCML
that registers YUI unittest hooks for example. I think this rule could
be in ./configs/development, and in ~launchpad-pqm/production-configs in
staging and dogfood.
Thanks for extracting the profiling behaviour. I have a few remarks.
> === modified file 'lib/canonical/ launchpad/ webapp/ configure. zcml' launchpad/ webapp/ configure. zcml 2010-06-08 15:57:09 +0000 launchpad/ webapp/ configure. zcml 2010-06-27 09:23:29 +0000 zcml" />
> --- lib/canonical/
> +++ lib/canonical/
> @@ -13,6 +13,8 @@
> <include file="errorlog.
> -->
> <include file="bug-5133.zcml" />
> + <!-- Would be nice to turn this off in production -->
> + <include file="profile.zcml" />
Each env gets its own config. ./configs/ testrunner- appserver has ZCML development, and in ~launchpad- pqm/production- configs in
that registers YUI unittest hooks for example. I think this rule could
be in ./configs/
staging and dogfood.
> === added file 'lib/canonical/ launchpad/ webapp/ profile. py' launchpad/ webapp/ profile. py 1970-01-01 00:00:00 +0000 launchpad/ webapp/ profile. py 2010-06-27 09:23:29 +0000
> --- lib/canonical/
> +++ lib/canonical/
We do not want to add to this deprecated location. I think this would services/ profile
be better located at lib/lp/
> === added file 'lib/canonical/ launchpad/ webapp/ profile. zcml' launchpad/ webapp/ profile. zcml 1970-01-01 00:00:00 +0000 launchpad/ webapp/ profile. zcml 2010-06-27 09:23:29 +0000
> --- lib/canonical/
> +++ lib/canonical/
As above.