Merge branch 'master' of ssh://git-annex.branchable.com

This commit is contained in:
Joey Hess 2012-11-08 20:39:45 -04:00
commit 6eee4bd5f1
8 changed files with 71 additions and 1 deletions

View file

@ -0,0 +1,8 @@
[[!comment format=mdwn
username="http://www.dbruhn.de/"
nickname="Dominik"
subject="comment 2"
date="2012-11-08T14:13:00Z"
content="""
Actually this happens when using the assistant.
"""]]

View file

@ -0,0 +1,14 @@
[[!comment format=mdwn
username="https://www.google.com/accounts/o8/id?id=AItOawkywesyg6tKBZcmxJ2EMUO89DZL1LZ7Sng"
nickname="Peter"
subject="comment 5"
date="2012-11-08T10:32:26Z"
content="""
Great!
Everything is working now, unfortunately the package in cabal and the prebuild linux packages are one day too old.
Are you going to release a newer build soon?
/ptx
"""]]

View file

@ -6,7 +6,7 @@ locally paired systems, and remote servers with rsync.
Help me prioritize my work: What special remote would you most like
to use with the git-annex assistant?
[[!poll open=yes 15 "Amazon S3 (done)" 9 "Amazon Glacier" 7 "Box.com" 61 "My phone (or MP3 player)" 15 "Tahoe-LAFS" 5 "OpenStack SWIFT" 22 "Google Drive"]]
[[!poll open=yes 15 "Amazon S3 (done)" 10 "Amazon Glacier" 7 "Box.com" 61 "My phone (or MP3 player)" 15 "Tahoe-LAFS" 5 "OpenStack SWIFT" 23 "Google Drive"]]
This poll is ordered with the options I consider easiest to build
listed first. Mostly because git-annex already supports them and they

View file

@ -0,0 +1,15 @@
This seems like something that should be completely obvious, but I've been trying to get it working for a while without success.
I have a few machines (at least 3) at different locations. I want them all to be synced with a remote server that I have. I've installed git-annex on the server, and setting up the assistant on one of the machines, I can create the remote repository, and all seems to work (it spits out info about syncing... though I don't have any easy way of checking if it's working, as all I have is the one client).
It says in the webapp that setting up a remote git repository in transfer mode will make it easy to have other clients. But I'm wondering how to set that up. I tried just adding the same server with the same path on another machine, but it doesn't seem to be syncing, and I imagine that it is trying to create a fresh repo there instead of syncing with an existing one.
So, how do I set this up? I don't mind adding git remotes, ssh keys, etc, manually, but I haven't been able to figure out what I should be doing! My end goal is to have one annex that is synced between the many computers (ala Dropbox, as the assistant is supposed to be).
Note that the configuration of the test machines:
client 1 - debian, git-annex built from current cabal
server - debian, git-annex from apt
client2 - mac osx, git-annex built from current cabal
Thanks,
Daniel

View file

@ -0,0 +1,10 @@
[[!comment format=mdwn
username="http://joeyh.name/"
ip="4.152.108.27"
subject="comment 1"
date="2012-11-08T21:29:26Z"
content="""
Just adding the same server with the same path is the right thing to do, it will use the existing repo.
Probably the problem you're having is that one client doesn't know when the other client has sent data to the server. I've recently been adding XMPP (Jabber) support to deal with that. That is not yet in a released version of git-annex, but it is available in git master.
"""]]

View file

@ -0,0 +1,2 @@
I want to use the annex assistant instead of the command line. Which is the recommended method to check out a file that I want to edit?

View file

@ -0,0 +1,8 @@
[[!comment format=mdwn
username="https://www.google.com/accounts/o8/id?id=AItOawmaXxj2aPZrtRkWzwswTNep8hFif1cXykw"
nickname="Erik"
subject="Follow-up: check-in"
date="2012-11-08T08:59:14Z"
content="""
And the obvious follow-up question: How to I check in and sync the file that I just edited? (Note: I want to avoid the command line)
"""]]

View file

@ -0,0 +1,13 @@
I just started using the assistant on an existing annex. I fire up the assistant like so:
$ git annex webapp
Everything syncs and looks to be working fine. In another terminal, I then create a new file:
$ touch testfile.txt
The assistant sees that file, immediately adds it and syncs. Ok. So now I want to edit that file.
$ git annex unlock testfile.txt
As soon as I unlock the file, the assistant re-adds it to the annex and syncs, preventing me from editing the file. How can I edit files with the assistant running?