Commit graph

5607 commits

Author SHA1 Message Date
Joey Hess
d228e4ca8c add news item for git-annex 3.20120825 2012-08-25 10:28:24 -04:00
Joey Hess
0ef7028077 releasing version 3.20120825 2012-08-25 10:27:59 -04:00
http://joeyh.name/
8473cdb07d Added a comment 2012-08-25 13:11:37 +00:00
http://joeyh.name/
11f95de7e4 Added a comment 2012-08-25 13:06:31 +00:00
https://www.google.com/accounts/o8/id?id=AItOawmU_2tE75oyG0h2ZPN4lcroIKEMC8G-otE
50f84b4383 2012-08-25 08:23:01 +00:00
https://www.google.com/accounts/o8/id?id=AItOawmU_2tE75oyG0h2ZPN4lcroIKEMC8G-otE
ab06112b39 2012-08-25 08:22:36 +00:00
https://www.google.com/accounts/o8/id?id=AItOawmU_2tE75oyG0h2ZPN4lcroIKEMC8G-otE
83dd81f4af 2012-08-25 08:22:21 +00:00
Joey Hess
c9b3b8829d thread safe git-annex index file use 2012-08-24 20:50:39 -04:00
Joey Hess
414fa8375e Merge branch 'master' of ssh://git-annex.branchable.com 2012-08-24 17:42:23 -04:00
Joey Hess
dda61b1b80 blog for the day 2012-08-24 17:40:38 -04:00
Joey Hess
8de7699f39 add transferkey command
Used by the assistant, rather than copy, this is faster because it avoids
using git ls-files, avoids checking the location log redundantly, and
runs in oneshot mode, avoiding making a commit to the git-annex branch
for every file transferred.
2012-08-24 17:23:58 -04:00
Joey Hess
ab5e409a95 keep track of which remotes have been scanned in process state
Since it turned out to make sense to always scan all remotes on startup,
there's no need to persist the info about which have been scanned.
2012-08-24 15:52:23 -04:00
https://me.yahoo.com/speredenn#aaf38
c387f98bc9 Added PATH variable part 2012-08-24 18:22:07 +00:00
Joey Hess
0b1015370b fix priority inversion
low cost ==> high priority
2012-08-24 13:59:35 -04:00
Joey Hess
a52c552f0b avoid crash when directory doesn't exist 2012-08-24 13:59:24 -04:00
Joey Hess
e58d19b533 run full transfer scan on all remotes at startup
Or when a remote first becomes available after startup.
2012-08-24 13:46:10 -04:00
Joey Hess
9fafddc7eb make higher priorities and full scans be preserved when adding 2012-08-24 13:28:20 -04:00
Joey Hess
47875e9b94 update 2012-08-24 13:13:41 -04:00
Joey Hess
72e110ce5d avoid requeueing a download from a remote that no longer has a key 2012-08-24 13:08:38 -04:00
Joey Hess
748bd1e1e1 bug fixed 2012-08-24 12:18:51 -04:00
Joey Hess
13fa141cd3 Merge branch 'master' of ssh://git-annex.branchable.com 2012-08-24 12:17:44 -04:00
Joey Hess
bc6eaa4ebb Merge remote-tracking branch 'origin/master' 2012-08-24 12:17:24 -04:00
Joey Hess
b985e0b7ec Bugfix: Fix fsck in SHA*E backends, when the key contains composite extensions, as added in 3.20120721. 2012-08-24 12:17:21 -04:00
Joey Hess
1f83dafc7e Bugfix: Fix fsck in SHA*E backends, when the key contains composite extensions, as added in 3.20120721. 2012-08-24 12:16:17 -04:00
https://www.google.com/accounts/o8/id?id=AItOawla3gLc6_rHuggFfy7o7eGMPvPztFZTrUQ
d25f407e67 2012-08-24 08:44:56 +00:00
Joey Hess
cea55b70fc remove slightly misleading extended message 2012-08-23 19:10:20 -04:00
Joey Hess
f3721d89bc also notice dbus unmount events 2012-08-23 18:58:54 -04:00
https://www.google.com/accounts/o8/id?id=AItOawmBUR4O9mofxVbpb8JV9mEbVfIYv670uJo
bb949ed2d2 Added a comment 2012-08-23 21:25:48 +00:00
https://www.google.com/accounts/o8/id?id=AItOawnY9ObrNrQuRp8Xs0XvdtJJssm5cp4NMZA
476c60ce1f Added a comment: Rackspace Cloud Files support? 2012-08-23 21:00:12 +00:00
Joey Hess
0416157e90 Merge branch 'master' of ssh://git-annex.branchable.com 2012-08-23 16:28:08 -04:00
Joey Hess
73c24e05d8 blog for the day 2012-08-23 16:27:21 -04:00
Joey Hess
d5d4b8db34 update 2012-08-23 16:24:22 -04:00
Joey Hess
4a4f8064ae make the NetWatcher always rescan networked remotes every 30 minutes
There are multiple reasons to do this:

