run codespell throughout fixing typos automagically
=== Do not change lines below === { "chain": [], "cmd": "codespell -w", "exit": 0, "extra_inputs": [], "inputs": [], "outputs": [], "pwd": "." } ^^^ Do not change lines above ^^^
This commit is contained in:
parent
aa9f9333ea
commit
87e2ae2014
31 changed files with 47 additions and 47 deletions
|
@ -111,7 +111,7 @@ checkHiddenService = bracket setup cleanup go
|
|||
-- we just want to know if the tor circuit works.
|
||||
liftIO (tryNonAsync $ connectPeer g addr) >>= \case
|
||||
Left e -> do
|
||||
warning $ UnquotedString $ "Unable to connect to hidden service. It may not yet have propigated to the Tor network. (" ++ show e ++ ") Will retry.."
|
||||
warning $ UnquotedString $ "Unable to connect to hidden service. It may not yet have propagated to the Tor network. (" ++ show e ++ ") Will retry.."
|
||||
liftIO $ threadDelaySeconds (Seconds 2)
|
||||
check (n-1) addrs
|
||||
Right conn -> do
|
||||
|
|
|
@ -573,7 +573,7 @@ playlistFields u i = map (uncurry extractField)
|
|||
, ("itemtitle", [youtube_title i])
|
||||
, ("feedauthor", [youtube_playlist_uploader i])
|
||||
, ("itemauthor", [youtube_playlist_uploader i])
|
||||
-- itemsummary omitted, no equivilant in yt-dlp data
|
||||
-- itemsummary omitted, no equivalent in yt-dlp data
|
||||
, ("itemdescription", [youtube_description i])
|
||||
, ("itemrights", [youtube_license i])
|
||||
, ("itemid", [youtube_url i])
|
||||
|
|
|
@ -169,7 +169,7 @@ startAll o outputter = do
|
|||
- same key. The method is to compare each value with the value
|
||||
- after it in the list, which is the old version of the value.
|
||||
-
|
||||
- This ncessarily buffers the whole list, so does not stream.
|
||||
- This necessarily buffers the whole list, so does not stream.
|
||||
- But, the number of location log changes for a single key tends to be
|
||||
- fairly small.
|
||||
-
|
||||
|
@ -377,7 +377,7 @@ sizeHistoryInfo mu o = do
|
|||
-- time across all git-annex repositories.
|
||||
--
|
||||
-- This combines the new location log with what has been
|
||||
-- accumulated so far, which is equivilant to merging together
|
||||
-- accumulated so far, which is equivalent to merging together
|
||||
-- all git-annex branches at that point in time.
|
||||
update k sizemap locmap (oldlog, oldlocs) newlog =
|
||||
( updatesize (updatesize sizemap sz (S.toList addedlocs))
|
||||
|
@ -490,7 +490,7 @@ sizeHistoryInfo mu o = do
|
|||
|
||||
posminus a b = max 0 (a - b)
|
||||
|
||||
-- A verison of sizemap where uuids that are currently dead
|
||||
-- A version of sizemap where uuids that are currently dead
|
||||
-- have 0 size.
|
||||
sizemap' = M.mapWithKey zerodead sizemap
|
||||
zerodead u v = case M.lookup u (simpleMap trustlog) of
|
||||
|
|
|
@ -40,7 +40,7 @@ start (_, key) = do
|
|||
)
|
||||
where
|
||||
{- No need to do any rollback; when sendAnnex fails, a nonzero
|
||||
- exit will be propigated, and the remote will know the transfer
|
||||
- exit will be propagated, and the remote will know the transfer
|
||||
- failed. -}
|
||||
rollback = noop
|
||||
|
||||
|
|
|
@ -267,7 +267,7 @@ seek' o = startConcurrency transferStages $ do
|
|||
|
||||
remotes <- syncRemotes (syncWith o)
|
||||
warnSyncContentTransition o remotes
|
||||
-- Remotes that are git repositories, not (necesarily) special remotes.
|
||||
-- Remotes that are git repositories, not (necessarily) special remotes.
|
||||
let gitremotes = filter (Remote.gitSyncableRemoteType . Remote.remotetype) remotes
|
||||
-- Remotes that contain annex object content.
|
||||
contentremotes <- filter (\r -> Remote.uuid r /= NoUUID)
|
||||
|
@ -978,7 +978,7 @@ seekExportContent :: Maybe SyncOptions -> [Remote] -> CurrBranch -> Annex Bool
|
|||
seekExportContent o rs (mcurrbranch, madj)
|
||||
| null rs = return False
|
||||
| otherwise = do
|
||||
-- Propigate commits from the adjusted branch, so that
|
||||
-- Propagate commits from the adjusted branch, so that
|
||||
-- when the remoteAnnexTrackingBranch is set to the parent
|
||||
-- branch, it will be up-to-date.
|
||||
case (mcurrbranch, madj) of
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue