summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* releasing version 3.201202303.20120230Gravatar Joey Hess2012-03-05
|
* Fix a bug in symlink calculation code, that triggered in rare cases where an ↵Gravatar Joey Hess2012-03-05
| | | | | | | | | | | annexed file is in a subdirectory that nearly matched to the .git/annex/object/xx/yy subdirectories. This is a straight up pure-code stinker. The relative path calculation looked for common subdirectories in the two paths, but failed to stop after the paths diverged. When a later pair of subdirectories were the same, the resulting relative path was wrong. Added regression test for this.
* add remote start and stop hooksGravatar Joey Hess2012-03-04
| | | | | | Locking is used, so that, if there are multiple git-annex processes using a remote concurrently, the stop hook is only run by the last process that uses it.
* fooGravatar Joey Hess2012-03-04
|
* better chunked file retrievalGravatar Joey Hess2012-03-04
| | | | | | Avoids opening every chunk at once, instead streaming them in. Not done for encrypted file retrieval yet.
* tweak davfs2 settingsGravatar Joey Hess2012-03-04
|
* box.com seems to behave better with smaller chunksGravatar Joey Hess2012-03-04
| | | | | Seeing some weird failures in the davfs2 or box.com layer with 100 mb chunks.
* clarificationGravatar Joey Hess2012-03-04
|
* make meter slightly widerGravatar Joey Hess2012-03-04
|
* thread through original key to retrieveEnctyptedGravatar Joey Hess2012-03-04
| | | | | Allows showing progress bar for this last case of the directory special remote.
* add progress display when receiving filesGravatar Joey Hess2012-03-04
| | | | | | That was actually really easy. But, when getting a file from an encrypted directory special remote, no meter can be shown, because the total file size is not known.
* Add progress bar display to the directory special remote.Gravatar Joey Hess2012-03-04
| | | | | | | So far I've only written progress bars for sending files, not yet receiving. No longer uses external cp at all. ByteString IO is fast enough.
* instructions for using Box.com as a special remoteGravatar Joey Hess2012-03-04
| | | | | I was sucked in by the 50 gb free lifetime storage offer. Happily, it was pretty easy to get it to work with git-annex.
* tweakGravatar Joey Hess2012-03-03
|
* Directory special remotes now support chunking files written to themGravatar Joey Hess2012-03-03
| | | | | | Avoiding writing files larger than a specified size is useful on certian things. For example, box.com has a file size limit of 100 mb. Could also be useful on really crappy removable media.
* Merge branch 'master' of ssh://git-annex.branchable.comGravatar Joey Hess2012-03-01
|\
* | "here" can be used to refer to the current repository, which can read better ↵Gravatar Joey Hess2012-03-01
| | | | | | | | than the old "." (which still works too).
| * Added a commentGravatar http://joey.kitenet.net/2012-02-29
| |
| * Added a comment: How do you build the Crypto library with GHC 7.4.1?Gravatar http://peter-simons.myopenid.com/2012-02-29
|/
* add news item for git-annex 3.20120229Gravatar Joey Hess2012-02-29
|
* releasing version 3.201202293.20120229Gravatar Joey Hess2012-02-29
|
* Merge branch 'master' of ssh://git-annex.branchable.comGravatar Joey Hess2012-02-29
|\
* | Fix test suite to not require a unicode locale.Gravatar Joey Hess2012-02-29
| | | | | | | | | | Without a unicode locale, it will fail to print a unicode filename to console, and fails.
| * Added a commentGravatar http://joey.kitenet.net/2012-02-29
| |
* | Merge branch 'master' of ssh://git-annex.branchable.comGravatar Joey Hess2012-02-28
|\|
| * Added a comment: Test-suite won't compile with GHC 7.4.xGravatar http://peter-simons.myopenid.com/2012-02-28
| |
* | Merge branch 'master' of ssh://git-annex.branchable.comGravatar Joey Hess2012-02-28
|\|
* | git-union-merge: add 'text' to dependenciesGravatar Sergei Trofimovich2012-02-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes following build failure on ghc-7.4/Cabal-1.14: $ runhaskell Setup.hs build Building git-annex-3.20120227... Preprocessing executable 'git-union-merge' for git-annex-3.20120227... Git/Command.hs:11:18: Could not find module `Data.Text.Lazy.IO' It is a member of the hidden package `text-0.11.1.13'. Perhaps you need to add `text' to the build-depends in your .cabal file. Use -v to see a list of the files searched for. Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
| * remove -fspec-constr-count workaroundGravatar Joey Hess2012-02-27
|/ | | | not needed with ghc 7.4
* add news item for git-annex 3.201202273.20120227Gravatar Joey Hess2012-02-27
|
* releasing version 3.20120227Gravatar Joey Hess2012-02-27
|
* move --from, copy --from: 10 times faster scanning remote on local diskGravatar Joey Hess2012-02-26
| | | | | | | | | | | | | | | | | | | Rather than go through the location log to see which files are present on the remote, it simply looks at the disk contents directly. I benchmarked this speeding up scanning 834 files, from an annex on my phone's SSD, from 11.39 seconds to 1.31 seconds. (No files actually moved.) Also benchmarked 8139 files, from an annex on spinning storage, speeding up from 103.17 to 13.39 seconds. Note that benchmarking with an encrypted annex on flash actually showed a minor slowdown with this optimisation -- from 13.93 to 14.50 seconds. Seems the overhead of doing the crypto needed to get the filenames to directly check can be higher than the overhead of looking up data in the location log. (Which says good things about how well the location log and git have been optimised!) It *may* make sense to make encrypted local remotes not have hasKeyCheap set; further benchmarking is called for.
* fix filename encoding for git cat-fileGravatar Joey Hess2012-02-26
| | | | | | | | | | | The filename sent to git cat-file needs to be sent on a File encoded handle. Also set the read handle to use the File encoding, so that any error message mentioning the filename is received properly. The actual file content is read using Data.ByteString.Char8, which will ignore the read handle's encoding, so this won't change that. (Whether that is entirely correct remains to be seen.)
* version dependency on openssh-clientGravatar Joey Hess2012-02-25
| | | | | This is only to ensure that it's as new a version as it was built with, so partial upgrades work.
* configure: Check if ssh connection caching is supported by the installed ↵Gravatar Joey Hess2012-02-25
| | | | version of ssh and default annex.sshcaching accordingly.
* do a cleanup commit after moving data from or to a git remoteGravatar Joey Hess2012-02-25
| | | | | | | | Added Annex.cleanup, which is a general purpose interface for adding actions to run at the end. Remotes with the old git-annex-shell will commit every time, and have no commit command, so hide stderr when running the commit command.
* add git-annex-shell commitGravatar Joey Hess2012-02-25
| | | | | | | | | Eventually, git-annex might try running this after making changes to a remote. I have not yet thought of a good way for it to tell which remotes it needs to run it on though. It can't just do it when shutting down a cached ssh connection, because ssh connection caching is optional, and that would not handle local remotes not accessed over ssh either.
* improve alwayscommit=false modeGravatar Joey Hess2012-02-25
| | | | | | | | | | | | | | Now changes are staged into the branch's index, but not committed, which avoids growing a large journal. And sync and merge always explicitly commit, ensuring that even when they do nothing else, they commit the staged changes. Added a flag file to indicate that the branch's journal contains uncommitted changes. (Could use git ls-files, but don't want to run that every time.) In the future, this ability to have uncommitted changes staged in the journal might be used on remotes after a series of oneshot commands.
* add annex.alwayscommit optionGravatar Joey Hess2012-02-25
| | | | | | To avoid commits of data to the git-annex branch after each command is run, set annex.alwayscommit=false. Its data will then be committed less frequently, when a merge or sync is done.
* Added a comment: very niceGravatar http://adamspiers.myopenid.com/2012-02-25
|
* Merge branch 'master' of ssh://git-annex.branchable.comGravatar Joey Hess2012-02-25
|\
* | update copyright format urlGravatar Joey Hess2012-02-25
| |
| * Added a commentGravatar http://www.joachim-breitner.de/2012-02-24
| |
* | updateGravatar Joey Hess2012-02-24
| |
| * Added a commentGravatar http://joey.kitenet.net/2012-02-24
|/
* Merge branch 'master' of ssh://git-annex.branchable.comGravatar Joey Hess2012-02-24
|\
* | Deal with NFS problem that caused a failure to remove a directory when ↵Gravatar Joey Hess2012-02-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | removing content from the annex. I was able to reproduce this on linux using the kernel's nfs server and mounting localhost:/. Determined that removing the directory fails when the just-deleted file in it was locked. Considered dropping the lock before removing the directory, but this would complicate parts of the code that should not need to worry about locking. So instead, ignore the failure to remove the directory in this case. While I was at it, made it attempt to remove both levels of hash directories, in case they're empty.
| * (no commit message)Gravatar http://www.joachim-breitner.de/2012-02-24
|/
* move misplaced bug reportGravatar Joey Hess2012-02-24
|
* Merge branch 'master' of ssh://git-annex.branchable.comGravatar Joey Hess2012-02-24
|\