This PR rolls up a number of fixes and improvements, mainly focused on the user-facing action classes (reserve, release, etc.). These comprise:
Cleanup of help usage documentation to be more accurate and intuitive
Better automatic generation of the landing page URL for a DOI record. Now supports both PDS4 and PDS3 identifiers.
Better parsing of PDS identifiers from a provided URL. Now supports parsing PDS3 ids in addition to LIDVIDs.
Better support for generating the correct service provider endpoint (HTTP verb + URL) based on the status of the DOI getting submitted. This should fix an issue where records could not be released prior to having a DOI reserved in DataCite.
Added support for "Document" product type, and overall improvement of the handling of product type fields.
⚙️ Test Data and/or Report
Unit tests have been added for the new functions added or moved to the general_util.py module.
tox.log
🗒️ Summary
This PR rolls up a number of fixes and improvements, mainly focused on the user-facing action classes (reserve, release, etc.). These comprise:
⚙️ Test Data and/or Report
Unit tests have been added for the new functions added or moved to the
general_util.py
module. tox.log♻️ Related Issues
Fixes #262 Fixes #266