Commit graph

1958 commits

Author SHA1 Message Date
Joey Hess
168f010fdf typo 2011-04-26 19:39:30 -04:00
gernot
7a3b45db29 Added a comment 2011-04-26 18:56:45 +00:00
Joey Hess
920d736fa9 update 2011-04-26 11:33:59 -04:00
Joey Hess
279c8239c8 Merge remote-tracking branch 'branchable/master' 2011-04-26 11:32:07 -04:00
Joey Hess
5535f91d91 update instructions for stable 2011-04-26 11:30:49 -04:00
http://joey.kitenet.net/
de35104b41 Added a comment 2011-04-26 15:27:49 +00:00
Joey Hess
27774bdd56 Revert "Use haskell Crypto library instead of haskell SHA library.a"
This reverts commit 892593c5ef.

Conflicts:

	Crypto.hs
	debian/control
2011-04-26 11:24:23 -04:00
gernot
ebd6ea1abb 2011-04-26 13:06:58 +00:00
Joey Hess
70d4e7349b ensure tmp file is writable, so rsync can resume
It's possible that rsync finishes transferring a file and sets its mode,
but the file transfer to the annex then fails. When resuming, rsync
would then not be able to write to the tmp file.
2011-04-25 22:04:12 -04:00
Joey Hess
4ea9579b42 add news item for git-annex 0.20110425 2011-04-25 16:03:26 -04:00
Joey Hess
7d71f8770b releasing version 0.20110425 2011-04-25 16:02:57 -04:00
Joey Hess
3d3abab679 move quickcheck Arbitrary declaration into test suite
So git-annex can build w/o quickcheck installed.
2011-04-25 15:28:41 -04:00
Joey Hess
e1bc704a91 Merge remote-tracking branch 'branchable/master' 2011-04-25 14:57:34 -04:00
Joey Hess
76911a446a Avoid using absolute paths when staging location log, as that can confuse git when a remote's path contains a symlink. Closes: #621386
This was a real PITA to fix, since location logs can be staged in
both the current repo, as well as in local remote's repos, in
which case the cwd will not be in the repo. And git add needs different
params in both cases, when absolute paths are not used.

In passing, git annex fsck now stages location log fixes.
2011-04-25 14:54:24 -04:00
Joey Hess
e433c6f0bb generalized relPathDirTo functions 2011-04-25 13:36:39 -04:00
Joey Hess
b0b413c69f fix relative
Not currently used, but was buggy.
2011-04-25 13:02:54 -04:00
Joey Hess
8512a4a1a1 Remove testpack from build depends, as it is not available on all architectures.
The test suite will not be run if it cannot be compiled.

It may be possible later to split off the quickcheck using tests into
a separate program and keep most of the tests using just hunit.
2011-04-25 12:43:22 -04:00
gernot
9715f3132c Added a comment 2011-04-24 11:20:06 +00:00
https://www.google.com/accounts/o8/id?id=AItOawmBUR4O9mofxVbpb8JV9mEbVfIYv670uJo
aa820623dc Added a comment 2011-04-23 17:54:43 +00:00
http://joey.kitenet.net/
96a7b7926e Added a comment 2011-04-23 16:27:13 +00:00
http://joey.kitenet.net/
65adb9240f Added a comment 2011-04-23 16:22:07 +00:00
gernot
a03dc49bb2 2011-04-23 16:02:42 +00:00
https://www.google.com/accounts/o8/id?id=AItOawl9sYlePmv1xK-VvjBdN-5doOa_Xw-jH4U
028b338c29 Added a comment 2011-04-22 18:27:01 +00:00
https://www.google.com/accounts/o8/id?id=AItOawmBUR4O9mofxVbpb8JV9mEbVfIYv670uJo
ca3f05fd6c 2011-04-22 14:24:17 +00:00
Joey Hess
b72de39ba4 add test to ensure hmac remains stable 2011-04-21 16:56:24 -04:00
Joey Hess
892593c5ef Use haskell Crypto library instead of haskell SHA library.a
Since hS3 needs Crypto anyway, this actually reduces dependencies.
2011-04-21 16:37:14 -04:00
Joey Hess
66d951c3fd add news item for git-annex 0.20110420 2011-04-21 15:12:22 -04:00
Joey Hess
24feee25c9 releasing version 0.20110420 2011-04-21 15:11:51 -04:00
Joey Hess
6668a061a8 typo 2011-04-21 14:53:07 -04:00
Joey Hess
dda812583f root caused 2011-04-21 12:13:17 -04:00
Joey Hess
82347fc5ab seems -rtsopts is needed now for profiling 2011-04-21 11:23:44 -04:00
Joey Hess
2467c56771 update on S3 memory leaks
The remaining leaks are in hS3. The leak with encryption was worked around
by the use of the temp file. (And was probably originally caused by
gpgCipherHandle sparking a thread which kept a reference to the start
of the byte string.)
2011-04-21 11:06:29 -04:00
Joey Hess
45bdb2d413 ensure tmp dir exists 2011-04-21 10:53:29 -04:00
Joey Hess
6fcd3e1ef7 fix S3 upload buffering problem
Provide file size to new version of hS3.
2011-04-21 10:33:17 -04:00
Joey Hess
d8329731c6 missing build dep 2011-04-21 09:58:32 -04:00
Joey Hess
d01e30fcc5 Merge remote-tracking branch 'origin/master' 2011-04-21 02:31:17 -04:00
Joey Hess
43639f69f6 ghc7
* Update Debian build dependencies for ghc 7.
* Debian package is now built with S3 support. Thanks Joachim Breitner for
  making this possible, also thanks Greg Heartsfield for working to improve
  the hS3 library for git-annex.

