summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* oopsGravatar Joey Hess2012-02-14
|
* simplifyGravatar Joey Hess2012-02-14
|
* add, and immediately close bug. useful documentation thoughGravatar Joey Hess2012-02-14
|
* fix LsFiles.typeChanged pathsGravatar Joey Hess2012-02-14
| | | | | | Passing absolute paths to Command.Add used to work, but after recent changes doesn't. All LsFiles should use relative paths anyway, so fix it there.
* rework git check-attr interfaceGravatar Joey Hess2012-02-13
| | | | | | | | | | | | | | | Now gitattributes are looked up, efficiently, in only the places that really need them, using the same approach used for cat-file. The old CheckAttr code seemed very fragile, in the way it streamed files through git check-attr. I actually found that cad8824852aa0623dc41eac02a9e2bae47d88ec4 was still deadlocking with ghc 7.4, at the end of adding a lot of files. This should fix that problem, and avoid future ones. The best part is that this removes withAttrFilesInGit and withNumCopies, which were complicated Seek methods, as well as simplfying the types for several other Seek methods that had a Backend tupled in.
* another place hGetBoth was used without a writer threadGravatar Joey Hess2012-02-13
|
* thinkoGravatar Joey Hess2012-02-13
| | | | | I removed the now unnecessary forkProcess, but forgot to change back to pipeBoth, so there was no writer thread.
* force state strictlyGravatar Joey Hess2012-02-13
| | | | | | When converting to the strict state monad, I missed this place where thunks to the state could be built up, possibly. This seems to make it run in some percentage less memory.
* changelog for a964012fc36d22e4554dd12e3594579fb3190501Gravatar Joey Hess2012-02-13
| | | | | | | | | | Turns out that commit really made some serious improvements to memory use. With the lazy state monad, git-annex add in a huge tree grew seemingly without bound until it overflowed the stack. With the strict monad, it uses 42 mb max. It's possible another change since the 3.20120123 release fixed that, but a964012fc36d22e4554dd12e3594579fb3190501 seems most likely.
* comment typoGravatar Joey Hess2012-02-13
|
* work around Network.Browser bug that converts a HEAD to a GET when following ↵Gravatar Joey Hess2012-02-10
| | | | | | | | | | | | | | | | | | | | | | a redirect The code explicitly switches from HEAD to GET for most redirects. Possibly because someone misread a spec (which does require switching from POST to GET for 303 redirects). Or possibly because the spec really is that bad. Upstream bug: https://github.com/haskell/HTTP/issues/24 Since we absolutely don't want to download entire (large) files from the web when checking that they exist with HEAD, I wrote my own redirect follower, based closely on the one used by Network.Browser, but without this misfeature. Note that Network.Browser checks that the redirect url is a http url and fails if not. I don't, because I want to not need to change this code when it gets https support (related: I'm surprised to see it doesn't support https yet..). The check does not seem security significant; it doesn't support file:// urls for example. If a http url is redirected to https, the Network.Browser will actually make a http connection again. This could loop, but only up to 5 times.
* doc updateGravatar Joey Hess2012-02-10
|
* also verify new urls when adding them to existing filesGravatar Joey Hess2012-02-10
|
* addurl --fast: Verifies that the url can be downloaded (only getting its ↵Gravatar Joey Hess2012-02-10
| | | | head), and records the size in the key.
* When checking that an url has a key, verify that the Content-Length, if ↵Gravatar Joey Hess2012-02-10
| | | | | | | | available, matches the size of the key. If there's no Content-Length, or the key has no size, this check is not done, but it should happen most of the time, and protect against web content that has changed.
* Merge branch 'master' of ssh://git-annex.branchable.comGravatar Joey Hess2012-02-09
|\
* | Fix teardown of stale cached ssh connections.Gravatar Joey Hess2012-02-09
| |
* | wordingGravatar Joey Hess2012-02-09
| |
| * Added a commentGravatar http://joey.kitenet.net/2012-02-09
| |
| * Added a commentGravatar http://peter-simons.myopenid.com/2012-02-09
| |
| * How to expire old versions of files that have been edited?Gravatar http://peter-simons.myopenid.com/2012-02-09
|/
* addurl: Normalize badly encoded urls.Gravatar Joey Hess2012-02-09
|
* improve error messageGravatar Joey Hess2012-02-08
|
* addurl: Added a --file optionGravatar Joey Hess2012-02-08
| | | | | | | Can be used to specify what file the url is added to. This can be used to override the default filename that is used when adding an url, which is based on the url. Or, when the file already exists, the url is recorded as another location of the file.
* S3: Fix irrefutable pattern failure when accessing encrypted S3 credentials.Gravatar Joey Hess2012-02-08
|
* correctionGravatar Joey Hess2012-02-07
|
* merged ghc 7.4 support into masterGravatar Joey Hess2012-02-07
|
* Merge branch 'ghc7.4'Gravatar Joey Hess2012-02-07
|\
* | list of git branchesGravatar Joey Hess2012-02-07
| |
* | add a tip about using git's assume-unchanged feature to optimize large treesGravatar Joey Hess2012-02-07
| |
| * Merge branch 'master' into ghc7.4Gravatar Joey Hess2012-02-07
| |\ | |/ |/|
* | refactorGravatar Joey Hess2012-02-07
| | | | | | | | Wow, triple monadic lift!
* | add a bug templateGravatar Joey Hess2012-02-06
| |
| * add a bug templateGravatar Joey Hess2012-02-06
| |
| * changelogGravatar Joey Hess2012-02-06
| |
| * use "known" instead of "visible"Gravatar Joey Hess2012-02-06
| | | | | | | | I think it's clearer, also it's the same length as "local" :)
| * add news itemGravatar Joey Hess2012-02-06
| |
| * exception update in test tooGravatar Joey Hess2012-02-06
| |
| * add a tip about using git's assume-unchanged feature to optimize large treesGravatar Joey Hess2012-02-06
| |
| * list of git branchesGravatar Joey Hess2012-02-06
| |
* | already doneGravatar Joey Hess2012-02-06
| |
* | Merge remote-tracking branch 'origin/master'Gravatar Joey Hess2012-02-06
|\ \
| * | (no commit message)Gravatar http://jefferai.org/2012-02-07
| | |
* | | use "known" instead of "visible"Gravatar Joey Hess2012-02-06
|/ / | | | | | | I think it's clearer, also it's the same length as "local" :)
| * wordingGravatar Joey Hess2012-02-04
| |
| * remove old commentGravatar Joey Hess2012-02-04
| |
| * note 7.4 neededGravatar Joey Hess2012-02-04
| |
| * really fix foreign C functions filename encodingsGravatar Joey Hess2012-02-04
| | | | | | | | GHC should probably export withFilePath.
| * use fileEncoding for git-update-index input handleGravatar Joey Hess2012-02-04
| |
| * fix file encoding of HashObjectGravatar Joey Hess2012-02-04
| |