-
Notifications
You must be signed in to change notification settings - Fork 0
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
Pass credentials to git-annex for downloading embargoed text assets #21
Conversation
@yarikoptic The tests are failing (both here and on my Mac) because, for some reason, |
@yarikoptic Nevermind; it was something I did. |
@yarikoptic The tests are currently failing because addurl can't download the test embargoed text file, and the error message just says "Unauthorized." I can get this to work using your script, both for the production Archive and staging, but I can't find any meaningful differences between that script and what I'm doing in this PR. Could you take a look at my PR and sanity-check it? |
nothing immediate come to mind (you did produce providers config etc...). I will keep eyeballing -- but would it probably be possible to just add a debug invocation like datalad -l debug download-url https://api-staging.dandiarchive.org/api/assets/6e8d374b-cfeb-498c-90d8-17aa533a4ef2/download/ before feeding that |
good news -- reproduced locally, so will try to debug.... |
oh -- it is the removing it proceeds forward until
which I didn't troubleshoot further |
@yarikoptic I can't find why we decided to use
I can see why we would have originally wanted to set this, but I don't think that reason applies any longer — that is, assuming that:
So, unless there's another special case that |
See #21 (comment) and following
@yarikoptic The |
re re As for "undo"ing that -- actually have to ask @joeyh since nothing straightforward comes to mind [*]: https://git-annex.branchable.com/forum/how_to___34__move__34___URL_between_remotes__63__/ [*] I guess, besides modifying |
could you please for now just add |
@yarikoptic Done: 9f5adba |
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## main #21 +/- ##
==========================================
- Coverage 75.64% 74.59% -1.05%
==========================================
Files 17 17
Lines 2681 2712 +31
Branches 589 594 +5
==========================================
- Hits 2028 2023 -5
- Misses 482 519 +37
+ Partials 171 170 -1 ☔ View full report in Codecov by Sentry. |
Closes #19.