Skip to contentSkip to conversation

ketchup patch for 2.6-ac

PATCH Jan Dittmer 1 participant 1 message Jan 5, 2005

lore
Share & tools
lore
#0 lore raw

Hi Matt,

attached patch adds support for 2.6-ac releases to ketchup.

Thanks for the nice tool,

Jan

ketchup renamed from ketchup-0.9 +12 -0
@@ -219,6 +219,14 @@
     part = last(url)
     return part[:-1]
 
+def latest_ac(url, pat):
+    url = kernel_url + '/people/alan/linux-2.6/'
+    url += last(url)
+    for l in urllib.urlopen(url).readlines():
+        m=re.search('(?i)<a href="patch-(.*)\.bz2">', l)
+        if m: n = m.group(1)
+    return n
+
 def latest_26(url, pat):
     for l in urllib.urlopen(url).readlines():
         m = re.search('"LATEST-IS-(.*)"', l)
@@ -300,6 +308,10 @@
                kernel_url + "/people/akpm/patches/" +
                "%(tree)s/%(prebase)s/%(full)s/%(full)s.bz2", "",
                1, "Andrew Morton's -mm development tree"),
+    '2.6-ac': (latest_ac,
+               kernel_url + "/people/alan/linux-%(tree)s/" +
+               "%(prebase)s/patch-%(full)s.bz2", "",
+               1, "Alan Cox's -ac development tree"),
     '2.6-tiny': (latest_dir,
                  "http://www.selenic.com/tiny/%(full)s.patch.bz2",
                  r'(2.6.*?).patch.bz2',