Joey Hess
86ffeb73d1
reorganize some files and imports
2014-01-26 16:25:55 -04:00
Joey Hess
d1bf61464f
expose tasty test suite's option parser
2014-01-21 00:08:43 -04:00
Joey Hess
8779ad1be9
try building test suite on windows
2013-05-17 16:45:44 -04:00
Joey Hess
abe8d549df
fix permission damage (thanks, Windows)
2013-05-11 23:54:25 -04:00
Joey Hess
3c7e30a295
git-annex now builds on Windows (doesn't work)
2013-05-11 15:03:00 -05:00
Joey Hess
47a4843941
typo
2013-02-27 16:33:20 -04:00
Joey Hess
feb5470c0b
disable test suite on Android
...
Cannot get QuickCheck to install just now.
2013-02-27 15:59:31 -04:00
Joey Hess
3a32454b13
break dependency cycle by special casing running of test command
2013-02-27 15:51:28 -04:00
Joey Hess
2172cc586e
where indenting
2012-11-11 00:51:07 -04:00
Joey Hess
d2769cf795
shave some 12 mb from the installed size
...
* git-annex now behaves as git-annex-shell if symlinked to and run by that
name. The Makefile sets this up, saving some 8 mb of installed size.
* git-union-merge is a demo program, so it is no longer built by default.
2012-03-15 12:00:19 -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
26544de946
put in utf8 forcing workaround
...
Haskell's IO layer crashes on characters > 255 when in a non-unicode (latin1)
locale. Until Haskell gets better behavior, put in an admittedly ugly
workaround for that: git-annex forces utf8 output mode no matter what
locale is selected. So if you use a non-utf8 locale, your filenames with
characters > 127 will not be displayed as you'd expect. But at least it
won't crash.
2011-03-08 18:05:20 -04:00
Joey Hess
f189929b8b
workaround ghc weirdness with -odir
...
The option cause it to always build to build/Main.o, no matter what
binary it was building. This caused extra work, and in some cases,
could cause the wrong code to be put into the final binary.
2011-01-07 02:15:23 -04:00
Joey Hess
2533d826fc
make test suite link in git-annex's commands and run directly
...
this way, test coverage works
2011-01-06 20:26:57 -04:00
Joey Hess
60df4e5728
git-annex-shell is complete
...
still not used
2010-12-31 13:39:43 -04:00
Joey Hess
a5a302b77d
git-annex-shell mostly done now, only needs 2 more subcommands
2010-12-30 20:08:22 -04:00
Joey Hess
7a52b34e06
add git-annex-shell command
...
This is not yet complete, as it does not allow starting rsync or scp.
2010-12-30 16:52:24 -04:00
Joey Hess
88ff9e82fc
factor out a little more
2010-12-30 15:44:15 -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
2099407d8a
Add --exclude option to exclude files from processing.
...
Required some lifting so flags are evaled in the Annex monad before
file filtering.
2010-12-08 14:07:49 -04:00
Joey Hess
2fba1ba40d
Avoid deleting temp files when rsync fails.
2010-12-02 17:51:02 -04:00
Joey Hess
0e55d6a907
move stuff out of Core
2010-11-14 14:44:24 -04:00
Joey Hess
0eae5b806c
broke subcommands out into separate modules
2010-11-02 19:04:24 -04:00
Joey Hess
0655ae4b8a
move
2010-11-01 03:01:58 -04:00
Joey Hess
00d4c7cd01
simplify evals
2010-10-31 23:24:16 -04:00
Joey Hess
fd6611f955
Fix crash on unknown symlinks.
2010-10-31 18:04:34 -04:00
Joey Hess
1576c48c80
more Wall cleaning
2010-10-31 14:32:18 -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
e87287c11b
fix failure propigation
2010-10-25 19:17:11 -04:00
Joey Hess
19fde4960d
new fromkey subcommand, for registering urls, etc
...
had to redo Annex monad's flag storage
2010-10-21 16:30:16 -04:00
Joey Hess
2caf711827
stop trapping all exceptions
...
Need to allow exceptions to be thrown for SIGPIPE propigation.
Converted places that used error unncessarily to not.
2010-10-19 01:46:20 -04:00
Joey Hess
b471822cfe
move supportedBackends list into annex monad
...
This was necessary so the File backend could import Backend w/o a cycle.
Moved code that checks whether enough backends have a file into File
backend.
2010-10-17 11:47:36 -04:00
Joey Hess
909f619c07
tweaks
2010-10-16 16:20:49 -04:00
Joey Hess
e80160380a
now finds files in git or not depending on what command wants
2010-10-16 14:58:35 -04:00
Joey Hess
29039fdf97
add flags, and change to subcommand style
2010-10-14 21:10:59 -04:00
Joey Hess
467c4b2751
better shutdown
2010-10-14 17:57:04 -04:00
Joey Hess
aa2f4bd810
bug
2010-10-14 16:13:43 -04:00
Joey Hess
1d628ff238
comment
2010-10-14 14:50:46 -04:00
Joey Hess
a0c0136056
cooler command-line handling
2010-10-14 14:49:19 -04:00
Joey Hess
90cdc61c7c
refactor
2010-10-14 14:38:29 -04:00
Joey Hess
f407f23a54
more refactor
2010-10-14 03:40:26 -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
b160748516
use a state monad
...
enormous reworking
2010-10-13 21:28:47 -04:00
Joey Hess
f87c5ed949
copying almost working
2010-10-13 16:21:50 -04:00
Joey Hess
f6306bc301
wording
2010-10-11 18:39:36 -04:00
Joey Hess
530f16b980
better result summary
2010-10-11 18:39:09 -04:00
Joey Hess
200bc6fdb8
better option handling
...
multiple-file support for all modes
2010-10-10 21:00:42 -04:00