NASA-PDS / doi-service

Service and tools for generating DOIs for PDS bundles, collections, and data sets
https://nasa-pds.github.io/doi-service
Other
2 stars 3 forks source link

Update Action Addition #288

Closed collinss-jpl closed 2 years ago

collinss-jpl commented 2 years ago

πŸ—’οΈ Summary

Another hefty set of changes in this PR, apologies in advance πŸ™‡

This PR modifies the available actions in the DOI workflow to add an update action to take the place of draft. The update action may be used to update the metadata fields, including PDS identifier, for any record with a DOI already assigned to it. Any requests without an associated DOI are rejected by the update action.

This branch also introduces a number of updates/fixes to support the new update action, including:

βš™οΈ Test Data and/or Report

Unit tests have been added for the update request, as well as for some other utilities that never had a proper test suite (like pds4_util.py). Existing unit tests have also been updated to accommodate tox.log the changes made by this PR.

♻️ Related Issues

Resolves #278 Resolves #279