[Cubicweb] PYRAMID: Split auth into a subpackage

Christophe de Vienne christophe at unlish.com
Wed Jul 9 16:08:01 CEST 2014


Le 08/07/2014 15:36, Paul Everitt a écrit :
> Another small suggestion...right now the __init__.py has some core stuff in it as well as some auth stuff. SubstanceD (a Zope-like content framework Chris McDonough wrote) splits itself into a bunch of subpackages:
>
>   https://github.com/Pylons/substanced/tree/master/substanced
>
> Each subpackage (e.g. workflow) has its own config.include. SubstanceD then has a top-level config.include that simply includes each of the subpackage includes. Developers can grab the top one to conveniently get everything, or grab only the parts that they want. Which also helps testing.

I had something like that in mind, having an actual example will help.

It may also make the migration path smoother for old applications if we
can deactivate the most disruptive parts.

Christophe



More information about the Cubicweb mailing list