Also track wheezy
authorJoachim Breitner <mail@joachim-breitner.de>
Wed, 15 Jun 2011 13:33:34 +0000 (13:33 +0000)
committerJoachim Breitner <mail@joachim-breitner.de>
Wed, 15 Jun 2011 13:33:34 +0000 (13:33 +0000)
Main.hs
runhpvt.sh

diff --git a/Main.hs b/Main.hs
index 96faa2a..12981d4 100644 (file)
--- a/Main.hs
+++ b/Main.hs
@@ -30,8 +30,11 @@ main = do
        debian_squeeze <- D.readFile "Sources.squeeze" "squeeze" hackage
        putStrLn $ "Read " ++ show (M.size debian_squeeze) ++ " packages from Debian (Squeeze)"
 
+       debian_wheezy <- D.readFile "Sources.wheezy" "wheezy" hackage
+       putStrLn $ "Read " ++ show (M.size debian_wheezy) ++ " packages from Debian (Wheezy)"
+
         platform_2010_1_0_0 <- flattenPackageDescription <$> readPackageDescription normal "haskell-platform-2010.1.0.0.cabal"
-        platform_2010_2_0_0 <- flattenPackageDescription <$> readPackageDescription normal "haskell-platform-2010.2.0.0.cabal"
+--        platform_2010_2_0_0 <- flattenPackageDescription <$> readPackageDescription normal "haskell-platform-2010.2.0.0.cabal"
         platform_darcs <- flattenPackageDescription <$> readPackageDescription normal "haskell-platform-darcs.cabal"
         putStrLn $ "Read platform package descriptions"
        
@@ -48,8 +51,9 @@ main = do
                 (platform_2010_1_0_0, [
                     ("Squeeze", debian_squeeze)
                 ])
-                , (platform_2010_2_0_0, [])
+--                , (platform_2010_2_0_0, [])
                 , (platform_darcs, [
+                    ("Wheezy", debian_wheezy),
                     ("Unstable", debian_unstable)
                 ])
             ]
index 7d3ad9b..b38aa0c 100644 (file)
@@ -6,10 +6,11 @@ cd $(dirname $0)
 wget -q http://hackage.haskell.org/packages/archive/00-index.tar.gz -O 00-index.tar.gz
 wget -q http://ftp.debian.org/debian/dists/unstable/main/source/Sources.bz2 -O - | bunzip2 > Sources.unstable
 wget -q http://ftp.debian.org/debian/dists/squeeze/main/source/Sources.bz2 -O - | bunzip2 > Sources.squeeze
+wget -q http://ftp.debian.org/debian/dists/wheezy/main/source/Sources.bz2 -O - | bunzip2 > Sources.wheezy
 wget -q http://code.galois.com/darcs/haskell-platform/haskell-platform.cabal -O - > haskell-platform-darcs.cabal
 #wget -q http://code.haskell.org/haskell-platform/haskell-platform.cabal -O - > haskell-platform-darcs.cabal
 wget -q http://hackage.haskell.org/platform/2010.1.0.0/haskell-platform.cabal -O -  > haskell-platform-2010.1.0.0.cabal
-wget -q http://hackage.haskell.org/platform/2010.2.0.0/haskell-platform.cabal -O - > haskell-platform-2010.2.0.0.cabal
+#wget -q http://hackage.haskell.org/platform/2010.2.0.0/haskell-platform.cabal -O - > haskell-platform-2010.2.0.0.cabal
 
 ./hpvt >/dev/null
 mv output.html public_html/hackagevsdebian.html