summaryrefslogtreecommitdiff
path: root/Backend.hs
Commit message (Collapse)AuthorAge
...
* hlint tweaksGravatar Joey Hess2011-07-15
| | | | Did all sources except Remotes/* and Command/*
* remove unused backend machineryGravatar Joey Hess2011-07-05
| | | | | | | | | | | | | The only remaining vestiage of backends is different types of keys. These are still called "backends", mostly to avoid needing to change user interface and configuration. But everything to do with storing keys in different backends was gone; instead different types of remotes are used. In the refactoring, lots of code was moved out of odd corners like Backend.File, to closer to where it's used, like Command.Drop and Command.Fsck. Quite a lot of dead code was removed. Several data structures became simpler, which may result in better runtime efficiency. There should be no user-visible changes.
* renamed GitRepo to GitGravatar Joey Hess2011-06-30
| | | | It was always imported qualified as Git anyway
* rename modules for data types into Types/ directoryGravatar Joey Hess2011-06-01
|
* found a few places I can use newtypeGravatar Joey Hess2011-05-21
| | | | for presumably some speedups
* --backend now overrides any backend configured in .gitattributes files.Gravatar Joey Hess2011-05-18
|
* simplified a bunch of Maybe handlingGravatar Joey Hess2011-05-15
|
* more Control.Monad.State export fixGravatar Joey Hess2011-04-26
|
* ghc7Gravatar Joey Hess2011-04-21
| | | | | | | | | * Update Debian build dependencies for ghc 7. * Debian package is now built with S3 support. Thanks Joachim Breitner for making this possible, also thanks Greg Heartsfield for working to improve the hS3 library for git-annex. Also hid a conflicting new symbol from Control.Monad.State
* annex.diskreserve can be given in arbitrary units (ie "0.5 gigabytes")Gravatar Joey Hess2011-03-26
|
* migrate: Support migrating v1 SHA keys to v2 SHA keys with size information ↵Gravatar Joey Hess2011-03-23
| | | | that can be used for free space checking.
* improve size change displayGravatar Joey Hess2011-03-23
|
* tweakGravatar Joey Hess2011-03-23
|
* check key size when available, no matter the backendGravatar Joey Hess2011-03-23
| | | | | Now that SHA and other backends can have size info, fsck should check it whenever available.
* upgrade groundworkGravatar Joey Hess2011-03-16
| | | | | | pulled in old versions of functions for working with keys Wrote a parser from old key filenames to new keys.
* rename fileGravatar Joey Hess2011-03-15
|
* first pass at using new keysGravatar Joey Hess2011-03-15
| | | | | | | It compiles. It sorta works. Several subcommands are FIXME marked and broken, because things that used to accept separate --backend and --key params need to be changed to accept just a --key that encodes all the key info, now that there is metadata in keys.
* only enable SHA backends that configure finds support forGravatar Joey Hess2011-03-02
|
* avoid warning when symlink in the repo contains a colon but is not aGravatar Joey Hess2011-01-27
| | | | pointer to annexed content
* make filename available to fsck messagesGravatar Joey Hess2011-01-26
|
* rename TypeInternals to BackendTypesGravatar Joey Hess2011-01-26
| | | | Now that it only contains types used by the backends
* rework config storageGravatar Joey Hess2011-01-26
| | | | | | | Moved away from a map of flags to storing config directly in the AnnexState structure. Got rid of most accessor functions in Annex. This allowed supporting multiple --exclude flags.
* successfully split Annex and AnnexState out of TypeInternalsGravatar Joey Hess2011-01-25
|
* parameterize Backend typeGravatar Joey Hess2011-01-25
| | | | | This allows the Backend type to not depend on the Annex type, and so the Annex type can later be moved out of TypeInternals.
* fix real underlaying cause, and fix test suite to not skip it0.17Gravatar Joey Hess2011-01-09
|
* bugfix: Fix crash caused by a symlink in the repo with link text ending in a ↵Gravatar Joey Hess2011-01-09
| | | | "/". (Thanks Henrik for reporting.)
* The git-annex-backend attribute has been renamed to annex.backend.Gravatar Joey Hess2010-11-28
|
* In .gitattributes, the git-annex-numcopies attribute can be used to control ↵Gravatar Joey Hess2010-11-28
| | | | the number of copies to retain of different types of files.
* finished hlintingGravatar Joey Hess2010-11-22
|
* hlint tweaksGravatar Joey Hess2010-11-22
| | | | Remotes.hs next, and also Backend/* and Command/*
* Fix `git annex add ../foo` (when ran in a subdir of the repo).Gravatar Joey Hess2010-11-17
| | | | There was no reason for Git.relative to be used here.
* dropunusedGravatar Joey Hess2010-11-15
|
* fsck improvementsGravatar Joey Hess2010-11-13
| | | | | | | | | * 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.
* refactoring, no code changes reallyGravatar Joey Hess2010-11-08
|
* fsck worksGravatar Joey Hess2010-11-07
|
* hlinted a few filesGravatar Joey Hess2010-11-06
|
* In .gitattributes, the git-annex-backend attribute can be set to the names ↵Gravatar Joey Hess2010-11-01
| | | | of backends to use when adding different types of files.
* now only need to add gitattributes lookupGravatar Joey Hess2010-11-01
|
* Fix crash on unknown symlinks.Gravatar Joey Hess2010-10-31
|
* more Wall cleaningGravatar Joey Hess2010-10-31
|
* ok, let's just use extensible-exceptionsGravatar Joey Hess2010-10-30
|
* Support building with Debian stable's ghc.Gravatar Joey Hess2010-10-30
|
* copyright statements0.02Gravatar Joey Hess2010-10-27
|
* fix perl refugee codeGravatar Joey Hess2010-10-22
|
* new fromkey subcommand, for registering urls, etc0.01Gravatar Joey Hess2010-10-21
| | | | had to redo Annex monad's flag storage
* gratuitous renameGravatar Joey Hess2010-10-18
|
* move supportedBackends list into annex monadGravatar Joey Hess2010-10-17
| | | | | | | 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.
* tweaksGravatar Joey Hess2010-10-16
|
* git annex describeGravatar Joey Hess2010-10-16
|
* bugfixGravatar Joey Hess2010-10-14
|