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

Add methods to S3 class for selecting and archiving CSVs #36

Merged
merged 1 commit into from
Jan 24, 2022
Merged

Conversation

ehanson8
Copy link
Contributor

What does this PR do?

  • Add methods to S3 class to select CSVs and archive the files after processing
  • Update deposit function with new methods and a bucket check at start
  • Remove doi_file_path from config.py and deposit.py
  • Update unit tests and fixtures to account for the updated code

Helpful background context

The test_deposit_s3_upload_failed CLI test was refactored into test_deposit_s3_nonexistent_bucket given that access to the bucket should be determined at the start of the process

How can a reviewer manually see the effects of these changes?

Ensure the unit tests still pass with pipenv run pytest

What are the relevant tickets?

Requires Database Migrations?

NO

Includes new or updated dependencies?

NO

* Add methods to S3 class to select CSVs and archive the files after processing
* Update deposit function with new methods and a bucket check at start
* Remove doi_file_path from config.py and deposit.py
* Update unit tests and fixtures to account for the updated code

* https://mitlibraries.atlassian.net/browse/DLSPP-139
@ehanson8 ehanson8 merged commit 2d2f7b9 into main Jan 24, 2022
@ehanson8 ehanson8 deleted the DLSPP-139 branch January 24, 2022 17:43
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.

None yet

2 participants