launchpad-dev team mailing list archive
-
launchpad-dev team
-
Mailing list archive
-
Message #05966
I Hate ZCML
-
To:
Launchpad Community Development Team <launchpad-dev@xxxxxxxxxxxxxxxxxxx>
-
From:
Jeroen Vermeulen <jtv@xxxxxxxxxxxxx>
-
Date:
Sat, 04 Dec 2010 00:18:01 +0700
-
User-agent:
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.12) Gecko/20101027 Thunderbird/3.1.6
Thought that subject line would get your attention. :-)
I spend far too much of my life waiting for ZCML processing. And it
makes me wonder: is there any particular reason why
execute_zcml_for_scripts includes browser zcml?
At least that's what it looks like when I log what goes through
zope.configuration.xmlconfig.include. I can't really imagine the stuff
in lib/lp/*/browser/configure.zcml having a legitimate function in
script runs. Could we save time by skipping it?
Jeroen
Follow ups