summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* switch to the strict state monadGravatar Joey Hess2012-01-29
| | | | | | | | | | I had not realized what a memory leak the lazy state monad could be, although I have not seen much evidence of actual leaking in git-annex. However, if running git-annex on a great many files, this could matter. The additional Utility.State.changeState adds even more strictness, avoiding a problem I saw in github-backup where repeatedly modifying state built up a huge pile of thunks.
* reopenGravatar Joey Hess2012-01-28
| | | | | People seem to want to post comments here with vague details about a new bug, rather than opening a new bug report.
* fixedGravatar Joey Hess2012-01-28
|
* Merge branch 'master' of ssh://git-annex.branchable.comGravatar Joey Hess2012-01-28
|\
* | faster local-local droppingGravatar Joey Hess2012-01-28
| | | | | | | | | | | | Dropping a key from a local remote ran git-annex-shell unnecessarily. Now git-annex-shell is never used when acting on a local remote.
* | Avoid repeated location log commits when a remote is receiving files.Gravatar Joey Hess2012-01-28
| | | | | | | | | | | | | | | | | | Done by adding a oneshot mode, in which location log changes are written to the journal, but not committed. Taking advantage of git-annex's existing ability to recover in this situation. This is used by git-annex-shell and other places where changes are made to a remote's location log.
| * Added a commentGravatar http://joey.kitenet.net/2012-01-28
| |
| * Added a commentGravatar http://joey.kitenet.net/2012-01-28
| |
* | Revert "Avoid creating ~/.bup when initializing a bup remote"Gravatar Joey Hess2012-01-28
|/ | | | | | | | | | | | | | This reverts commit 6da40100c99a097401fb130b63edc05b18f61249. On closer examinaton, this change is wrong. The bup special remote can be configured with "buprepo=", which makes it use the default ~/.bup repo. This change makes it use a different temp dir each time, which I'm sure would not be appreciated by anyone with that configuration. Bup insisting in creating ~/.bup even when using a different repo does seem like a bug in *something*, but I'm leaning toward the bug being in bup itself.
* Added a commentGravatar https://www.google.com/accounts/o8/id?id=AItOawk6QAwUsFHpr3Km1yQbg8hf3S7RDYf7hX42012-01-28
|
* Added a commentGravatar https://www.google.com/accounts/o8/id?id=AItOawk6QAwUsFHpr3Km1yQbg8hf3S7RDYf7hX42012-01-28
|
* Added a commentGravatar http://joey.kitenet.net/2012-01-27
|
* old version?Gravatar Joey Hess2012-01-27
|
* Merge branch 'master' of ssh://git-annex.branchable.comGravatar Joey Hess2012-01-27
|\
| * (no commit message)Gravatar https://www.google.com/accounts/o8/id?id=AItOawk6QAwUsFHpr3Km1yQbg8hf3S7RDYf7hX42012-01-27
| |
| * Added a commentGravatar https://www.google.com/accounts/o8/id?id=AItOawk6QAwUsFHpr3Km1yQbg8hf3S7RDYf7hX42012-01-26
| |
| * Avoid creating ~/.bup when initializing a bup remoteGravatar Lauri Alanko2012-01-26
| |
* | fix error messageGravatar Joey Hess2012-01-25
| |
* | export fromPathGravatar Joey Hess2012-01-25
|/ | | | Not used in git-annex, but I am using it in git-backup
* addGravatar Joey Hess2012-01-25
|
* closeGravatar Joey Hess2012-01-24
|
* remove Utility.Conditional and use IfElseGravatar Joey Hess2012-01-24
| | | | | | | This drops the >>! and >>? with the nice low fixity. IfElse does have undocumented >>=>>! and >>=>>? operators, but I deem that too fishy. Anyway, using whenM and unlessM is easier; I sometimes mixed the operators up.
* rename readMaybe to readishGravatar Joey Hess2012-01-23
| | | | a stricter (but also partial) readMaybe is getting added to base
* a few things available elsewhere...Gravatar Joey Hess2012-01-23
|
* add news item for git-annex 3.20120123Gravatar Joey Hess2012-01-23
|
* releasing version 3.201201233.20120123Gravatar Joey Hess2012-01-23
|
* Added a commentGravatar http://joey.kitenet.net/2012-01-23
|
* (no commit message)Gravatar https://www.google.com/accounts/o8/id?id=AItOawlB7-aXsqwzOi2BIR_Q4sUF8sjj24H6F3c2012-01-23
|
* treakGravatar Joey Hess2012-01-21
|
* order user provided params after connection caching paramsGravatar Joey Hess2012-01-20
| | | | So the user can override them.
* add annex.sshcaching config settingGravatar Joey Hess2012-01-20
|
* ssh connection cachingGravatar Joey Hess2012-01-20
| | | | | | | | | | | Ssh connection caching is now enabled automatically by git-annex. Only one ssh connection is made to each host per git-annex run, which can speed some things up a lot, as well as avoiding repeated password prompts. Concurrent git-annex processes also share ssh connections. Cached ssh connections are shut down when git-annex exits. Note: The rsync special remote does not yet participate in the ssh connection caching.
* typoGravatar Joey Hess2012-01-20
|
* fsck --from remote --fastGravatar Joey Hess2012-01-20
| | | | | | | Avoids expensive file transfers, at the expense of checking file size and/or contents. Required some reworking of the remote code.
* better designGravatar Joey Hess2012-01-19
| | | | | Avoids possible repeated password prompts, at the cost of a small bit of locking complication.
* designGravatar Joey Hess2012-01-19
|
* (no commit message)Gravatar https://www.google.com/accounts/o8/id?id=AItOawnBJ6Dv1glxzzi4qIzGFNa6F-mfHIvv9Ck2012-01-19
|
* optimise fsck --from normal git remotesGravatar Joey Hess2012-01-19
| | | | | | | | | | For a local git remote, can symlink the file. For a git remote using rsync, can preseed any local content. There are a few reasons to use fsck --from on a normal git remote. One is if it's using gitosis or similar, and you don't have shell access to run git annex locally. Another reason could be if you just want to fsck certian files of a bare remote.
* use a different tmp file when fscking remote dataGravatar Joey Hess2012-01-19
| | | | | Since the content might be symlinked into place, it's not appropriate to use withTmp here.
* optimize fsck --from directory special remoteGravatar Joey Hess2012-01-19
| | | | No need to copy anything, just symlink to the file.
* add tmp flag parameter to retrieveKeyFileGravatar Joey Hess2012-01-19
|
* optimise fsck --from rsync special remoteGravatar Joey Hess2012-01-19
| | | | | When a file is present locally, the remote's version can be rsynced to a copy of it, which will avoid wasting a lot of bandwidth.
* update NEWSGravatar Joey Hess2012-01-19
| | | | | | | | | Add news item recommending fscking directory special remotes. Remote news item about URL backend being removed; it was later added back to be used by git annex addurl --fast. Link NEWS into top level.
* fsck --fromGravatar Joey Hess2012-01-19
| | | | | | | | | | | | | | | | Fscking a remote is now supported. It's done by retrieving the contents of the specified files from the remote, and checking them, so can be an expensive operation. (Several optimisations are possible, to speed it up, of course.. This is the slow and stupid remote fsck to start with.) Still, if the remote is a special remote, or a git repository that you cannot run fsck in locally, it's nice to have the ability to fsck it. If you have any directory special remotes, now would be a good time to fsck them, in case you were hit by the data loss bug fixed in the previous release!
* convert fsckKey to a MaybeGravatar Joey Hess2012-01-19
| | | | This way it's clear when a backend does not implement its own fsck checks.
* addGravatar Joey Hess2012-01-18
|
* thoughtGravatar Joey Hess2012-01-18
|
* add news item for git-annex 3.20120116Gravatar Joey Hess2012-01-16
|
* releasing version 3.201201163.20120116Gravatar Joey Hess2012-01-16
|
* Fix data loss bug in directory special remoteGravatar Joey Hess2012-01-16
| | | | | | | | | | | | | | | | When moving a file to the remote failed, and partially transferred content was left behind in the directory, re-running the same move would think it succeeded and delete the local copy. I reproduced data loss when moving files to a partition that was almost full. Interrupting a transfer could have similar results. Easily fixed by using a temp file which is then moved atomically into place once the transfer completes. I've audited other calls to copyFileExternal, and other special remote file transfer code; everything else seems to use temp files correctly (rsync, git), or otherwise use atomic transfers (bup, S3).