From 639467189a6015880bdafdd2adcb5f4a0b007485 Mon Sep 17 00:00:00 2001
From: Guillem Jover <guillem@hadrons.org>
Date: Mon, 14 Feb 2011 09:04:13 +0100
Status: applied
Subject: [PATCH] Update Debian distribution information for squeeze release

---
 crawl/distros/debian.py |   16 +++++++++-------
 1 files changed, 9 insertions(+), 7 deletions(-)

diff --git a/crawl/distros/debian.py b/crawl/distros/debian.py
index 9ce7b6a..bc22d8d 100644
--- a/crawl/distros/debian.py
+++ b/crawl/distros/debian.py
@@ -16,21 +16,23 @@ CN_LENNY="lenny"
 CN_SARGE="sarge"
 CN_SID="sid"
 CN_SQUEEZE="squeeze"
+CN_WHEEZY="wheezy"
 CN_EXPERIMENTAL="experimental"
 
 CODENAMES = [
-	CN_ETCH,
 	CN_LENNY,
-	CN_SID,
 	CN_SQUEEZE,
+	CN_WHEEZY,
+	CN_SID,
 	CN_EXPERIMENTAL]
 
 BRANCHES = {
-	CN_ETCH : "lts",
-	CN_LENNY : "current",
 	CN_SARGE : "past",
+	CN_ETCH : "past",
+	CN_LENNY : "lts",
+	CN_SQUEEZE : "current",
+	CN_WHEEZY : "future",
 	CN_SID : "experimental",
-	CN_SQUEEZE : "future",
 	CN_EXPERIMENTAL : "experimental"}
 
 MIRROR = "debian.osuosl.org"
@@ -68,7 +70,7 @@ def get_repos(test):
 					components=line.split(' ')[1:]
 			
 			if not architectures:
-				architectures = "alpha amd64 arm hppa i386 ia64 mips mipsel powerpc s390 sparc".split(' ')
+				architectures = "alpha amd64 arm armel hppa i386 ia64 kfreebsd-i386 kfreebsd-amd64 mips mipsel powerpc s390 sparc".split(' ')
 			
 			#print components,architectures
 			if not architectures or not components:
@@ -127,4 +129,4 @@ def crawl_repo(repo):
 	url = "http://" + MIRROR + "/" + START_DIR + codename + "/" + comp + "/binary-" + arch + "/Packages.gz"
 	
 	lc_pkgs = deb.parse_packages(version_parser,filename,url,repo)
-	return lc_pkgs
\ No newline at end of file
+	return lc_pkgs
-- 
1.7.2.3