Also hid a conflicting new symbol from Control.Monad.State
2011-04-21 02:22:40 -04:00
Joey Hess
e3651b1285 update 2011-04-21 01:51:15 -04:00
https://www.google.com/accounts/o8/id?id=AItOawl9sYlePmv1xK-VvjBdN-5doOa_Xw-jH4U
156f6c7aa6 removed 2011-04-20 21:46:33 +00:00
https://www.google.com/accounts/o8/id?id=AItOawl9sYlePmv1xK-VvjBdN-5doOa_Xw-jH4U
8d6b4f6f7d Added a comment 2011-04-20 21:33:17 +00:00
https://www.google.com/accounts/o8/id?id=AItOawl9sYlePmv1xK-VvjBdN-5doOa_Xw-jH4U
130252d938 Added a comment 2011-04-20 21:30:13 +00:00
Joey Hess
0c9896114e add news item for git-annex 0.20110419 2011-04-19 22:26:40 -04:00
Joey Hess
143fc7b692 finalize release 2011-04-19 21:40:21 -04:00
Joey Hess
936ad63cf4 heard from hS3 author 2011-04-19 17:56:56 -04:00
Joey Hess
2b742dcd78 Merge remote-tracking branch 'branchable/master' 2011-04-19 16:32:33 -04:00
Joey Hess
4837176897 update on memory leak
Finished applying to S3 the change that fixed the memory leak in bup, but
it didn't seem to help S3.. with encryption it still grows to 2x file size.
2011-04-19 16:31:35 -04:00
http://joey.kitenet.net/
ef6d265af4 Added a comment 2011-04-19 20:13:10 +00:00
Joey Hess
030c7a056b update 2011-04-19 16:03:27 -04:00
Joey Hess
5985acdfad bup: Avoid memory leak when transferring encrypted data.
This was a most surprising leak. It occurred in the process that is forked
off to feed data to gpg. That process was passed a lazy ByteString of
input, and ghc seemed to not GC the ByteString as it was lazily read
and consumed, so memory slowly leaked as the file was read and passed
through gpg to bup.

To fix it, I simply changed the feeder to take an IO action that returns
the lazy bytestring, and fed the result directly to hPut.

AFAICS, this should change nothing WRT buffering. But somehow it makes
ghc's GC do the right thing. Probably I triggered some weakness in ghc's
GC (version 6.12.1).

(Note that S3 still has this leak, and others too. Fixing it will involve
another dance with the type system.)

Update: One theory I have is that this has something to do with
the forking of the feeder process. Perhaps, when the ByteString
is produced before the fork, ghc decides it need to hold a pointer
to the start of it, for some reason -- maybe it doesn't realize that
it is only used in the forked process.
2011-04-19 15:27:03 -04:00
Joey Hess
b1274b6378 refactor 2011-04-19 14:50:09 -04:00