Closed davidorme closed 7 months ago
The problem with solving #57 is that the function in zenodo
and server
need to interact with an external resource. I had the same thing with safedata
which now mocks those interactions. I think that is the way forward here but it's a little bit more involved. Both zenodo
and server
would use the same mocked approach so might as well bundle them.
This PR is to address #102:
zenodo
into its ownserver
moduleserver.upload_gazetteer
funciton toserver.upload_resources
including the project database.safedata_server
.It also documents the previously hidden
show_resources
subcommand and updates the similarsafedata_zenodo show_config
to use the same name.Fixes #102