mirror of
https://github.com/commercialhaskell/stackage-server.git
synced 2026-01-12 04:08:29 +01:00
Add @hvr's mirror
This commit is contained in:
parent
e53b6f50b2
commit
7db1e96d9c
@ -44,8 +44,12 @@ mkUpdateMirrorStatus = mkAutoUpdate defaultUpdateSettings
|
||||
[ "http://hackage.fpcomplete.com/00-index.tar.gz"
|
||||
, "http://hackage.fpcomplete.com/01-index.tar.gz"
|
||||
]
|
||||
otherMods <- mapM getLastModifiedHTTP
|
||||
[ "http://objects-us-west-1.dream.io/hackage-mirror/01-index.tar.gz"
|
||||
, "http://objects-us-west-1.dream.io/hackage-mirror/timestamp.json"
|
||||
]
|
||||
let nonHackageMods = gitMods ++ tarballMods
|
||||
allMods = ("Hackage", hackageTime) : nonHackageMods
|
||||
allMods = ("Hackage", hackageTime) : nonHackageMods ++ otherMods
|
||||
biggestDiff = Prelude.maximum $ map
|
||||
(\(_, other) -> diffUTCTime hackageTime other)
|
||||
nonHackageMods
|
||||
|
||||
Loading…
Reference in New Issue
Block a user