Commit graph

72 commits

Author SHA1 Message Date
Joey Hess
f1b747e6d9 bugfix: Running move --to with a remote whose UUID was not yet known
* bugfix: Running `move --to` with a remote whose UUID was not yet known
  could result in git-annex not recording on the local side where the
  file was moved to. This could not result in data loss, or even a
  significant problem, since the remote *did* record that it had the file.
* Also, add a general guard to detect attempts to record information
  about repositories with missing UUIDs.
2011-01-04 17:45:27 -04:00
Joey Hess
533419147c reorg 2011-01-04 17:20:35 -04:00
Joey Hess
ca60731e1c refactor 2011-01-04 17:15:39 -04:00
Joey Hess
e153a116bb remove debug 2010-12-31 19:27:34 -04:00
Joey Hess
700aed13cf git-annex-shell now exclusively used for all remote access 2010-12-31 19:09:17 -04:00
Joey Hess
30e0065ab9 tuple makes it clearer 2010-12-31 15:52:59 -04:00
Joey Hess
eac433a84a use git-annex-shell configlist 2010-12-31 15:46:33 -04:00
Joey Hess
60df4e5728 git-annex-shell is complete
still not used
2010-12-31 13:39:43 -04:00
Joey Hess
f38aa3e83a unfinished switch to using git-annex-shell 2010-12-30 20:31:52 -04:00
Joey Hess
36b73714d0 better filtering out of current repo 2010-12-29 19:21:13 -04:00
Joey Hess
5b8f8ced0b don't include the current repo in trusted uuid list 2010-12-29 19:13:42 -04:00
Joey Hess
e64ffc212e support trusted repositories that are not configured as remotes 2010-12-29 16:58:44 -04:00
Joey Hess
d475aac375 refactor 2010-12-29 16:21:38 -04:00
Joey Hess
aa4f91b2d6 Add trust and untrust subcommands, to allow configuring remotes that are trusted to retain files without explicit checking. 2010-12-28 17:17:02 -04:00
Joey Hess
ece7481faa reword 2010-12-02 17:54:08 -04:00
Joey Hess
b9320ee1d5 use rsync for all remote file transfers 2010-12-02 17:45:28 -04:00
Joey Hess
37941184f9 Rsync will now be used to resume interrupted/failed partial file transfers from a remote. 2010-12-02 16:55:21 -04:00
Joey Hess
eeae910242 finished hlinting 2010-11-22 17:51:55 -04:00
Joey Hess
161823d6ea Only use cp -a if it is supported, falling back to cp -p or plain cp.
* cp --reflink=auto is used if supported, and will make git annex unlock
  much faster on filesystems like btrfs that support copy of write.
2010-11-18 13:49:01 -04:00
Joey Hess
070e8530c1 refactoring, no code changes really 2010-11-08 15:15:21 -04:00
Joey Hess
55b92860ce bigfix: doubled shell escape 2010-11-06 21:12:45 -04:00
Joey Hess
e638f9647d add global fallback for per-repo options 2010-11-01 00:17:26 -04:00
Joey Hess
99c522edef finished adding support for annex.ssh-options 2010-11-01 00:04:53 -04:00
Joey Hess
0bd7ebbf35 make a ssh call honor annex-ssh-options 2010-10-31 23:50:58 -04:00
Joey Hess
cec25153ec bugfix: git annex move --from <file remote>
The data structure comparison didn't work because for a file remote,
the config gets read for one structure but not the other.
2010-10-31 23:38:07 -04:00
Joey Hess
00d4c7cd01 simplify evals 2010-10-31 23:24:16 -04:00
Joey Hess
f3e4633e35 refactor inAnnex remote checking to Remotes 2010-10-31 23:21:16 -04:00
Joey Hess
0194394be6 Added remote.annex-scp-options and remote.annex-ssh-options. 2010-10-31 22:56:56 -04:00
Joey Hess
e70812eca9 use ssh -p to preserve perms
and refactor
2010-10-31 22:29:11 -04:00
Joey Hess
11efa7ef60 more escaping for ssh 2010-10-31 22:19:25 -04:00
Joey Hess
228b32d473 bugfix: shell escape for scp 2010-10-31 22:13:43 -04:00
Joey Hess
dc12ce762e -Wall clean 2010-10-31 14:23:51 -04:00
Joey Hess
583e8118d4 ok, let's just use extensible-exceptions 2010-10-30 17:29:11 -04:00
Joey Hess
23da029b75 Support building with Debian stable's ghc. 2010-10-30 15:10:10 -04:00
Joey Hess
7c0777c60d avoid unnessary newlines before progress in quiet mode 2010-10-29 14:10:55 -04:00
Joey Hess
694a33e91b syntax tweaks 2010-10-28 14:20:02 -04:00
Joey Hess
045b051ec1 got rid of almost all 'return ()' 2010-10-28 12:40:05 -04:00
Joey Hess
9c7b3dce9e tweaks 2010-10-28 12:15:21 -04:00
Joey Hess
833d4b342e copyright statements 2010-10-27 16:53:54 -04:00
Joey Hess
4e7c27f58b tweak 2010-10-27 13:39:45 -04:00
Joey Hess
99eaf41da5 better messages 2010-10-25 20:48:32 -04:00
Joey Hess
fec9f611df add setkey subcommand
And finished implementing move --to
2010-10-25 20:19:08 -04:00
Joey Hess
d0a9cdadaf add dropkey subcommand and --quiet
Needed for better git annex move --from
2010-10-25 18:32:29 -04:00
Joey Hess
8beed17168 drop incomplete bare repo support
Added a bug about it.

Now git annex move --from works fully
2010-10-25 17:31:07 -04:00
Joey Hess
1aa19422ac git annex move --from remote almost working 2010-10-25 17:17:03 -04:00
Joey Hess
fed1d3c1f5 bugfix
Annex.new can throw an IO exception if a remote git repo is not available.
2010-10-23 22:25:07 -04:00
Joey Hess
3cf16c9883 incomplete 2010-10-23 14:58:14 -04:00
Joey Hess
fcd30ce992 bugfix 2010-10-23 14:26:23 -04:00
Joey Hess
08236e780f reorg 2010-10-23 14:14:36 -04:00
Joey Hess
9dfbf40d1a reorg remote key presense checking code
Also, it now checks if a key is inAnnex, ie, cached in .git/annex, not if
it is present in a remote. For the File Backend, these are equivilant, not
so for other backends.
2010-10-23 13:18:47 -04:00