Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Resolve #111 #113

Merged
merged 1 commit into from
Jun 3, 2021
Merged

Resolve #111 #113

merged 1 commit into from
Jun 3, 2021

Conversation

nutjob4life
Copy link
Member

📜 Summary

Merging this might just resolve #111 by making this repository (which pds-predated the pds-template-repo-python) look more pds-like the pds-template-repo-python. This includes:

  • Ripping out all of zc.buildout
  • Replacing the buildout recipes for automated testing and documentation generation with setup.py commands
  • Installing and configuring Versioneer
  • Updating the docs to reflect all this
  • Testing to see if it all still works after all this

🩺 Test Data and/or Report

$ python3 -m venv venv
$ venv/bin/python setup.py develop

$ venvbin/python setup.py test

test_logging_arguments (pds.aipgen.tests.test_utils.ArgumentTestCase) ... usage: 
ok
test_lid_vid_retrieval (pds.aipgen.tests.test_utils.BundleParsingTestCase) ... ok
test_getDigest (pds.aipgen.tests.test_utils.HashingTestCase)
Ensure getDigest works on URLs and various hashing algorithms ... ok
test_getMD5 (pds.aipgen.tests.test_utils.HashingTestCase)
Ensure getMD5 works on file streams ... ok
test_invalid_url (pds.aipgen.tests.test_utils.URLValidatorTest)
Ensure an invalid URL is caught early ... ok
test_state (pds.aipgen.tests.test_utils.URLValidatorTest)
Ensure the state of URL checking is consistent ... ok
test_label_url (pds.aipgen.tests.test_functional.LADEESIPTest)
Test if the label of a SIP manifest has the right ``manifest_url`` ... 👀 Cannot parse XML document at «/Users/kelly/Documents/Clients/JPL/PDS/Development/pds-deep-archive/src/pds/aipgen/tests/data/ladee_test/mission_bundle/xml_schema/empty.xml»; ignoring it
ok
test_sip (pds.aipgen.tests.test_functional.LADEESIPTest)
Test if a SIP manifest works as expected ... ok
test_manifests (pds.aipgen.tests.test_functional.LADEAIPTest)
See if the AIP generator makes the two manifest files ... ok
test_label_url (pds.aipgen.tests.test_functional.InsightAllSIPTest)
Test if the label of a SIP manifest has the right ``manifest_url`` ... ok
test_sip (pds.aipgen.tests.test_functional.InsightAllSIPTest)
Test if a SIP manifest works as expected ... ok
test_manifests (pds.aipgen.tests.test_functional.InsightAllAIPTest)
See if the AIP generator makes the two manifest files ... ok
test_label_url (pds.aipgen.tests.test_functional.InsightLatestSIPTest)
Test if the label of a SIP manifest has the right ``manifest_url`` ... ok
test_sip (pds.aipgen.tests.test_functional.InsightLatestSIPTest)
Test if a SIP manifest works as expected ... ok
test_manifests (pds.aipgen.tests.test_functional.InsightLatestAIPTest)
See if the AIP generator makes the two manifest files ... ok
test_label_url (pds.aipgen.tests.test_functional.SecondaryCollectionSIPTest)
Test if the label of a SIP manifest has the right ``manifest_url`` ... 👀 Cannot parse XML document at «/Users/kelly/Documents/Clients/JPL/PDS/Development/pds-deep-archive/src/pds/aipgen/tests/data/secondary_test/mission_bundle/xml_schema/empty.xml»; ignoring it
ok
test_sip (pds.aipgen.tests.test_functional.SecondaryCollectionSIPTest)
Test if a SIP manifest works as expected ... ok
test_manifests (pds.aipgen.tests.test_functional.SecondaryCollectionAIPTest)
See if the AIP generator makes the two manifest files ... ok
test_label_url (pds.aipgen.tests.test_functional.LADEESIPWithBadBaseURLTest)
Test if the label of a SIP manifest has the right ``manifest_url`` ... ok
test_sip (pds.aipgen.tests.test_functional.LADEESIPWithBadBaseURLTest)
Make sure that the SIP generation fails with a URLError due to a non-existent base URL ... ok

----------------------------------------------------------------------
Ran 20 tests in 0.738s

OK
$ echo \U+1F389
🎉

🧩 Related Issues

@jordanpadams jordanpadams merged commit a479999 into master Jun 3, 2021
@jordanpadams jordanpadams deleted the i111-template-repo-retrofit branch June 3, 2021 00:43
jordanpadams added a commit that referenced this pull request Dec 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Retrofit pds-deep-archive to use pds python template
2 participants