Commit graph

5113 commits

Author SHA1 Message Date
https://www.google.com/accounts/o8/id?id=AItOawmBUR4O9mofxVbpb8JV9mEbVfIYv670uJo
2d63e23f70 Added a comment 2012-08-14 14:10:40 +00:00
https://www.google.com/accounts/o8/id?id=AItOawkS6aFVrEwOrDuQBTMXxtGHtueA69NS_jo
75f65dcfc0 Added a comment: using sshfs + cryptmount is more secure 2012-08-14 13:41:47 +00:00
https://www.google.com/accounts/o8/id?id=AItOawm3uJkdiJJejvqix9dULvw_Ma7DCtB-6zA
61955e7a0f Added a comment: git clone git://git-annex.branchable.com/ gives an error 2012-08-13 20:57:34 +00:00
https://www.google.com/accounts/o8/id?id=AItOawneJXwhacIb0YvvdYFxhlNVpz6Wpg6V7AA
2d41d6a209 Added a comment 2012-08-13 00:37:36 +00:00
https://www.google.com/accounts/o8/id?id=AItOawmsXDFwEbZ4GK78UuHv21CMXmhujArHSYg
75bb13092c Add info relative to new g3 branches and the merge of adc in g2/ 2012-08-12 23:08:09 +00:00
Joey Hess
a73e271d60 run resumed transfers immediately, do not wait for free transfer slot
The resumed transfer still uses a slot, so will delay other, queued
transfers from starting.
2012-08-12 12:36:08 -04:00
Joey Hess
b6b8f6da9c implement resuming of paused transfers
Currently waits for a new transfer slot to open up, which probably needs to
change..
2012-08-12 12:11:20 -04:00
http://claimid.com/strager
fb29916e48 Added a comment 2012-08-11 16:08:47 +00:00
http://joeyh.name/
876b4c652c Added a comment 2012-08-11 14:41:51 +00:00
http://claimid.com/strager
c3b0e01c5b Added a comment 2012-08-11 04:55:13 +00:00
http://claimid.com/strager
a2cc373879 Added a comment 2012-08-11 04:50:52 +00:00
Joey Hess
c130878ad6 Merge branch 'master' of ssh://git-annex.branchable.com 2012-08-10 19:04:26 -04:00
Joey Hess
f89a954be9 blog for the day 2012-08-10 19:03:40 -04:00
Joey Hess
37eed5d8d0 fix button display for paused transfer 2012-08-10 18:50:21 -04:00
Joey Hess
8ba9830653 implement pausing of transfers
A paused transfer's thread keeps running, keeping the slot in use.
This is intentional; pausing a transfer should not let other
queued transfers to run in its place.
2012-08-10 18:42:44 -04:00
Joey Hess
21bd92f077 send update notificaton when removing a queued transfer 2012-08-10 16:00:24 -04:00
Joey Hess
0d80406b2b remove dummy 2012-08-10 15:54:12 -04:00
Joey Hess
a76078a78e process group killing
This seems to work pretty well.

Handled the process groups like this:

- git-annex processes started by the assistant for transfers are run in their
  own process groups.
- otherwise, rely on the shell to allocate a process group for git-annex

There is potentially a problem if some other program runs git-annex
directly (not using sh -c) The program and git-annex would then be in
the same process group. If that git-annex starts a transfer and it's
canceled, the program would also get killed. May or may not be a desired
result.

Also, the new updateTransferInfo probably closes a race where it was
possible for the thread id to not be recorded in the transfer info, if
the transfer info file from the transfer process is read first.
2012-08-10 15:52:22 -04:00
Joey Hess
d5e06e7b89 fork off git-annex copy for transfers
This doesn't quite work, because canceling a transfer sends a signal
to git-annex, but not to rsync (etc).

Looked at making git-annex run in its own process group, which could then
be killed, and would kill child processes. But, rsync checks if it's
process group is the foreground process group and doesn't show progress if
not, and when git has run git-annex, if git-annex makes a new process
group, that is not the case. Also, if git has run git-annex, ctrl-c
wouldn't be propigated to it if it made a new process group.

So this seems like a blind alley, but recording it here just in case.
2012-08-10 14:14:08 -04:00
http://nanotech.nanotechcorp.net/
0076c613c0 Added a comment: SHA performance 2012-08-10 04:37:33 +00:00
Joey Hess
96fe122d09 wobble 2012-08-09 16:37:39 -04:00
Joey Hess
c7a457351f wibble 2012-08-09 16:31:16 -04:00
Joey Hess
fefafe5783 fix link 2012-08-09 16:20:19 -04:00
Joey Hess
17957c3397 todo: restart 2012-08-09 16:14:18 -04:00
Joey Hess
58d38da8ce Merge branch 'master' of ssh://git-annex.branchable.com 2012-08-09 16:03:19 -04:00
Joey Hess
05ae62e2a7 blog for the day 2012-08-09 16:02:16 -04:00
Joey Hess
2e1f3a86ae Merge branch 'master' into assistant
Conflicts:
	debian/changelog
