-
Notifications
You must be signed in to change notification settings - Fork 15
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
git-annex: there is no available git remote named "amazon" #18
Comments
However, when running the command without "--content amazon", it seems to work:
|
This does not upload the files to the remote. You need to run |
Try without specifying the remote |
8.2 i did try without specifying amazon, but it didn’t upload either |
output of
|
Maybe also try to enable it (it should be enabled by default, but who knows).
|
that's been my nightmare command for the past 7 days (#33)
|
and git-annex list:
|
i'm beginning to think that there might be something wrong with my installed version of git-annex:
@Drulex what does your output says at the line "remote types"? does yours include "amazon" |
Sounds like a
It does. |
wow, this is crazy. Does it mean that the "brew" version of git-annex 8 for macOS does not include the same features as the linux version you are using? did you install it via conda? If so, and if this is indeed the problem, that's annoying because conda version of git-annex 8 does not cover macOS (AFAIK) |
I'm starting to like the built-in LFS feature of Github a lot more.. |
The program can be built with different options, S3 remote support being on of them. I you use the pre-built binary from your package manager you would need to check with what options it was built (evidently it's missing S3). If you are brave enough you can build from source https://git-annex.branchable.com/install/fromsource/, but I wouldn't consider this acceptable for a user who just wants to download the files. I guess I am lucky that my package manager (Arch based Linux) included the build with S3 support. |
100% agreed |
😢
git annex claims to be future-proofed (https://git-annex.branchable.com/future_proofing/) but that only seems to be true if you are a single person using multiple systems that are all running the same OS. It's not designed for with pull requests or branches or collaboration in mind. datalad is attempting to corral all this, adding helpful auto-enable flags and settings, but IMO they are just adding another layer to the problem. Instead of vendoring git-annex they just say it's up to the user to get git-annex installed, so all of these incompatibility issues will transfer there, and you need to worry about using compatible versions of datalad, too.
Yeah, this is kind of what I've been saying from the start. The design of Git-LFS is intrinsically simpler and more stable. But I think we should keep on with git-annex for now because it is what other neuroimaging teams are using. And just so we can get some real world experience trying to share these datasets. I think it would be useful to document all the problems we run into with it. I have some notes started but they're mostly just lots of question marks and confused log samples; a wiki where we had the issues organized would be helpful to raise with the larger neuroimaging community. Another solution we could reconsider is running our own git server. I think git-annex is probably a lot more stable using ssh remotes rather than any of the "special" remotes since that's its core use-case. The downside is that it's more expensive (~5x when we priced it out) and there's no way to put a CDN in front of it (so we can't reduce the cost even more). Or, we could run our own git server with our own LFS server aside. By the way, I found https://github.com/meltingice/git-lfs-s3, which lets you use S3 via the LFS API, sidestepping the annex API. So then we'd sidestep Github's expensive data transfer pricing but still be able to use Github. I think. We'd have to set it up. But it itself might be unmaintained and hard to install reliably, so maybe it's no better, and that won't be compatible with datalad. 🤷. |
SSH remote is great for contributors, but what would be the preferred configuration to have public reads and private writes for a filesystem remote on a VPS? I can't find any info online. Can we serve a read-only repo via (looked back at the spreadsheet and we can get a vps at OVH with unlimited traffic and 660GB storage for 75CAD/mo) |
I thought a little about No. We can't.I
Of duh, of course. Yes, that's a major stumbling block. I thought a little bit about this. The problem is that git-annex's ssh remote is implemented as an ssh command (much like rsync), so it only works over Another way would be to set up a |
I have a long-term blue-sky solution: fork git itself and add the hook in there. I am thinking it should be implemented as
downloads all the trees, branches and maybe tags but skips objects. Then
would download the objects, but only those objects needed for. Since Add a i.e. my proposal is to take the algorithm git-annex and git-lfs both glue awkwardly onto the side of git and push it down into git itself. Throw away the headache of extra servers and the unnecessary features like We can resurrect the other features, like cost-effective global distribution, by porting the git annex special remote code to become git special remotes. It's perfectly possible to do |
This is Homebrew/homebrew-core#60505. I've patched it. Just waiting for homebrew to accept the patch. |
@kousu i'm trying to push my changes with git annex, following the recommendations here, but I am getting the following error:
Full details
The text was updated successfully, but these errors were encountered: