git-annex/Remote
Joey Hess b27760aa68 Work around a bug in rsync (IMHO) introduced by openSUSE's SIP patch.
openSUSE patches rsync with a patch adding SIP protocol support.
https://gist.github.com/2026167

With this patch, running rsync with no hostname parameter is apparently
supposed to list SIP hosts on the network. Practically, it does nothing
and exits 0.

git-annex uses rsync in a very special way to allow git-annex-shell to be
run on the remote host, and so did not need to specify a hostname, or a
file to transfer as a rsync parameter. So it sent ":", a degenerate case of
"host:file".

But the patch cannot differentiate ":" with no host parameter
(a bug in the SIP patch surely).

Results were that getting files failed, as rsync seemed to succeed, but the
requested file failed to arrive. Also I think that sending files will
make git-annex think a file has been transferred to the remote when
really rsync does nothing.

The workaround for this buggy rsync patch is to use "dummy:" as the
hostname.
2012-03-12 22:53:43 -04:00
..
Helper add remote start and stop hooks 2012-03-04 19:12:58 -04:00
Bup.hs thread through original key to retrieveEnctypted 2012-03-04 03:36:39 -04:00
Directory.hs better chunked file retrieval 2012-03-04 11:48:23 -04:00
Git.hs Work around a bug in rsync (IMHO) introduced by openSUSE's SIP patch. 2012-03-12 22:53:43 -04:00
Hook.hs thread through original key to retrieveEnctypted 2012-03-04 03:36:39 -04:00
List.hs add remote start and stop hooks 2012-03-04 19:12:58 -04:00
Rsync.hs thread through original key to retrieveEnctypted 2012-03-04 03:36:39 -04:00
S3.hs thread through original key to retrieveEnctypted 2012-03-04 03:36:39 -04:00
Web.hs whereis: Prints the urls of files that the web special remote knows about. 2012-02-14 03:49:48 -04:00