summaryrefslogtreecommitdiff
path: root/test.hs
Commit message (Collapse)AuthorAge
* git-annex, git-union-merge: Support GIT_DIR and GIT_WORK_TREE.Gravatar Joey Hess2012-01-13
| | | | | Note that GIT_WORK_TREE cannot influence GIT_DIR; that is necessary for git-fake-bare and vcsh type things to work.
* break module dependancy loopGravatar Joey Hess2012-01-10
| | | | A PITA but worth it to clean up the trust configuration code.
* don't use GPG_AGENT_INFO to force batch mode in test suiteGravatar Joey Hess2012-01-09
| | | | | | | | Fails with gpg 2. Instead, use a different environment variable. The clean fix would instead be to add an annex.gpg-options configuration. But, that would be rather a lot of work and it's unlikely it would be useful for much else.
* Fix overbroad gpg --no-tty fix from last release.Gravatar Joey Hess2012-01-07
| | | | | | | Only set --no-tty when GPG_AGENT_INFO is set and batch mode is used. In the test suite, set GPG_AGENT_INFO to /dev/null to avoid the test suite relying on /dev/tty.
* type alias cleanupGravatar Joey Hess2011-12-31
|
* handle C-style escapes in FormatGravatar Joey Hess2011-12-23
| | | | | | | | | | | I was happily able to repurpose some code from Git.Filename to handle this. I remember writing that code... a whole afternoon at a coffee shop, after which I felt I'd struggled with Haskell and git, and sorta lost, in needing to write this nasty peice of code. But was also pleased at the use of a pair of functions and quickcheck that allowed me to get it 100% right. So, turns out I not only got it right, but the code wasn't as special-purpose as I'd feared. Yay!
* cleanupGravatar Joey Hess2011-12-22
|
* Add --include, which is the same as --not --exclude.Gravatar Joey Hess2011-12-22
|
* test fsck in bare repos (75%)Gravatar Joey Hess2011-12-21
|
* improveGravatar Joey Hess2011-12-21
|
* test bup special remote (74% coverage)Gravatar Joey Hess2011-12-21
|
* test coverage improvementsGravatar Joey Hess2011-12-21
|
* test encrypted special remoteGravatar Joey Hess2011-12-20
| | | | | This involved adding a test harness to run gpg with a dummy key, and lots of fun.
* Test suite improvements. Current top-level test coverage: 68%Gravatar Joey Hess2011-12-20
| | | | Been higher before, but a lot of new code has been added.
* map: --fast disables use of dot to display mapGravatar Joey Hess2011-12-20
| | | | Generally useful, and allows the test suite to test it.
* add basic tests for some of the newer commandsGravatar Joey Hess2011-12-20
| | | | | For most this just makes sure they run successfully, and improves test coverage statistics; it's hard to test the output of eg, find and status.
* cleanup backend used when reversing migrationGravatar Joey Hess2011-12-20
| | | | | WORM is no longer the starting backend, so let's really reverse, getting back to SHA256.
* run annex monad in quiet mode when testingGravatar Joey Hess2011-12-20
| | | | This cleans up the merging messages.
* factor out -qGravatar Joey Hess2011-12-20
|
* add tests of directory and rsync special remotesGravatar Joey Hess2011-12-20
|
* added a test of the hook special remoteGravatar Joey Hess2011-12-20
|
* split more stuff out of Git.hsGravatar Joey Hess2011-12-14
|
* split out two more Git modulesGravatar Joey Hess2011-12-13
|
* split out three modules from GitGravatar Joey Hess2011-12-13
| | | | | Constructors and configuration make sense in separate modules. A separate Git.Types is needed to avoid cycles.
* hslintGravatar Joey Hess2011-12-09
|
* use Control.Exception's bracketsGravatar Joey Hess2011-11-26
|
* add a UUID typeGravatar Joey Hess2011-11-07
| | | | Should have done this a long time ago.
* better command nameGravatar Joey Hess2011-10-31
|
* The fromkey command now takes the key as its first parameter. The --key ↵Gravatar Joey Hess2011-10-31
| | | | option is no longer used.
* cleanupGravatar Joey Hess2011-10-27
|
* break out non-log stuff to separate moduleGravatar Joey Hess2011-10-15
|
* reorganize log modulesGravatar Joey Hess2011-10-15
| | | | no code changes
* minor syntax changesGravatar Joey Hess2011-10-11
|
* add timestamp to uuid.logGravatar Joey Hess2011-10-06
| | | | | | | | * New or changed repository descriptions in uuid.log now have a timestamp, which is used to ensure the newest description is used when the uuid.log has been merged. * Note that older versions of git-annex will display the timestamp as part of the repository description, which is ugly but otherwise harmless.
* factor out common importsGravatar Joey Hess2011-10-03
| | | | no code changes
* sshGravatar Joey Hess2011-09-29
|
* update test suite for smarter unusedGravatar Joey Hess2011-09-28
|
* fixGravatar Joey Hess2011-09-28
|
* remove optimize subcommand; use --auto insteadGravatar Joey Hess2011-09-15
| | | | | | | | | | | | | | | | | | get, drop: Added --auto option, which decides whether to get/drop content as needed to work toward the configured numcopies. The problem with bundling it up in optimize was that I then found I wanted to run an optmize that did not drop files, only got them. Considered adding a --only-get switch to it, but that seemed wrong. Instead, let's make existing subcommands optionally smarter. Note that the only actual difference between drop and drop --auto is that the latter does not even try to drop a file if it knows of not enough copies, and does not print any error messages about files it was unable to drop. It might be nice to make get avoid asking git for attributes when not in auto mode. For now it always asks for attributes.
* optimize: A new subcommand that either gets or drops file content as needed ↵Gravatar Joey Hess2011-09-14
| | | | | | | | to work toward meeting the configured numcopies setting. This is currently rather simplistic, though still useful. In the future, it could become smarter about what content is stored where, etc.
* Set EMAIL when running test suite so that git does not need to be configured ↵Gravatar Joey Hess2011-08-23
| | | | first. Closes: #638998
* split groups of related functions out of UtilityGravatar Joey Hess2011-08-22
|
* hlint tweaksGravatar Joey Hess2011-07-15
| | | | Did all sources except Remotes/* and Command/*
* Bugfix: Make add ../ work.Gravatar Joey Hess2011-07-10
| | | | | The complication of check-attr returning absolute paths that have to be converted back to relative paths..
* factor out RemoteLogGravatar Joey Hess2011-07-05
|
* 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
* reove 2 tests that no longer make sense (state is not autocommitted)Gravatar Joey Hess2011-06-22
|
* remove some tests that no longer make senseGravatar Joey Hess2011-06-22
|
* move LocationLog into Annex monad from IOGravatar Joey Hess2011-06-22
| | | | It will need to run in Annex so it can use Branch