2012-08-09 14:03:40 -04:00
http://joeyh.name/
63b837aa44 Added a comment 2012-08-09 18:01:06 +00:00
Joey Hess
ad4e152fd6 S3: Add fileprefix setting. 2012-08-09 13:54:54 -04:00
Joey Hess
be310ac4d0 support building with yesod-default 1.1.0
Old 1.0.1 version is still supported as well. Cabal autodetects
which version is available, but in the Makefile, WITH_OLD_YESOD
has to be configured appropriately.

I have not squashed all the $newline warnings with the new Yesod.
They should go away eventually anyway as Yesod moves past that transition.
2012-08-09 13:33:04 -04:00
https://www.google.com/accounts/o8/id?id=AItOawmX5gPNK35Dub-HzR0Yb3KXllbqc0rYRYs
5fc8c2b07b Added a comment: bucket/folder s3 remotes 2012-08-09 10:52:07 +00:00
https://www.google.com/accounts/o8/id?id=AItOawmX5gPNK35Dub-HzR0Yb3KXllbqc0rYRYs
7f30ca196d removed 2012-08-09 10:51:36 +00:00
https://www.google.com/accounts/o8/id?id=AItOawmX5gPNK35Dub-HzR0Yb3KXllbqc0rYRYs
b350e7ee36 Added a comment: folder inside a bucket 2012-08-09 10:50:54 +00:00
https://www.google.com/accounts/o8/id?id=AItOawmarFV8Z8A-KF06IUC4fvf2M6crWVDzrL8
0e50f0a09a another folder suggestion for the poll (even though it's closed) 2012-08-09 08:43:23 +00:00
Joey Hess
4ab6128f71 fix filename 2012-08-08 18:08:32 -04:00
Joey Hess
521636a60a blog for the day 2012-08-08 18:07:44 -04:00
Joey Hess
20203b45b9 transfer canceling
Should work (untested) for transfers being run by other processes.

Not yet by transfers being run by the assistant. killThread does not
kill processes forked off by a thread. To fix this, will probably
need to make `git annex getkey` and `git annex sendkey` commands that
operate on keys, and write their own transfer info. Then the assistant
can run them, and kill them, as needed.
2012-08-08 17:55:56 -04:00
Joey Hess
09449792fa factor out onclick javascript 2012-08-08 17:07:38 -04:00
Joey Hess
94fcd0cf59 add routes to pause/start/cancel transfers
This commit includes a paydown on technical debt incurred two years ago,
when I didn't know that it was bad to make custom Read and Show instances
for types. As the routes need Read and Show for Transfer, which includes a
Key, and deriving my own Read instance of key was not practical,
I had to finally clean that up.

So the compact Key read and show functions are now file2key and key2file,
and Read and Show are now derived instances.

Changed all code that used the old instances, compiler checked.
(There were a few places, particularly in Command.Unused, and the test
suite where the Show instance continue to be used for legitimate
comparisons; ie show key_x == show key_y (though really in a bloom filter))
2012-08-08 16:20:24 -04:00
Joey Hess
e0cd977669 make pid file directory 2012-08-08 14:18:02 -04:00
Joey Hess
96950a3b40 add pause/start and cancel buttons to transfer display 2012-08-08 14:14:19 -04:00
Joey Hess
fb4b19deed make the webapp honor the web.browser git config 2012-08-08 13:15:35 -04:00
https://www.google.com/accounts/o8/id?id=AItOawkSq2FDpK2n66QRUxtqqdbyDuwgbQmUWus
7f36f6686a Added a comment 2012-08-08 14:54:42 +00:00
hannes
f4bc44c47c Added a comment: awesome, thanks 2012-08-08 12:25:21 +00:00
http://joeyh.name/
b01b79bae7 Added a comment 2012-08-07 20:06:26 +00:00
http://joeyh.name/
b3524bc550 Added a comment: remember now 2012-08-07 19:37:22 +00:00
http://joeyh.name/
36c90c327a Added a comment 2012-08-07 17:53:35 +00:00
Joey Hess
cb552f4a44 add news item for git-annex 3.20120807 2012-08-07 13:50:26 -04:00
Joey Hess
d99abc1255 releasing version 3.20120807 2012-08-07 13:49:58 -04:00
Joey Hess
7e2d07484f Merge branch 'master' into assistant 2012-08-07 13:31:43 -04:00