[Cubicweb] [postgis] Enable Postgis extension the right way
sylvain.thenault at logilab.fr
Tue Jun 9 09:33:28 CEST 2015
On 09 juin 09:00, Adrien Di Mascio wrote:
> Hi all,
> Sylvain Thénault <sylvain.thenault at logilab.fr> writes:
> > The point is that we've db-create and db-init commands, with [pre/post]create.py
> > triggered during db-init. While it may sounds appealing to use postinit.py,
> > that fact that it will be called during db-create will make the whole thing even
> > more confusing...
> What about adding custom events (hooks ?) : pre/post-db-create,
> pre/post-db-init, maybe also pre/post-migration ?
Huuum, that's an idea. On my side I feel like the [pre/post]create.py file is
pretty convenient and would keep on going that way for such needs, but I would
be happy to hear other's opinion.
Sylvain Thénault, LOGILAB, Paris (01.45.32.03.12) - Toulouse (05.62.17.16.42)
Formations Python, Debian, Méth. Agiles: http://www.logilab.fr/formations
Développement logiciel sur mesure: http://www.logilab.fr/services
CubicWeb, the semantic web framework: http://www.cubicweb.org
More information about the Cubicweb