Joey Hess
109a719b03
parameterize Backend type
...
This allows the Backend type to not depend on the Annex type, and
so the Annex type can later be moved out of TypeInternals.
2011-01-25 21:02:34 -04:00
Joey Hess
53170b1a14
fix real underlaying cause, and fix test suite to not skip it
2011-01-09 10:48:04 -04:00
Joey Hess
f4ddb580c8
bugfix: Fix crash caused by a symlink in the repo with link text ending in a "/". (Thanks Henrik for reporting.)
2011-01-09 10:04:16 -04:00
Joey Hess
ca32c7859b
The git-annex-backend attribute has been renamed to annex.backend.
2010-11-28 18:58:03 -04:00
Joey Hess
653ad35a9f
In .gitattributes, the git-annex-numcopies attribute can be used to control the number of copies to retain of different types of files.
2010-11-28 15:28:20 -04:00
Joey Hess
eeae910242
finished hlinting
2010-11-22 17:51:55 -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
5c7d1b0279
Fix git annex add ../foo
(when ran in a subdir of the repo).
...
There was no reason for Git.relative to be used here.
2010-11-17 13:55:38 -04:00
Joey Hess
748a7475bb
dropunused
2010-11-15 18:04:19 -04:00
Joey Hess
5fa25a812a
fsck improvements
...
* fsck: Check if annex.numcopies is satisfied.
* fsck: Verify the sha1 of files when the SHA1 backend is used.
* fsck: Verify the size of files when the WORM backend is used.
* fsck: Allow specifying individual files to fsk if fscking everything
is not desired.
* fsck: Fix bug, introduced in 0.04, in detection of unused data.
2010-11-13 14:59:27 -04:00
Joey Hess
070e8530c1
refactoring, no code changes really
2010-11-08 15:15:21 -04:00
Joey Hess
009873e0eb
fsck works
2010-11-07 18:22:25 -04:00
Joey Hess
a3519c365f
hlinted a few files
2010-11-06 17:07:11 -04:00
Joey Hess
2926cc64fb
In .gitattributes, the git-annex-backend attribute can be set to the names of backends to use when adding different types of files.
2010-11-01 19:05:38 -04:00
Joey Hess
899a86f8f9
now only need to add gitattributes lookup
2010-11-01 17:50:37 -04:00
Joey Hess
fd6611f955
Fix crash on unknown symlinks.
2010-10-31 18:04:34 -04:00
Joey Hess
2d893b3331
more Wall cleaning
2010-10-31 14:39:53 -04:00
Joey Hess
583e8118d4
ok, let's just use extensible-exceptions
2010-10-30 17:29:11 -04:00
Joey Hess
23da029b75
Support building with Debian stable's ghc.
2010-10-30 15:10:10 -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
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
f3dcc8489d
gratuitous rename
2010-10-18 02:06:27 -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
6d13ae10cf
git annex describe
2010-10-16 16:15:31 -04:00
Joey Hess
4c3ad80f32
bugfix
2010-10-14 20:05:04 -04:00
Joey Hess
508a3b65ed
annex.numcopies works
2010-10-14 17:38:13 -04:00
Joey Hess
aa2f4bd810
bug
2010-10-14 16:13:43 -04:00
Joey Hess
d4ce072452
break depends cycle
2010-10-14 15:58:53 -04:00
Joey Hess
a200761e66
implemented basic --drop
2010-10-14 14:14:19 -04:00
Joey Hess
6f3572e47f
more reorg, spiffed up state monad
2010-10-14 03:18:11 -04:00
Joey Hess
0b55bd05de
more namespace cleanup
2010-10-14 02:52:17 -04:00
Joey Hess
48643b68b3
convert GitRepo to qualified import
2010-10-14 02:36:41 -04:00
Joey Hess
b160748516
use a state monad
...
enormous reworking
2010-10-13 21:28:47 -04:00
Joey Hess
99b2029236
key conversion back from file bugfixes
2010-10-13 03:41:12 -04:00
Joey Hess
4b801b265a
error handling
2010-10-13 03:20:05 -04:00
Joey Hess
d1071bd1fe
autobugfixing!
...
Converted Key to a real data type and caught all the places where I used
an unconverted filename as a key.
Had to loose some sanity checks around whether something is already
annexed, but I guess I can add those back other ways.
2010-10-13 02:31:24 -04:00
Joey Hess
208bba8d30
got rid of the .git-annex/key.backend files
2010-10-13 00:42:46 -04:00
Joey Hess
490eb66be4
update
2010-10-12 20:20:59 -04:00
Joey Hess
b7858ada03
bugfixes
2010-10-12 20:04:36 -04:00
Joey Hess
a36c39ad0a
getting files via http working!
2010-10-12 17:26:34 -04:00
Joey Hess
cad916d926
hookup annexgetfile
2010-10-12 16:52:01 -04:00
Joey Hess
921313bcc7
consistency
2010-10-12 16:40:17 -04:00
Joey Hess
570899ed0c
handle newlines on keys
2010-10-12 16:39:10 -04:00
Joey Hess
603e01e96c
simplify some function signatures using state
2010-10-12 16:20:41 -04:00
Joey Hess
20acda0423
more state
2010-10-12 16:10:15 -04:00
Joey Hess
2ac47a3a59
thread State thru to backends
2010-10-12 16:06:10 -04:00
Joey Hess
ebc3fbe9ae
explicit exports
2010-10-11 17:52:46 -04:00
Joey Hess
af82586adf
split up Types
2010-10-11 17:19:55 -04:00
Joey Hess
dc5e8853f3
missed a file
2010-10-10 21:04:25 -04:00
Joey Hess
344f13394f
update
2010-10-10 19:53:31 -04:00
Joey Hess
e5514e0cb0
update
2010-10-10 18:05:37 -04:00
Joey Hess
dce9c2e080
convert GitRepo to struct with constructor
2010-10-10 16:06:36 -04:00
Joey Hess
7880dc16fe
update
2010-10-10 15:41:35 -04:00
Joey Hess
4631927a5c
fix storing files in .git/annex by key
2010-10-10 15:21:17 -04:00
Joey Hess
cc23519235
update
2010-10-10 15:04:18 -04:00
Joey Hess
80ce5f90db
update
2010-10-10 13:47:04 -04:00