Commit graph

4268 commits

Author SHA1 Message Date
https://www.google.com/accounts/o8/id?id=AItOawmWQTrnPloMWiPFg8Y2Y5g-2IYe26D0KKw
583cfb5667 Added a comment 2012-07-07 16:18:08 +00:00
Joey Hess
9bcfbc4048 todo 2012-07-06 21:17:21 -06:00
Joey Hess
8ad844e45c fix leading period before two-element extensions 2012-07-06 17:22:56 -06:00
Joey Hess
2c4b39be4f blog for the day 2012-07-06 17:06:05 -06:00
Joey Hess
27ac0ec332 ssh connection caching is ok, but there is another problem 2012-07-06 14:58:30 -06:00
Joey Hess
8489419deb todo 2012-07-06 14:56:41 -06:00
Joey Hess
bde355a65b reorg, and add a link to a good forum post todo 2012-07-06 14:21:26 -04:00
Joey Hess
1024e5885f Merge branch 'master' of ssh://git-annex.branchable.com 2012-07-06 12:06:28 -06:00
http://joeyh.name/
1cae1bf79c Added a comment 2012-07-06 13:04:07 +00:00
https://www.google.com/accounts/o8/id?id=AItOawkSq2FDpK2n66QRUxtqqdbyDuwgbQmUWus
7a5229eb3b 2012-07-06 08:48:10 +00:00
https://www.google.com/accounts/o8/id?id=AItOawncBlzaDI248OZGjKQMXrLVQIx4XrZrzFo
4104785bcb 2012-07-06 08:10:00 +00:00
http://joeyh.name/
c944f50fc1 Added a comment 2012-07-06 00:21:43 +00:00
https://www.google.com/accounts/o8/id?id=AItOawldKnauegZulM7X6JoHJs7Gd5PnDjcgx-E
f5cb8ed690 Added a comment: Source code 2012-07-06 00:12:16 +00:00
Joey Hess
f462520bf9 todo 2012-07-05 16:41:17 -06:00
Joey Hess
5a753a7b8a SHAnE backends are now smarter about composite extensions, such as .tar.gz Closes: #680450 2012-07-05 16:24:02 -06:00
Joey Hess
25701717eb Merge branch 'master' of ssh://git-annex.branchable.com 2012-07-05 14:49:21 -06:00
Joey Hess
b1629356ce blog for the day
major milestone today!
2012-07-05 14:47:10 -06:00
http://joeyh.name/
08d6e6903b Added a comment 2012-07-05 17:04:34 +00:00
Joey Hess
bd2c4c982d update 2012-07-05 11:01:53 -06:00
https://www.google.com/accounts/o8/id?id=AItOawnXgp-iIaBK5pnk22xqMVERQb97VyXaejs
530c1b092a 2012-07-05 08:04:54 +00:00
Joey Hess
59f8413abe update 2012-07-04 13:40:57 -04:00
Joey Hess
6a0549e7f5 Merge branch 'master' of ssh://git-annex.branchable.com 2012-07-04 13:23:05 -04:00
Joey Hess
1f3f221b80 blog for the day
(may be updated later)
2012-07-04 13:22:32 -04:00
Joey Hess
40729e7fa2 Use SHA library for files less than 50 kb in size, at which point it's faster than forking the more optimised external program. 2012-07-04 13:04:01 -04:00
http://joeyh.name/
b0be7b4eff Added a comment 2012-07-04 13:14:00 +00:00
Joey Hess
d3be479093 Merge branch 'master' of ssh://git-annex.branchable.com 2012-07-04 09:12:41 -04:00
Joey Hess
1da79ea61f When shaNsum commands cannot be found, use the Haskell SHA library (already a dependency) to do the checksumming. This may be slower, but avoids portability problems.
Using Crypto's version of the hashes would be another option.
I need to benchmark it. The SHA2 library (which provides SHA1 also,
confusing name) may be the fastest option, but is not currently in Debian.
2012-07-04 09:11:36 -04:00
http://joeyh.name/
5153f84546 Added a comment 2012-07-04 12:43:54 +00:00
http://joeyh.name/
f6d18ec68d Added a comment 2012-07-04 12:32:44 +00:00
Joey Hess
597d16ed9c response 2012-07-04 07:32:03 -04:00
https://www.google.com/accounts/o8/id?id=AItOawnIsjgK_cdfZcIAumVRwTvNXS4cD0zNnaI
ed87f27db9 git annex du 2012-07-04 11:15:30 +00:00
Joey Hess
f40b78d125 blog for the day 2012-07-03 18:11:10 -04:00
Joey Hess
a6e267eeec update 2012-07-03 11:11:32 -04:00
Joey Hess
7cd9a659cd blog for the day 2012-07-02 16:17:56 -04:00
Joey Hess
4845b59413 startedTime needs to be a Maybe to handle transfers that have not started yet
This changes the file format.
2012-07-02 16:17:06 -04:00
Joey Hess
224dac374e update 2012-07-02 16:08:23 -04:00
Joey Hess
0c0fd0c54c update 2012-07-02 13:49:27 -04:00
Joey Hess
7daa269853 better pid file locking code 2012-07-02 13:47:32 -04:00
Joey Hess
bdcabb3cfa fix associatedfile sanity check
It seems best to require that the file just be relative, and not some ../ trick.

