Joey Hess
433c1780cf
more thoughts
2011-03-26 18:26:36 -04:00
Joey Hess
49b7f59183
test suite passes again
...
doesn't test remote functionality.. but that may be working too now
2011-03-15 22:53:14 -04:00
Joey Hess
9d49fe2c17
first pass at using new keys
...
It compiles. It sorta works. Several subcommands are FIXME marked and
broken, because things that used to accept separate --backend and --key
params need to be changed to accept just a --key that encodes all the key
info, now that there is metadata in keys.
2011-03-15 21:34:13 -04:00
Joey Hess
6c1607ce66
Support ssh remotes with a port specified.
2011-03-05 15:47:00 -04:00
Joey Hess
aad1372880
move repoConfig out of Remotes
2011-03-05 15:31:46 -04:00
Joey Hess
acde7a1736
improve GitRepos functions for pulling apart URL to repo
2011-03-05 15:13:16 -04:00
Joey Hess
657395b628
add describe subcommand
2011-03-03 17:21:00 -04:00
Joey Hess
4cd96ad2db
rename
2011-02-28 16:25:31 -04:00
Joey Hess
fcdc4797a9
use ShellParam type
...
So, I have a type checked safe handling of filenames starting with dashes,
throughout the code.
2011-02-28 16:18:55 -04:00
Joey Hess
836e71297b
Support filenames that start with a dash; when such a file is passed to a utility it will be escaped to avoid it being interpreted as an option.
2011-02-25 01:13:01 -04:00
Joey Hess
17829be0fd
map improvements
...
added uuid.log repos
group repos by host
avoid displaying most urls
display remote names on edges
still some bugs
2011-02-03 22:20:55 -04:00
Joey Hess
0c7d17ae06
new map subcommand, basically working
...
Still todo:
- add repos from uuid.log that were not directly found
- group repos into their respective hosts
- display inaccessible repos and broken remote connections in red
- anonymize the url display somewhat, so the maps can be shared
- use uuid info to tell when two apparently different repos are actually
the same repo accessed in different ways
2011-02-03 19:05:15 -04:00
Joey Hess
d007e58a54
use mapM_
2011-01-31 13:52:11 -04:00
Joey Hess
167523f09d
better directory handling
...
Rename Locations functions for better consitency, and make their values
more consistent too.
Used </> rather than manually building paths. There are still more places
that manually do so, but are tricky, due to the behavior of </> when
the second FilePath is absolute. So I only changed places where
it obviously was relative.
2011-01-27 17:00:32 -04:00
Joey Hess
b7903eb2d1
move partitioning out of keyPossibilities
...
And a bug fix in passing.
2011-01-26 16:44:14 -04:00
Joey Hess
7f6af79232
trust setting improvements
2011-01-26 16:20:28 -04:00
Joey Hess
268cb35e64
implement 3 level trust storage in trust.log
2011-01-26 15:37:16 -04:00
Joey Hess
6a97b10fcb
rework config storage
...
Moved away from a map of flags to storing config directly in the AnnexState
structure. Got rid of most accessor functions in Annex.
This allowed supporting multiple --exclude flags.
2011-01-26 00:17:38 -04:00
Joey Hess
082b022f9a
successfully split Annex and AnnexState out of TypeInternals
2011-01-25 21:49:04 -04:00
Joey Hess
e7b557ef5d
got rid of Core module
...
Most of it was to do with managing annexed Content, so put there
2011-01-16 16:05:05 -04:00
Joey Hess
196c2fa786
Bugfix: copy --to
and move --to
forgot to stage location log changes after transferring the file to the remote repository. (Did not affect ssh remotes.)
2011-01-11 16:06:19 -04:00
Joey Hess
71a8278f9c
bugfix: Running move --to
with a non-ssh remote failed.
2011-01-07 01:14:27 -04:00
Joey Hess
446978c1e6
fix reversion in annex-ignored
2011-01-04 22:14:24 -04:00
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