[BlueBream] automatic namespace detection
Christophe Combelles
ccomb at free.fr
Mon Mar 29 14:06:04 EDT 2010
Tell me if I'm wrong, the two current templates "bluebream_base" and
"bluebream_simple" are nearly the same, except that the latter allows to create
a flat package without namespaces. That's nice, and I also needed it. But now
two similar templates should be maintained, with the risk that any change in one
of them won't be propagated to the other. There is a lot of duplicated code.
I've created a branch that automatically create any number of namespace levels
from the same template:
http://svn.zope.org/bluebream/branches/ccomb-merge-templates/
Then you can call your project "sample", "sample.main", "sample.app.main" or
even anything deeper and it will create the flat or nested structure, and adapt
the values in the templates.
Any comment? Do you think this is interesting to merge?
If yes I will document this behaviour where needed.
Christophe
More information about the bluebream
mailing list