cioos-siooc / ckan

CKAN is an open-source DMS (data management system) for powering data hubs and data portals. CKAN makes it easy to publish, share and use data. It powers datahub.io, catalog.data.gov and europeandataportal.eu/data/en/dataset among many other sites.
http://ckan.org/
Other
2 stars 4 forks source link

backup harvesters #213

Closed fostermh closed 3 months ago

fostermh commented 9 months ago

Automate the backup of harvester configs. no need to keep it secret as the API exposes them anyway.

output of api action harvest_source_list is missing some fields that harvest_source_create requires.

specifically: name and owner_org. type needs to be renamed source_type.

see https://github.com/ckan/ckanext-harvest/blob/9fb44f79809a1c04dfeb0e1ca2540c5ff3cacef4/ckanext/harvest/logic/action/get.py#L125

https://github.com/ckan/ckanext-harvest/blob/9fb44f79809a1c04dfeb0e1ca2540c5ff3cacef4/ckanext/harvest/logic/action/create.py#L29

fostermh commented 7 months ago

better done as a db dump. work done in private repo