A new generic mechanism to be able to configure a harvest backend and its associated sources (extra_configs). This is mostly a copy of the filters mechanism with a few tweaks. We will be able to reuse this for https://github.com/ecolabdata/ecospheres/issues/304.
An extra config remote_url_prefix for CswIso19139DcatBackend: if set, it will try to compute the remote_url with this prefix followed by the dct:identifier found in FOAF.isPrimaryTopicOf.
Fix https://github.com/ecolabdata/ecospheres/issues/347
This adds:
extra_configs
). This is mostly a copy of thefilters
mechanism with a few tweaks. We will be able to reuse this for https://github.com/ecolabdata/ecospheres/issues/304.remote_url_prefix
forCswIso19139DcatBackend
: if set, it will try to compute theremote_url
with this prefix followed by thedct:identifier
found inFOAF.isPrimaryTopicOf
.Bonus: removedNope, they're used inharvest.filters
and its tests that do not seem used anymore https://github.com/opendatateam/udata/commit/2853142ca9884eea061d0f1411cd355c111d73f1.udata-ckan
🙈 https://github.com/opendatateam/udata-ckan/blob/4deec4986e231ad4bad4e5d95867897bdec6a0a3/udata_ckan/schemas/ckan.py#L4