[PATCH saem_ref] [migration] Add hack to go through seda 0.8 migration

Sylvain Thénault sylvain.thenault at logilab.fr
Thu Mar 9 11:18:00 CET 2017



Le 09/03/2017 à 11:04, Denis Laxalde a écrit :
> Sylvain Thenault a écrit :
>> # HG changeset patch
>> # User Sylvain Thénault <sylvain.thenault at logilab.fr>
>> # Date 1489006188 -3600
>> #      Wed Mar 08 21:49:48 2017 +0100
>> # Node ID 4527676c9f9b22f905150cc6222b9b9c407d7bdf
>> # Parent  38ce60fdedd73a34567763fbdb57d466277a7735
>> [migration] Add hack to go through seda 0.8 migration
>>
>> since it only adds a few schemes, default ark generator reuse already
>> attributed values,
>> raising database error.
>
> A hack inside a monkeypatch! Not sure this is the best idea... How about
> making said function extensible?
>
because that requires going through the all stack call in seda and
saem_ref (3 or 4 functions involved), vs this change that will go away
quickly after 0.8 migration is done.

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