[Cubicweb] [postgis] Enable Postgis extension the right way

Adrien Di Mascio adrien.dimascio at logilab.fr
Tue Jun 9 09:00:58 CEST 2015


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 ?

Cheers,
-- 
Adrien Di Mascio - LOGILAB, Paris (France).
Tél: 01.45.32.03.12
Formations - http://www.logilab.fr/formations
Développements - http://www.logilab.fr/services
Gestion de connaissances - http://www.cubicweb.org/



More information about the Cubicweb mailing list