Fixed the patch since the 2.6-bk target is actually required to
get a special version ('ketchup 2.6.8-rc1-bk1').

Brice
--- /usr/bin/ketchup	2005-08-12 17:37:31.000000000 +0200
+++ /home/bgoglin/bin/ketchup	2005-08-24 09:46:43.000000000 +0200
@@ -189,7 +189,7 @@ def compare_ver(a, b):
     Compare kernel versions a and b
 
     Note that -pre and -rc versions sort before the version they modify,
-    -pre sorts before -rc, and -bk, -mm, etc. sort alphabetically.
+    -pre sorts before -rc, -bk, -git, and -mm, etc. sort alphabetically.
     """
     if a == b: return 0
     
@@ -264,7 +264,7 @@ def latest_mjb(url, pat):
     return None
 
 def latest_26_tip(url, pat):
-    l = [ find_ver('2.6'), find_ver('2.6-bk'), find_ver('2.6-pre') ]
+    l = [ find_ver('2.6'), find_ver('2.6-git'), find_ver('2.6-pre') ]
     l.sort(compare_ver)
     return l[-1]
 
@@ -290,6 +290,10 @@ version_info = {
                 kernel_url + "/v2.6" + "/testing/patch-%(prebase)s.bz2",
                 r'patch-(.*?).bz2',
                 1, "current stable kernel series prereleases"),
+    '2.6-git': (latest_dir,
+               kernel_url + "/v2.6" +
+               "/snapshots/patch-%(full)s.bz2", r'patch-(.*?).bz2',
+               1, "current stable kernel series snapshots"),
     '2.6-bk': (latest_dir,
                kernel_url + "/v2.6" +
                "/snapshots/patch-%(full)s.bz2", r'patch-(.*?).bz2',

Reply via email to