summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* releasing version 3.201203093.20120309Gravatar Joey Hess2012-03-09
|
* fix key directory hash calculation codeGravatar Joey Hess2012-03-09
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix Key directory hash calculation code to behave as it did before version 3.20120227 when a key contains non-ascii. The hash directories for a given Key are based on its md5sum. Prior to ghc 7.4, Keys contained raw, undecoded bytes, so the md5sum was taken of each byte in turn. With the ghc 7.4 filename encoding change, keys contains decoded unicode characters (possibly with surrigates for undecodable bytes). This changes the result of the md5sum, since the md5sum used is pure haskell and supports unicode. And that won't do, as git-annex will start looking in a different hash directory for the content of a key. The surrigates are particularly bad, since that's essentially a ghc implementation detail, so could change again at any time. Also, changing the locale changes how the bytes are decoded, which can also change the md5sum. Symptoms would include things like: * git annex fsck would complain that no copies existed of a file, despite its symlink pointing to the content that was locally present * git annex fix would change the symlink to use the wrong hash directory. Only WORM backend is likely to have been affected, since only it tends to include much filename data (SHA1E could in theory also be affected). I have not tried to support the hash directories used by git-annex versions 3.20120227 to 3.20120308, so things added with those versions with WORM will require manual fixups. Sorry for the inconvenience!
* factor out Utility.FileSystemEncodingGravatar Joey Hess2012-03-09
|
* refactorGravatar Joey Hess2012-03-09
|
* version base dependency for ghc 7.4Gravatar Joey Hess2012-03-06
|
* cleanupGravatar Joey Hess2012-03-06
|
* syscall optimisationGravatar Joey Hess2012-03-06
|
* Merge branch 'master' of ssh://git-annex.branchable.comGravatar Joey Hess2012-03-06
|\
| * Added a commentGravatar http://joey.kitenet.net/2012-03-06
| |
* | remove addurl testGravatar Joey Hess2012-03-06
| | | | | | | | | | addurl --fast used to avoid network, but it always uses it now, getting at least size. Thus not appropriate for test suite without a lot of work.
| * Added a comment: Test suite failureGravatar https://www.google.com/accounts/o8/id?id=AItOawk_LOahrm_Cdg7io-_H0CNKkaxsRRQgRFo2012-03-06
| |
| * Added a commentGravatar http://peter-simons.myopenid.com/2012-03-05
| |
| * Added a commentGravatar http://joey.kitenet.net/2012-03-05
| |
| * removedGravatar http://joey.kitenet.net/2012-03-05
| |
| * Added a commentGravatar http://joey.kitenet.net/2012-03-05
| |
| * Added a commentGravatar http://peter-simons.myopenid.com/2012-03-05
|/
* add news item for git-annex 3.20120230Gravatar Joey Hess2012-03-05
|
* 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.)