Joey Hess
cfd3b16fe1
add section metadata to all commands
...
Not yet used .. mindless train work.
2013-03-24 18:28:21 -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
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
80302d0b46
improve bare repo handing
...
Many more commands can work in bare repos now, thanks to the git-annex
branch.
2011-06-22 18:32:41 -04:00
Joey Hess
ceff04ff3e
better multiword parameter handling
...
This way, individual words as entered on the command line are available
to commands.
2011-05-16 12:25:54 -04:00
Joey Hess
56bc3e95ca
refactor some boilerplate
2011-05-15 02:02:46 -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
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
b88637fff1
prevent trust commands from trying to do things in a bare repo
...
Since they need to stage changes, they would actually, if allowed to run,
succeed, but wipe out existing trust.log content.
2011-03-03 16:22:53 -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
caa0b6c0c2
quiet git commit messages
2011-01-11 18:49:45 -04:00
Joey Hess
a89a6f2114
refactor in preparation for adding a git-annex-shell command
2010-12-30 15:06:26 -04:00
Joey Hess
6a5be9d53c
rename some stuff and prepare to break out more into Command/*
2010-12-30 14:19:16 -04:00
Joey Hess
1f20277ec7
forgot to add these
2010-12-28 17:44:55 -04:00