[BlueBream] automatic namespace detection

Christophe Combelles ccomb at free.fr
Thu Apr 1 20:38:50 EDT 2010

Christophe Combelles a écrit :
> Christophe Combelles a écrit :
>> Baiju M a écrit :
>>> Hi Christophe,
>>> On Mon, Mar 29, 2010 at 11:36 PM, Christophe Combelles <ccomb at free.fr> wrote:
>>>> 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.
>>> +1
>>> Oh. this is very good work !
>> thanks
>>> Please change the Getting Started document.  If you find it difficult
>>> to update screenshots, I will do that later.
>> ok
>>> BTW, I have found a small issue and fixed that in that branch, please update
>>> your local copy.  And the test also failing for me, I will try for some time,
>>> otherwise you can do it :)
>> I'll do this tomorrow, I suppose I have to sort the test output
> Merged! I just have to update the website now.

I've updated the documentation and I've cleaned my first implementation. It 
allows again to choose a python package name different from the project name. 
Because with the previous one, I could not directly reproduce the 
ticketcollector scenario (project=ticketcollector, package=tc.collector).
Now the tc.collector tutorial doesn't need much changes.

Please check if the behaviour this is ok for you now


> Christophe
>>> Regards,
>>> Baiju M
>> _______________________________________________
>> bluebream mailing list
>> bluebream at zope.org
>> https://mail.zope.org/mailman/listinfo/bluebream
> _______________________________________________
> bluebream mailing list
> bluebream at zope.org
> https://mail.zope.org/mailman/listinfo/bluebream

More information about the bluebream mailing list