forum/How to set up two assistants with one shared transfer repository?git-annexhttp://git-annex.branchable.com/forum/How_to_set_up_two_assistants_with_one_shared_transfer_repository__63__/git-annexikiwiki2013-11-27T22:47:37Zcomment 1http://git-annex.branchable.com/forum/How_to_set_up_two_assistants_with_one_shared_transfer_repository__63__/comment_1_bedaf308cfc70b9e751914a400ebcbc2/joeyh.name2013-11-27T22:47:37Z2012-11-08T21:29:26Z
<p>Just adding the same server with the same path is the right thing to do, it will use the existing repo.</p>
<p>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.</p>
comment 2http://git-annex.branchable.com/forum/How_to_set_up_two_assistants_with_one_shared_transfer_repository__63__/comment_2_d665b1514253c8aa487ebf8b2728e3b1/Daniel2013-11-27T22:47:37Z2012-11-09T17:49:32Z
<p>The master is segfaulting on one of my machines (the mac), but XMMP sounds good in general.</p>
<p>In the meantime - does git annex sync do what the assistant does? Or is there a command to tell the assistant to check for remote changes? (or a way to get it to auto-poll)</p>
comment 3http://git-annex.branchable.com/forum/How_to_set_up_two_assistants_with_one_shared_transfer_repository__63__/comment_3_aef42387a3673ab6710fb23e878d7e17/joeyh.name2013-11-27T22:47:37Z2012-11-13T17:57:49Z
<p>I recently dealt with a segfault caused by a bug in the haskell gnutls library. It could be that's what you were seeing. It's fixed in gnutls (>= 0.1.4)</p>
<p>Yes, you can run <code>git annex sync</code> by hand. It does the same syncing of the git repository that the assistant does. I don't think making the assistant poll is a good idea.</p>
Simplifying this kind of setuphttp://git-annex.branchable.com/forum/How_to_set_up_two_assistants_with_one_shared_transfer_repository__63__/comment_4_bfbcc041db472f4808979e6b3d7c4be2/Alexandre2013-11-27T22:47:37Z2012-12-10T14:33:08Z
<p>Maybe it is possible to avoid the XMPP account setup and transferring via XMPP, maybe getting notifications through the SSH connection is possible.</p>
<p>I'm thinking about a "git-annex-shell server" unix socket to which clients would connect using the SSH connection and get update notifications from other clients.</p>