* The local network may be up solid, but a route to a networked remote
  is having trouble. Any transfers to it that fail should be retried.
* Someone might have wicd running, but like to bring up new networks
  by hand too. This way, it'll eventually notice them.
2012-08-23 16:13:43 -04:00
Joey Hess
37b960d3b0 don't rely on hasKeyCheap in the transfer scan
The problem with using it here is that, if a removable drive is scanned
and gets disconnected during the scan, testing for all the files will
indicate it doesn't have them, and the scan is logged as completed
successfully, without necessary transfers being queued.
2012-08-23 15:48:31 -04:00
Joey Hess
6420fa6c08 remove pointless bracket 2012-08-23 15:48:14 -04:00
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
ab8cb05989 scan cheapest remotes first
This way, we get transfers from cheapest remotes.
2012-08-23 13:41:38 -04:00
https://www.google.com/accounts/o8/id?id=AItOawmubB1Sj2rwFoVdZYvGV0ACaQUJQyiJXJI
199cedf978 Added a comment: Amazon Glacier 2012-08-23 06:32:24 +00:00
Joey Hess
dfb6709064 blog for the day 2012-08-22 15:47:08 -04:00
Joey Hess
e43feeb5b4 update 2012-08-22 15:45:20 -04:00
Joey Hess
546ba8b7e1 better name 2012-08-22 15:37:26 -04:00
Joey Hess
5c3e14649e avoid unnecessary transfer scans when syncing a disconnected remote
Found a very cheap way to determine when a disconnected remote has
diverged, and has new content that needs to be transferred: Piggyback on
the git-annex branch update, which already checks for divergence.

However, this does not check if new content has appeared locally while
disconnected, that should be transferred to the remote.

Also, this does not handle cases where the two git repos are in sync,
but their content syncing has not caught up yet.

This code could have its efficiency improved:

* When multiple remotes are synced, if any one has diverged, they're
  all queued for transfer scans.
* The transfer scanner could be told whether the remote has new content,
  the local repo has new content, or both, and could optimise its scan
  accordingly.
2012-08-22 15:05:57 -04:00
Joey Hess
5d577c32a9 move some git operations outside the annex monad to avoid blocking other threads 2012-08-22 14:36:58 -04:00
Joey Hess
68659f4998 refactor 2012-08-22 14:32:17 -04:00
Joey Hess
6873ca0c1b blog for the day 2012-08-21 20:25:20 -04:00
Joey Hess
5a68acb521 add NetWatcher thread
This deals with interruptions in network connectevity, by listening
for a new network interface coming up (using dbus to see when
network-manager or wicd do it), and forcing a rescan of
2012-08-21 19:58:53 -04:00
https://me.yahoo.com/speredenn#aaf38
625330ae78 Added a comment 2012-08-21 18:15:48 +00:00
Joey Hess
e3e8d32924 Merge branch 'master' into assistant 2012-08-21 13:12:38 -04:00
Joey Hess
8f4870c7b6 add amazon glacier 2012-08-21 12:20:51 -04:00