Joey Hess
b11a63a860
clean up read/show abuse
...
Avoid ever using read to parse a non-haskell formatted input string.
show :: Key is arguably still show abuse, but displaying Keys as filenames
is just too useful to give up.
2011-11-08 00:17:54 -04:00
Joey Hess
63a292324d
add a UUID type
...
Should have done this a long time ago.
2011-11-07 15:59:16 -04:00
Joey Hess
f97c783283
clean up check selection code
...
This new approach allows filtering out checks from the default set that are
not appropriate for a command, rather than having to list every check
that is appropriate. It also reduces some boilerplate.
Haskell does not define Eq for functions, so I had to go a long way around
with each check having a unique id. Meh.
2011-10-29 15:19:05 -04:00
Joey Hess
b955238ec7
Fail if --from or --to is passed to commands that do not support them.
2011-10-27 18:56:54 -04:00
Joey Hess
5b74b130a3
refactored and generalized pre-command sanity checking
2011-10-27 16:31:35 -04:00
Joey Hess
91366c896d
clean Annex stuff out of Utility/
2011-10-16 00:04:26 -04:00
Joey Hess
ee9af605bc
break out non-log stuff to separate module
2011-10-15 17:47:03 -04:00
Joey Hess
1a29b5b52e
reorganize log modules
...
no code changes
2011-10-15 16:21:08 -04:00
Joey Hess
6a6ea06cee
rename
2011-10-05 16:02:51 -04:00
Joey Hess
cfe21e85e7
rename
2011-10-04 00:59:08 -04:00
Joey Hess
8ef2095fa0
factor out common imports
...
no code changes
2011-10-03 23:29:48 -04:00
Joey Hess
35145202d2
remove command type definitions
...
These were a mistake, they make the type signatures harder to read and
less flexible. The CommandSeek, CommandStart, CommandPerform, and
CommandCleanup types were a good idea, but composing them with the
parameters expected is going too far.
2011-09-15 16:50:49 -04:00
Joey Hess
203148363f
split groups of related functions out of Utility
2011-08-22 16:14:12 -04:00
Joey Hess
737b5d14c9
moved files around
2011-08-20 16:11:42 -04:00
Joey Hess
a55faff08f
reorg Remote/*
2011-08-16 20:49:54 -04:00
Joey Hess
00153eed48
unify elipsis handling
...
And add a simple dots-based progress display, currently only used in v2
upgrade.
2011-07-19 14:07:23 -04:00
Joey Hess
6c396a256c
finished hlint pass
2011-07-15 12:47:14 -04:00
Joey Hess
cab4ac247c
rename
2011-07-05 20:36:43 -04:00
Joey Hess
d31b84c777
better display of thrown errors
2011-07-05 14:58:33 -04:00
Joey Hess
f6063a094e
renamed GitRepo to Git
...
It was always imported qualified as Git anyway
2011-06-30 13:21:39 -04:00
Joey Hess
cad0e1c8b7
simplified a bunch of Maybe handling
2011-05-15 03:38:08 -04:00
Joey Hess
56bc3e95ca
refactor some boilerplate
2011-05-15 02:02:46 -04:00
Joey Hess
8ad901a647
refactor
2011-04-09 14:26:32 -04:00
Joey Hess
28bf28a73c
rename
2011-03-27 19:23:00 -04:00
Joey Hess
0d83d17f04
convert map to use new code
2011-03-27 17:00:05 -04:00
Joey Hess
140a351fc5
avoid version check before running version and upgrade commands
...
There are two types of commands; those that access the repository and those
that don't. Sorted.
2011-03-19 18:58:49 -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
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
81e045a539
tweak
2011-02-08 18:26:38 -04:00
Joey Hess
c1b69d1511
fill color for host boxes
2011-02-08 18:17:46 -04:00
Joey Hess
c0ec5a35db
show trusted repos in green
2011-02-08 18:04:19 -04:00
Joey Hess
3ae654254d
make remotes absolute while spidering
2011-02-08 17:52:32 -04:00
Joey Hess
97d5e23430
map bugfix
...
Need to find the absolute repo path before looking up the full info for the
repo. Otherwise, it doesn't find the right full info.
2011-02-08 17:46:52 -04:00
Joey Hess
ef2d4f650e
fix absrepo data loss
...
it was dropping the config map for the repos it changed
2011-02-04 01:56:45 -04:00
Joey Hess
926df3d91e
node ordering
2011-02-04 00:13:47 -04:00
Joey Hess
0fd0e414ec
color unreachable nodes
2011-02-04 00:06:23 -04:00
Joey Hess
67c1facad1
fix infinite loop
...
Local repos with the same path are not different. :)
2011-02-03 23:23:36 -04:00
Joey Hess
dff47d51e6
cleanup
2011-02-03 23:23:16 -04:00
Joey Hess
1b1a37b7b1
refactor
2011-02-03 22:44:17 -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