-
Notifications
You must be signed in to change notification settings - Fork 2
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
Support uploading over http(s):// #7
Comments
Using a test repo at https://data.praxisinstitute.org.dev.neuropoly.org/uofc/CANDICE-fMRI-, which is currently running the patch for #3, download anonymously:
|
I tried again to get this working for a few hours but no matter what I tried I couldn't convince git-annex to do it. I learnt it issues a HEAD request for each file. If that returns 200, and the Content-Length matches the expected size, it says "ok". Otherwise, it says "not found". It never tries to issue a PUT or a POST. So I doubt this is supported. I suspect it's a result of there being no server in the world that it could possibly be tested against. GitHub doesn't support it, Apache doesn't support PUTs, GitLab probably doesn't either. If we added annex HTTP uploading support we'd be the first, probably. I'll put in a feature request and see what joeyh says. |
git annex sync --content
/git annex copy --to
over http(s)://
Feature request/request for clarification: https://git-annex.branchable.com/forum/HTTP_uploads/?updated |
This is a wontfix:
(I lightly disagree: the One True Way is |
This is a follow up to #3: filling in the blanks from https://git-annex.branchable.com/tips/setup_a_public_repository_on_a_web_site/, I thought that only
git annex get
worked with http remotes. But now I think that was premature.Investigate and make
git-annex
uploading work over http remotes.Specifically this means these commands should work:
git annex sync --content
git annex copy --to origin
The text was updated successfully, but these errors were encountered: