-
Notifications
You must be signed in to change notification settings - Fork 52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Snapshots #1295
base: main
Are you sure you want to change the base?
Snapshots #1295
Conversation
Paused until the new year, need to look more closely at how metadata is updated and passed |
Merged main to branch, updated tests and resolved conflicts. |
Is this for 1.14 or 1.15? |
1.15 |
@@ -43,6 +43,7 @@ def export_to_zenodo(access_token, extra_metadata = {}) | |||
metadata.merge!(extra_metadata.to_h.deep_symbolize_keys) | |||
|
|||
#FIXME: this is a quick hack | |||
metadata[:title] = 'not set' if metadata[:title].blank? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The Zenodo export needs thinking about, because the snapshot title/description may not be what you want to be the title/description of the Zenodo entry (currently it would be the title/description of the resource being snapshotted).
Added custom title and description to snapshots, and the option to edit them as long as they don't have a DOI assigned.