Joey Hess
715a9a2f8e
keep logs of failed transfers, and requeue them when doing a non-full scan
...
of a remote
2012-08-23 15:24:15 -04:00
Joey Hess
487bdf0e24
add transfer scanned flag files
2012-08-23 13:42:26 -04:00
Joey Hess
3dce75fb23
make old activiy alerts stay visible
...
They're updated to show whether the activity succeeded or failed.
This adds several TODOs to the code to fix later.
2012-07-30 02:39:24 -04:00
Joey Hess
d52c932424
moved all alert messages into one file
...
Makes it easier to edit for consistent voice etc.
2012-07-29 18:09:24 -04:00
Joey Hess
09e77a0cf0
add some alerts
2012-07-29 13:22:08 -04:00
Joey Hess
e31277d38a
send notifications when the TransferQueue is changed
...
The fun part was making it move things from TransferQueue to currentTransfers
entirely atomically. Which will avoid inconsistent display if the WebApp
renders the current status at just the wrong time. STM to the rescue!
2012-07-28 18:47:24 -04:00
Joey Hess
95c80b6440
laziness fix
...
Now scanning runs fully interleaved with transferring.
2012-07-25 14:54:09 -04:00
Joey Hess
b665ffe36f
implement simple working copy based scan
...
Works.. could be more efficient.
2012-07-25 14:16:53 -04:00
Joey Hess
a9dbfdf28d
better transfer queue management
...
Allow transfers to be added with blocking until the queue is sufficiently
small.
Better control over which end of the queue to add a transfer to.
2012-07-25 13:12:34 -04:00
Joey Hess
6107328a6b
avoid spawning new transfer thread until a slot becomes available
2012-07-25 12:07:30 -04:00
Joey Hess
522f568450
add TransferScanner thread
...
Efficiently finding transfers that need to be done to get two repos back
in sync seems like an interesting problem.
2012-07-22 23:16:56 -04:00