NASA-PDS / deep-archive

PDS Open Archival Information System (OAIS) utilities, including Submission Information Package (SIP) and Archive Information Package (AIP) generators
https://nasa-pds.github.io/deep-archive/
Other
7 stars 4 forks source link

Resolve #7 #104

Closed nutjob4life closed 3 years ago

nutjob4life commented 3 years ago

📜 Summary

This resolves #7 by providing a new executable, pds-deep-registry-archive that uses the PDS Registry and PDS API with the PDS API client to generate AIP transfer and checksum manifests as well as SIP manifests without needing any local PDS data files; instead all information is assembled from a Registry. This also removes the --offline and related options from pds-deep-archive. It also adds the documentation on how to use pds-deep-registry-archive.

🩺 Test Data and/or Report

Running tests at level 1
Running zope.testrunner.layer.UnitTests tests:
  Set up zope.testrunner.layer.UnitTests in 0.000 seconds.
  Running:
    15/20 (75.0%) test_logging_arguments (pds.aipgen.tests.test_utils.ArgumentTestCase)usage: 

  Ran 20 tests with 0 failures, 0 errors, 0 skipped in 0.730 seconds.
Tearing down left over layers:
  Tear down zope.testrunner.layer.UnitTests in 0.000 seconds.

🧩 Related Issues

nutjob4life commented 3 years ago

I love hearing "nothing to stand in the way of a merge" @collinss-jpl 👍

I did further commits to address the typos and add more logging anyway. If someone wants to review those, grand. Otherwise, will someone merge, perhaps @jordanpadams @tloubrieu-jpl?