From d724878c2c00a7918f9702395457bb2e61587410 Mon Sep 17 00:00:00 2001 From: Michael Snoyman Date: Sun, 5 Apr 2020 15:18:16 +0300 Subject: [PATCH] Turn off the all-cabal-* mirror checks --- etc/scripts/stage_docker.sh | 1 - src/Handler/MirrorStatus.hs | 3 +++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/etc/scripts/stage_docker.sh b/etc/scripts/stage_docker.sh index ad4a0b2..3b14a14 100755 --- a/etc/scripts/stage_docker.sh +++ b/etc/scripts/stage_docker.sh @@ -3,6 +3,5 @@ set -ex cd "$(dirname "${BASH_SOURCE[0]}")/../.." mkdir -p etc/docker/_artifacts export LANG=C.UTF-8 -stack build Cabal # Memory stack install --local-bin-path=etc/docker/_artifacts "$@" rsync -av --delete config static etc/docker/_artifacts/ diff --git a/src/Handler/MirrorStatus.hs b/src/Handler/MirrorStatus.hs index 714a671..036573a 100644 --- a/src/Handler/MirrorStatus.hs +++ b/src/Handler/MirrorStatus.hs @@ -38,10 +38,13 @@ mkUpdateMirrorStatus = mkAutoUpdate defaultUpdateSettings goHT hackageTime = do gitMods <- mapM (\(x, y, z) -> getLastModifiedGit x y z) + [] + {- FIXME unreliable, and 00-index catches this anyway [ ("commercialhaskell", "all-cabal-files", "current-hackage") , ("commercialhaskell", "all-cabal-hashes", "current-hackage") , ("commercialhaskell", "all-cabal-metadata", "master") ] + -} tarballMods <- mapM getLastModifiedHTTP [ "http://hackage.fpcomplete.com/00-index.tar.gz" , "http://hackage.fpcomplete.com/01-index.tar.gz"