diff options
author | Joey Hess <joeyh@joeyh.name> | 2016-08-03 12:37:12 -0400 |
---|---|---|
committer | Joey Hess <joeyh@joeyh.name> | 2016-08-03 12:37:12 -0400 |
commit | 508517de485e77196a8d8e33558f4185c50dea96 (patch) | |
tree | 319fc6e63da144e40dd124a07f4bb6c0ad25c5ee /Assistant | |
parent | 019733f00d01301d71acc46245d2dc130934d951 (diff) |
get, move, copy, mirror: Added --failed switch which retries failed copies/moves
Note that get --from foo --failed will get things that a previous get --from bar
tried and failed to get, etc. I considered making --failed only retry
transfers from the same remote, but it was easier, and seems more useful,
to not have the same remote requirement.
Noisy due to some refactoring into Types/
Diffstat (limited to 'Assistant')
-rw-r--r-- | Assistant/Alert.hs | 2 | ||||
-rw-r--r-- | Assistant/DaemonStatus.hs | 1 | ||||
-rw-r--r-- | Assistant/DeleteRemote.hs | 2 | ||||
-rw-r--r-- | Assistant/Sync.hs | 2 | ||||
-rw-r--r-- | Assistant/Threads/Committer.hs | 2 | ||||
-rw-r--r-- | Assistant/Threads/Cronner.hs | 2 | ||||
-rw-r--r-- | Assistant/Threads/Glacier.hs | 1 | ||||
-rw-r--r-- | Assistant/Threads/SanityChecker.hs | 2 | ||||
-rw-r--r-- | Assistant/Threads/TransferPoller.hs | 1 | ||||
-rw-r--r-- | Assistant/Threads/TransferScanner.hs | 1 | ||||
-rw-r--r-- | Assistant/Threads/TransferWatcher.hs | 1 | ||||
-rw-r--r-- | Assistant/Threads/Transferrer.hs | 2 | ||||
-rw-r--r-- | Assistant/TransferQueue.hs | 1 | ||||
-rw-r--r-- | Assistant/TransferSlots.hs | 1 | ||||
-rw-r--r-- | Assistant/TransferrerPool.hs | 2 | ||||
-rw-r--r-- | Assistant/Types/DaemonStatus.hs | 2 | ||||
-rw-r--r-- | Assistant/Types/TransferQueue.hs | 2 |
17 files changed, 17 insertions, 10 deletions
diff --git a/Assistant/Alert.hs b/Assistant/Alert.hs index 265828dbb..bc79a70a8 100644 --- a/Assistant/Alert.hs +++ b/Assistant/Alert.hs @@ -14,7 +14,7 @@ import Assistant.Types.Alert import Assistant.Alert.Utility import qualified Remote import Utility.Tense -import Logs.Transfer +import Types.Transfer import Types.Distribution import Git.Types (RemoteName) diff --git a/Assistant/DaemonStatus.hs b/Assistant/DaemonStatus.hs index 92aad0735..3b2c6f3cd 100644 --- a/Assistant/DaemonStatus.hs +++ b/Assistant/DaemonStatus.hs @@ -14,6 +14,7 @@ import Assistant.Alert.Utility import Utility.Tmp import Assistant.Types.NetMessager import Utility.NotificationBroadcaster +import Types.Transfer import Logs.Transfer import Logs.Trust import Logs.TimeStamp diff --git a/Assistant/DeleteRemote.hs b/Assistant/DeleteRemote.hs index 5b044fd18..c69011e79 100644 --- a/Assistant/DeleteRemote.hs +++ b/Assistant/DeleteRemote.hs @@ -12,7 +12,7 @@ module Assistant.DeleteRemote where import Assistant.Common import Assistant.Types.UrlRenderer import Assistant.TransferQueue -import Logs.Transfer +import Types.Transfer import Logs.Location import Assistant.DaemonStatus import qualified Remote diff --git a/Assistant/Sync.hs b/Assistant/Sync.hs index 665394a4d..9b9e7ebe5 100644 --- a/Assistant/Sync.hs +++ b/Assistant/Sync.hs @@ -36,7 +36,7 @@ import Assistant.Threads.Watcher (watchThread, WatcherControl(..)) import Assistant.TransferSlots import Assistant.TransferQueue import Assistant.RepoProblem -import Logs.Transfer +import Types.Transfer import Data.Time.Clock import qualified Data.Map as M diff --git a/Assistant/Threads/Committer.hs b/Assistant/Threads/Committer.hs index d35bd79a2..7b366bc0a 100644 --- a/Assistant/Threads/Committer.hs +++ b/Assistant/Threads/Committer.hs @@ -17,7 +17,7 @@ import Assistant.Alert import Assistant.DaemonStatus import Assistant.TransferQueue import Assistant.Drop -import Logs.Transfer +import Types.Transfer import Logs.Location import qualified Annex.Queue import qualified Git.LsFiles diff --git a/Assistant/Threads/Cronner.hs b/Assistant/Threads/Cronner.hs index 14026cfcc..0b505b8f2 100644 --- a/Assistant/Threads/Cronner.hs +++ b/Assistant/Threads/Cronner.hs @@ -24,7 +24,7 @@ import Utility.HumanTime import Utility.Batch import Assistant.TransferQueue import Annex.Content -import Logs.Transfer +import Types.Transfer import Assistant.Types.UrlRenderer import Assistant.Alert import Remote diff --git a/Assistant/Threads/Glacier.hs b/Assistant/Threads/Glacier.hs index 900e0d423..b5eaa5ea9 100644 --- a/Assistant/Threads/Glacier.hs +++ b/Assistant/Threads/Glacier.hs @@ -14,6 +14,7 @@ import Assistant.Common import Utility.ThreadScheduler import qualified Types.Remote as Remote import qualified Remote.Glacier as Glacier +import Types.Transfer import Logs.Transfer import Assistant.DaemonStatus import Assistant.TransferQueue diff --git a/Assistant/Threads/SanityChecker.hs b/Assistant/Threads/SanityChecker.hs index a4f037f5a..62ba8f0d0 100644 --- a/Assistant/Threads/SanityChecker.hs +++ b/Assistant/Threads/SanityChecker.hs @@ -38,7 +38,7 @@ import Git.Repair import Git.Index import Assistant.Unused import Logs.Unused -import Logs.Transfer +import Types.Transfer import Annex.Path import qualified Annex #ifdef WITH_WEBAPP diff --git a/Assistant/Threads/TransferPoller.hs b/Assistant/Threads/TransferPoller.hs index 73562dbf7..f5d6890c8 100644 --- a/Assistant/Threads/TransferPoller.hs +++ b/Assistant/Threads/TransferPoller.hs @@ -9,6 +9,7 @@ module Assistant.Threads.TransferPoller where import Assistant.Common import Assistant.DaemonStatus +import Types.Transfer import Logs.Transfer import Utility.NotificationBroadcaster import qualified Assistant.Threads.TransferWatcher as TransferWatcher diff --git a/Assistant/Threads/TransferScanner.hs b/Assistant/Threads/TransferScanner.hs index 7386d5528..10aed20b0 100644 --- a/Assistant/Threads/TransferScanner.hs +++ b/Assistant/Threads/TransferScanner.hs @@ -16,6 +16,7 @@ import Assistant.Drop import Assistant.Sync import Assistant.DeleteRemote import Assistant.Types.UrlRenderer +import Types.Transfer import Logs.Transfer import Logs.Location import Logs.Group diff --git a/Assistant/Threads/TransferWatcher.hs b/Assistant/Threads/TransferWatcher.hs index c452d87c2..a04c6c01c 100644 --- a/Assistant/Threads/TransferWatcher.hs +++ b/Assistant/Threads/TransferWatcher.hs @@ -10,6 +10,7 @@ module Assistant.Threads.TransferWatcher where import Assistant.Common import Assistant.DaemonStatus import Assistant.TransferSlots +import Types.Transfer import Logs.Transfer import Utility.DirWatcher import Utility.DirWatcher.Types diff --git a/Assistant/Threads/Transferrer.hs b/Assistant/Threads/Transferrer.hs index 9e9256e3a..293ce41c2 100644 --- a/Assistant/Threads/Transferrer.hs +++ b/Assistant/Threads/Transferrer.hs @@ -10,7 +10,7 @@ module Assistant.Threads.Transferrer where import Assistant.Common import Assistant.TransferQueue import Assistant.TransferSlots -import Logs.Transfer +import Types.Transfer import Annex.Path import Utility.Batch diff --git a/Assistant/TransferQueue.hs b/Assistant/TransferQueue.hs index ba13b3f04..8117d309c 100644 --- a/Assistant/TransferQueue.hs +++ b/Assistant/TransferQueue.hs @@ -26,6 +26,7 @@ module Assistant.TransferQueue ( import Assistant.Common import Assistant.DaemonStatus import Assistant.Types.TransferQueue +import Types.Transfer import Logs.Transfer import Types.Remote import qualified Remote diff --git a/Assistant/TransferSlots.hs b/Assistant/TransferSlots.hs index 2ea09c419..25342f2b3 100644 --- a/Assistant/TransferSlots.hs +++ b/Assistant/TransferSlots.hs @@ -21,6 +21,7 @@ import Assistant.Alert import Assistant.Alert.Utility import Assistant.Commits import Assistant.Drop +import Types.Transfer import Logs.Transfer import Logs.Location import qualified Git diff --git a/Assistant/TransferrerPool.hs b/Assistant/TransferrerPool.hs index 152625f4f..7c0cb4415 100644 --- a/Assistant/TransferrerPool.hs +++ b/Assistant/TransferrerPool.hs @@ -9,7 +9,7 @@ module Assistant.TransferrerPool where import Assistant.Common import Assistant.Types.TransferrerPool -import Logs.Transfer +import Types.Transfer import Utility.Batch import qualified Command.TransferKeys as T diff --git a/Assistant/Types/DaemonStatus.hs b/Assistant/Types/DaemonStatus.hs index d9259843b..8bb66261e 100644 --- a/Assistant/Types/DaemonStatus.hs +++ b/Assistant/Types/DaemonStatus.hs @@ -10,7 +10,7 @@ module Assistant.Types.DaemonStatus where import Annex.Common import Assistant.Pairing import Utility.NotificationBroadcaster -import Logs.Transfer +import Types.Transfer import Assistant.Types.ThreadName import Assistant.Types.NetMessager import Assistant.Types.Alert diff --git a/Assistant/Types/TransferQueue.hs b/Assistant/Types/TransferQueue.hs index ee9409a4b..7e2b4ce3b 100644 --- a/Assistant/Types/TransferQueue.hs +++ b/Assistant/Types/TransferQueue.hs @@ -8,7 +8,7 @@ module Assistant.Types.TransferQueue where import Annex.Common -import Logs.Transfer +import Types.Transfer import Control.Concurrent.STM import Utility.TList |