thoth-pub / thoth

Metadata management and dissemination system for Open Access books
https://thoth.pub
Apache License 2.0
45 stars 9 forks source link

Disseminate to Zenodo #542

Closed rhigman closed 5 months ago

rhigman commented 8 months ago

Zenodo have a rest API which should facilitate a Thoth Dissemination Service workflow, i.e. submission of files and metadata based on Thoth records (comparable to zenodo/zenodo#361).

Of interest both to WP7 (as an archiving platform) and to Thoth Plus (as a hosting platform option).

rhigman commented 7 months ago

A note from WP7 meeting minutes (from @tosteiner ?)

technical precondition: create Thoth community (equiv. to IA collection) within Zenodo as an organisational superstructure, then use that as the home for uploads (either manual or automated)

Sandbox for API testing exists at https://sandbox.zenodo.org/.

tosteiner commented 7 months ago

thanks, @rhigman and yup, that was from me 😄

Commnunity created here: https://zenodo.org/communities/thoth/ - this now allows for Thoth staff members to be added (Zenodo account required) and then be assigned admin rights, and those users can then upload to & curate items in that community.

rhigman commented 7 months ago

Ah, perfect, thanks @tosteiner! :smiley:

rhigman commented 7 months ago

We may also consider publishing dumps of Thoth data further down the line, and Zenodo would be one option for this. So it would be good if the logic implemented here was reusable for this purpose (granular methods, separate client published to pip [if not using an existing third-party client], etc).

tosteiner commented 7 months ago

Re: data dumps, that's a great idea. There are a number of (semi-)automated workflows to facilitate archiving of full GitHub Repos in Zenodo, maybe these can be of use here? See e.g. https://www.lib.uiowa.edu/data/share-and-preserve-your-code/

rhigman commented 6 months ago

Re: data dumps, that's a great idea. There are a number of (semi-)automated workflows to facilitate archiving of full GitHub Repos in Zenodo, maybe these can be of use here? See e.g. https://www.lib.uiowa.edu/data/share-and-preserve-your-code/

I think this is just for the code, rather than the data?

tosteiner commented 6 months ago

hmm, yeah, you might be right - had assumed this would just take a full repo and upload it to Zenodo, so if we added a data dump to repo X, this would also include that data dump?

rhigman commented 6 months ago

Note https://github.com/zenodo/zenodo-rdm/issues/802. Thoth uses the ISO 639-2 "bibliographic" language codes where applicable, rather than the "terminological" ones (both as an underlying representation, and in all relevant outputs). There's a broader question of whether we might need to support the "terminological" versions (where distinct) in any other contexts.