Messages in this thread Patch in this message | | | Date | Wed, 05 Jan 2005 22:42:58 +0100 | From | Jan Dittmer <> | Subject | ketchup patch for 2.6-ac |
| |
Hi Matt,
attached patch adds support for 2.6-ac releases to ketchup.
Thanks for the nice tool,
Jan --- ketchup-0.9 2005-01-05 22:14:23.000000000 +0100 +++ ketchup 2005-01-05 22:40:06.000000000 +0100 @@ -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', | |