Joey Hess
703c437bd9
rename modules for data types into Types/ directory
2011-06-01 21:56:04 -04:00
Joey Hess
971ab27e78
better types allowed breaking module dep loop
2011-06-01 19:11:27 -04:00
Joey Hess
6aab88fa25
more monadic operator use
2011-05-15 15:27:49 -04:00
Joey Hess
6b5918c295
some reorg and further remote generalization
2011-03-27 21:43:25 -04:00
Joey Hess
30f427700f
converted several commands to use Remote
...
only move and map still to convert
2011-03-27 16:55:43 -04:00
Joey Hess
f30320aa75
add remotes slot to Annex
...
This required parameterizing the type for Remote, to avoid a cycle.
2011-03-27 16:17:56 -04:00
Joey Hess
b40f253d6e
start of generalizing remotes
...
Goal is to support multiple different types of remotes, some of which
are not git repositories. To that end, added a Remote class, and moved
git remote specific code into Remote.GitRemote.
Remotes.hs is still present as some code has not been converted to use the
new Remote class yet.
2011-03-27 16:04:25 -04:00
Joey Hess
80fdfdb72b
note current repo when prettifying uuis list
2011-03-05 17:33:57 -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
1b0edc1ab2
idiomatic elem
2011-01-30 12:13:34 -04:00
Joey Hess
268cb35e64
implement 3 level trust storage in trust.log
2011-01-26 15:37:16 -04:00
Joey Hess
dbb76c22d0
Support using the uuidgen command if the uuid command is not available.
2011-01-19 18:08:50 -04:00
Joey Hess
730c273eae
robustness fixes for empty or missing trust log
2011-01-11 18:49:32 -04:00
Joey Hess
ef85e699ba
simplify
2010-12-29 16:48:55 -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
57adb0347b
hlint tweaks
...
Remotes.hs next, and also Backend/* and Command/*
2010-11-22 15:46:57 -04:00
Joey Hess
ab4de45491
Add annex.version, which will be used to automate upgrades.
2010-11-08 14:39:12 -04:00
Joey Hess
99c522edef
finished adding support for annex.ssh-options
2010-11-01 00:04:53 -04:00
Joey Hess
dda0679290
all Walls are clean!
2010-10-31 16:04:19 -04:00
Joey Hess
6a9a9bd5a3
another memory optimisation
...
This time memory leaked if lots of UUIDs needed to be pretty-printed, as in
a get or drop of many files. Essentially the same strict read buffering
problem that affected the LocationLog underneath though.
uuidMap really could stand to be cached, as the uuid log is read many times
in this case. But it is a fairly edge case.
2010-10-31 01:51:50 -04:00
Joey Hess
045b051ec1
got rid of almost all 'return ()'
2010-10-28 12:40:05 -04:00
Joey Hess
833d4b342e
copyright statements
2010-10-27 16:53:54 -04:00
Joey Hess
f4e2dde8a8
fix perl refugee code
2010-10-22 20:47:14 -04:00
Joey Hess
ed3f6653b6
better drop error messages
2010-10-19 13:39:53 -04:00
Joey Hess
6d4fc0ca7e
command output cleanup
2010-10-17 13:13:49 -04:00
Joey Hess
909f619c07
tweaks
2010-10-16 16:20:49 -04:00
Joey Hess
6d13ae10cf
git annex describe
2010-10-16 16:15:31 -04:00
Joey Hess
46ac19a51d
implemented uuid.log
2010-10-15 20:20:16 -04:00
Joey Hess
e67887d98b
lift to IO
2010-10-15 19:32:56 -04:00
Joey Hess
65e4f9cc73
update cached uuids if it's noticed they changed
2010-10-14 14:22:05 -04:00
Joey Hess
f9557d7c5e
uuid cache done
2010-10-14 13:49:45 -04:00
Joey Hess
6f3572e47f
more reorg, spiffed up state monad
2010-10-14 03:18:11 -04:00
Joey Hess
48643b68b3
convert GitRepo to qualified import
2010-10-14 02:36:41 -04:00
Joey Hess
eda80e44c5
add module that only exports abstract types
2010-10-14 02:12:41 -04:00
Joey Hess
8ab54401b6
update
2010-10-13 23:18:58 -04:00
Joey Hess
b160748516
use a state monad
...
enormous reworking
2010-10-13 21:28:47 -04:00
Joey Hess
e28ff5bdaf
almost able to get files from remotes now!
2010-10-13 15:55:18 -04:00
Joey Hess
b882fe8410
locationlog will use uuids
2010-10-12 18:06:34 -04:00
Joey Hess
d257bad93c
uuid type
2010-10-12 15:48:00 -04:00
Joey Hess
e53900a545
stub
2010-10-12 15:44:54 -04:00
Joey Hess
4fbdb197d5
correctness
2010-10-12 13:12:47 -04:00
Joey Hess
dc1d5e6831
update
2010-10-12 13:10:07 -04:00