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

DataPackageManager: Add PASTA DOI specific /dataset/distribution elements to PASTA DOI /dataset/alternateIdentifier quality check #96

Open
servilla opened this issue Dec 13, 2022 · 0 comments
Assignees
Labels
feature New feature medium priority Medium priority

Comments

@servilla
Copy link
Collaborator

servilla commented Dec 13, 2022

The DataPackageManager service adds the PASTA DOI and the DOI URL in the /dataset/distribution element when transforming the Level-0 EML to Level-1 EML. This causes a problem (distribution references to a previous version) when users reuse the EML obtained from PASTA in a new revision and then resubmit the new revision to PASTA.

<distribution id="10.6073/pasta/8d9859b946d6f9114937af3008166dd2" scope="system" system="https://pasta.edirepository.org">
<online>
<url function="information">https://doi.org/10.6073/pasta/8d9859b946d6f9114937af3008166dd2</url>
</online>
</distribution>

PASTA should ensure that any previously added "distribution" elements are not contained within a submitted EML document. This should be added as a new quality check (if simple). Otherwise, to do this efficiently, PASTA could roll this check into the existing "alternateIdentifier" check, which is already a functioning quality check.

@servilla servilla added the feature New feature label Dec 13, 2022
@servilla servilla self-assigned this Dec 13, 2022
@rogerdahl rogerdahl moved this to In progress in Consolidated Issues Oct 18, 2023
@servilla servilla added the EDI label Oct 31, 2023
@servilla servilla changed the title Add PASTA DOI specific /dataset/distribution elements to PASTA DOI /dataset/alternateIdentifier quality check DataPackageManager: Add PASTA DOI specific /dataset/distribution elements to PASTA DOI /dataset/alternateIdentifier quality check Jan 27, 2024
@PASTAplus PASTAplus deleted a comment from rogerdahl May 15, 2024
@servilla servilla added the medium priority Medium priority label May 15, 2024
@servilla servilla removed the EDI label Oct 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature medium priority Medium priority
Projects
Status: In progress
Status: In progress
Development

No branches or pull requests

1 participant