lkml.org 
[lkml]   [2005]   [Jan]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subjectketchup 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',
\
 
 \ /
  Last update: 2005-03-22 14:09    [W:0.053 / U:0.248 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site