summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSean Finney <seanius@debian.org>2011-02-20 20:57:02 +0100
committerSean Finney <seanius@debian.org>2011-02-20 20:57:02 +0100
commita5be1b0846194a49fa7d256bd829e035bbf6ddbd (patch)
tree8cb29db43f0446f61421a7c0a09795fa218d13d7
parenta61726f8b8f0d75f56e5c9159302d5f1fe23f43f (diff)
downloadpatch-tracker-a5be1b0846194a49fa7d256bd829e035bbf6ddbd.tar.gz
etch is out, wheezy is in
-rw-r--r--README7
-rwxr-xr-xpatchtracker/SourceArchive.py12
-rw-r--r--reprepro/conf/distributions8
3 files changed, 14 insertions, 13 deletions
diff --git a/README b/README
index b2cce72..299bef8 100644
--- a/README
+++ b/README
@@ -21,9 +21,10 @@ required software:
first, you need a partial source archive, with the .dsc, diff.gz, Release,
and Sources.gz files available. there's a sample config in the subdir
./reprepro, if you don't have one handy. Using a devious little python
-filter, it will fetch the dsc and diff.gz files from etch/lenny/sid without
-fetching the rest of the debs/tarballs, which should keep the archive size
-down a bit (though it should also work just fine on a normal archive too).
+filter, it will fetch the dsc and diff.gz files from the various releases
+without fetching the rest of the debs/tarballs, which should keep the
+archive size down a bit (though it should also work just fine on a normal
+archive too).
so, you have your source archive available, and installed somewhere.
next set up a web server, and configure it to serve up the application from
diff --git a/patchtracker/SourceArchive.py b/patchtracker/SourceArchive.py
index 0cdeb10..9f30c58 100755
--- a/patchtracker/SourceArchive.py
+++ b/patchtracker/SourceArchive.py
@@ -174,7 +174,7 @@ class ReleaseList:
self.project = project
# XXX this is hard coded for now...
self.relorder = {}
- self.relorder["debian"] = ["etch", "lenny", "squeeze", "sid", "experimental"]
+ self.relorder["debian"] = ["lenny", "squeeze", "wheezy", "sid", "experimental"]
def __iter__(self):
for r in self.relorder[self.project]:
@@ -185,17 +185,17 @@ if __name__ == "__main__":
import Conf
import sys
import copy
- a = Archive(sys.argv[1], suitefilter=["etch"])
+ a = Archive(sys.argv[1], suitefilter=["lenny"])
b = copy.deepcopy(a)
b.addsuite("lenny")
- b.addcomponent("etch", "something")
+ b.addcomponent("lenny", "something")
class x:
def __init__(self,name):
self.name=name
- b.addsourcepackage("etch","main",x("foo"))
+ b.addsourcepackage("lenny","main",x("foo"))
print "suite diff"
print "\n".join( ArchiveDiffer().diffsuites(a,b) )
print "component diff"
- print "\n".join( ArchiveDiffer().diffcomponents(a,b,"etch") )
+ print "\n".join( ArchiveDiffer().diffcomponents(a,b,"lenny") )
print "package diff"
- print "\n".join( ArchiveDiffer().diffsourcepackages(a,b,"etch","main") )
+ print "\n".join( ArchiveDiffer().diffsourcepackages(a,b,"lenny","main") )
diff --git a/reprepro/conf/distributions b/reprepro/conf/distributions
index 0db0205..52ee979 100644
--- a/reprepro/conf/distributions
+++ b/reprepro/conf/distributions
@@ -1,7 +1,3 @@
-Codename: etch
-Architectures: source
-Components: main contrib non-free
-
Codename: lenny
Architectures: source
Components: main contrib non-free
@@ -12,6 +8,10 @@ Architectures: source
Components: main contrib non-free
Update: - debian
+Codename: wheezy
+Architectures: source
+Components: main contrib non-free
+
Codename: sid
Architectures: source
Components: main contrib non-free