Skip to content
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

zenodo: add metadata on deposit #1957

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

Lilykos
Copy link
Contributor

@Lilykos Lilykos commented Nov 20, 2020

No description provided.

@Lilykos Lilykos changed the title Zenodo metadata zenodo: add metadata on deposit Nov 23, 2020
@Lilykos Lilykos force-pushed the zenodo-metadata branch 5 times, most recently from 951c500 to 96fbf18 Compare November 24, 2020 01:13
@Lilykos Lilykos marked this pull request as ready for review November 24, 2020 09:26
@Lilykos Lilykos force-pushed the zenodo-metadata branch 2 times, most recently from 3287ecc to 0bcac52 Compare November 24, 2020 14:03
@Lilykos Lilykos force-pushed the zenodo-metadata branch 4 times, most recently from fe442c0 to 191eb7c Compare November 26, 2020 16:29
@pamfilos pamfilos closed this Dec 4, 2020
@pamfilos pamfilos reopened this Dec 4, 2020
* updates the config, each user has access to their Zenod ccount/token
* creates deposit, with metadata
* uploads files to deposit
* integration tests
* closes cernanalysispreservation#1938
* closes cernanalysispreservation#1934

Signed-off-by: Ilias Koutsakis <[email protected]>
* adds serializers/validation for metadata input
* adds unit tests for zenodo serializer
* closes cernanalysispreservation#1952

Signed-off-by: Ilias Koutsakis <[email protected]>
* adds the task results to the record
* addresses cernanalysispreservation#1970

Signed-off-by: Ilias Koutsakis <[email protected]>
def validate_files(self, data, **kwargs):
"""Check if the files exist in this deposit."""
from cap.modules.deposit.api import CAPDeposit
rec = CAPDeposit.get_record(self.recid)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Move to __init__ so it runs only one

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants