osf.io icon indicating copy to clipboard operation
osf.io copied to clipboard

[ENG-3854] Add management command to sync all DOI metadata

Open Johnetordoff opened this issue 2 years ago • 3 comments

Purpose

Changes

QA Notes

Please make verification statements inspired by your code and what your code touches.

  • Verify
  • Verify

What are the areas of risk?

Any concerns/considerations/questions that development raised?

Documentation

Side Effects

Ticket

https://openscience.atlassian.net/browse/ENG-3854

Johnetordoff avatar Jul 09 '22 23:07 Johnetordoff

@jwalz @mfraezz I've addressed the comments, but one additional thing I had to do was move the test under the api_test directory, otherwise the conftest.py file under osf_tests does not start the celery app for the GHA environment. IT was easier to move the test then to deal with potential test side effects from tampering with the osf_test conftest.py. Other then that should be g2g.

Visibility for Matt these old EZID DOIs should be fixed by this: https://openscience.atlassian.net/browse/ENG-3933

Johnetordoff avatar Jul 28 '22 20:07 Johnetordoff

Visibility for Matt these old EZID DOIs should be fixed by this: https://openscience.atlassian.net/browse/ENG-3933

Do we have confirmation on this? Are we sure the EZID DOIs aren't the 'legacy_doi' dois?

jwalz avatar Jul 29 '22 13:07 jwalz

I assume as long as they Identifiers they will grab their refferent's corresponding client and updating the the DOI via that, so the Datacite client will delete the metadata for those, I believe.

Johnetordoff avatar Jul 29 '22 13:07 Johnetordoff