-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Reimplimented recursive downloads #377
Reimplimented recursive downloads #377
Conversation
From playing around with things, it seems like the progress bars mostly look okay when the debug log is not activated. When debug is activated, it keeps wanting to print things during the download causing multiple bars for 1 file to be printed. I will create a new issue for this but I think we should implement what we have since it does work correctly. It also seems like it cannot get the correct total for the files when doing this recursively either. Update: made issue #402 for this |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A small number of minor items.
Please also add a unit test covering the bearer token authentication before we do the final merge.
The functionality of recursive downloads has been restored. When specifying with the -r flag and targetting a dir, all the files will be downloaded within that directory. This functionality currently works however the progress bars are a little funky so that still needs fixing.
Made some updates to bearer_auth.go such as adding copywrite statement, removing old commented out code, and changing types to not be exported. Also changed `dirlisthost` to `collections-url` in the header.
909a26b
to
b488c7d
Compare
Changed to be a draft because now I can make unit tests for this functionality from the merging of #390 |
Marking this as ready for review since the end-to-end tests are currently stalled. See #391 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM after the prior round of changes.
The functionality of recursive downloads has been restored. When specifying with the -r flag and targetting a dir, all the files will be downloaded within that directory. This functionality currently works however the progress bars are a little funky so that still needs fixing.