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 #82: standardize on Unix path sep during bundle comprehension #83

Closed nutjob4life closed 3 years ago

nutjob4life commented 3 years ago

📜 Summary

During the comprehension step, platform-native paths were recorded in the database built to model the important relationships and parts of the bundle. Those platform-native paths were then used "as-is" in URL construction and other contexts, which broke on Windows which uses a path separator different from URLs, etc.

🔬 Test Data

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

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

🧬 Related Issues