summaryrefslogtreecommitdiff
path: root/Config.hs
Commit message (Collapse)AuthorAge
* tweaksGravatar Joey Hess2011-11-19
|
* lintGravatar Joey Hess2011-11-11
|
* reorder repo parameters lastGravatar Joey Hess2011-11-08
| | | | | | | | | | | | | Many functions took the repo as their first parameter. Changing it consistently to be the last parameter allows doing some useful things with currying, that reduce boilerplate. In particular, g <- gitRepo is almost never needed now, instead use inRepo to run an IO action in the repo, and fromRepo to get a value from the repo. This also provides more opportunities to use monadic and applicative combinators.
* The fromkey command now takes the key as its first parameter. The --key ↵Gravatar Joey Hess2011-10-31
| | | | option is no longer used.
* refactoring and cleanupGravatar Joey Hess2011-10-30
| | | | No code changes.
* renameGravatar Joey Hess2011-10-05
|
* renameGravatar Joey Hess2011-10-04
|
* factor out common importsGravatar Joey Hess2011-10-03
| | | | no code changes
* rework annex-ignore handlingGravatar Joey Hess2011-09-18
| | | | | | | | Only one place need to filter the list of remotes for ignored remotes: keyPossibilities. Make the full list available to everything else. This allows getting rid of the special case handing for --from and --to to make ignored remotes not be ignored with those options.
* code simplification thanks to applicative functorsGravatar Joey Hess2011-08-25
|
* split groups of related functions out of UtilityGravatar Joey Hess2011-08-22
|
* tweakGravatar Joey Hess2011-08-21
|
* tweakGravatar Joey Hess2011-08-18
|
* Added annex-cost-command configuration, which can be used to vary the cost ↵Gravatar Joey Hess2011-08-18
| | | | | | of a remote based on the output of a shell command. Also avoided crashing if the user specified cost value cannot be parsed.
* 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
* make encrypted remotes have slightly higher costsGravatar Joey Hess2011-04-17
|
* make local bup repos a bit more expensive than local git reposGravatar Joey Hess2011-04-08
| | | | does have to run bup and reassemble files, after all
* cost bugfixesGravatar Joey Hess2011-03-30
|
* basic s3 remote startGravatar Joey Hess2011-03-28
| | | | But bucket name is not handled right; it needs to be globally unique.
* some reorg and further remote generalizationGravatar Joey Hess2011-03-27