cubicweb_seda/makefile
author Denis Laxalde <denis.laxalde@logilab.fr>
Tue, 19 Jun 2018 15:42:06 +0200
changeset 2956 d945aaa3f821
parent 2388 b8fc498d0227
permissions -rw-r--r--
Make generation of xml:id attribute configurable through an adapter The idea is to have the generation of xml:id attribute configurable based on entity context. So we create an entity adapter IXmlId that default to the current implementation. This will be extended in cubicweb-saem_ref where we'd want to use the ARK identifier to produce this xml:id attribute. In profile_generation module, we rename eid2xmlid function as xmlid and make it accept an entity.


all:
	python xsd2yams.py > schema/seda2.py
	python xsd2uicfg.py | grep -v 'unsupported merge' | grep -v 'extending cards' > views/uicfg.py
	python xsd2entities.py | grep -v 'unsupported merge' | grep -v 'extending cards' > entities/generated.py

lcsv:
	python xsd2concepts.py migration/data