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

Sylvain Thénault sylvain.thenault at logilab.fr
Mon Jun 8 17:30:37 CEST 2015


On 08 juin 16:41, Yann Vote wrote:
> >There are no plan I know of to address this issue, but I guess a patch
> >would receive all the attention it deserves.
> 
> Yes. Does anybody have a suggestion for naming this hook ? Sylvain comes
> with 'database_addons' or something like this.
> 
> He thinks we'd rather not use 'pre-' or 'post-' names since they are
> misleading.

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...

-- 
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 mailing list