git-annex-shell sendkey and recvkey both update transfer information now
2012-07-02 11:10:17 -04:00
Joey Hess
8f6c2e6081 fix reading of empty filename from transfer info file 2012-07-02 11:02:47 -04:00
Joey Hess
760e028dca pass associatedfile and remoteuuid to git-annex-shell
This *almost* works.

Along the way, I noticed that the --uuid parameter was being accidentially
passed after the --, so that has never been actually used by
git-annex-shell to verify it's running in the expected repository. Oops. Fixed.
2012-07-02 10:57:51 -04:00
Joey Hess
74f0d67aa3 avoid untrappable exception if dirContentsRecursive is run on a directory
that doesn't exist, or cannot be read

The problem is its use of unsafeInterleaveIO, which causes its IO code
to run when the thunk is forced, outside any exception trapping the caller
may do.
2012-07-02 10:56:26 -04:00
Joey Hess
9517fbb948 cleanup 2012-07-02 08:35:15 -04:00
Joey Hess
bab6dc48d3 official Fedora builds now available for F16, F17 2012-07-02 07:51:55 -04:00
Joey Hess
bea0ac0274 record transfers for git-annex-shell
Not yet tested and places git-annex-shell is run need to be modified to
pass the new field settings.

Note that rsyncServerSend was changed to fork, rather than directly exec
rsync, because it needs to keep the transfer lock held, and clean up the
transfer log when done.
2012-07-02 01:31:10 -04:00
Joey Hess
d1f49b0ad0 add fields to git-annex-shell 2012-07-02 00:53:00 -04:00
Joey Hess
2d2bfe9809 reorg 2012-07-01 20:55:20 -04:00
Joey Hess
c53da2b04a blog for the day 2012-07-01 17:15:11 -04:00
Joey Hess
7225c2bfc0 record transfer information on local git remotes
In order to record a semi-useful filename associated with the key,
this required plumbing the filename all the way through to the remotes'
storeKey and retrieveKeyFile.

Note that there is potential for deadlock here, narrowly avoided.
Suppose the repos are A and B. A sends file foo to B, and at the same
time, B gets file foo from A. So, A locks its upload transfer info file,
and then locks B's download transfer info file. At the same time,
B is taking the two locks in the opposite order. This is only not a
deadlock because the lock code does not wait, and aborts. So one of A or
B's transfers will be aborted and the other transfer will continue.
Whew!
2012-07-01 17:15:11 -04:00
Joey Hess
8c10f37714 bugfixes
fdToHandle seems to close the fd

avoid excess trailing newline
2012-07-01 17:15:11 -04:00