Closed blixhavn closed 8 years ago
@jirikuncar What's your stance on the exec
call in this PR? It breaks QuantifiedCode, but I'm hesitant to rewrite my script to avoid it. As this is just a utility script, I don't see the imminent security risk.
scripts/utils_create_xml.py
is too generic a name for my taste. DoJSON is meant to be doing lots of things, marc21
is just one of contrib
things. We may have later ead
, pcdm
, and whatnot other parsers. Hence the helper scripts should be at the very least named in an appropriate manner, e.g. marc21_add_order
, marc21_filter_fields
, and whatnot. Also, they may be perhaps better living under the contrib
directory, since they are not strictly speaking DoJSON-wide applicable, but rather contrib/marc specific...
@tiborsimko it can live under /scripts/contrib/marc21/...
but definitely not inside /dojson
Python package.
IMHO these utility functions can live outside the repo. If there is a wider interest we can re-open this PR.
Signed-off-by: Øystein Blixhavn oystein@blixhavn.no