Thread (3 messages) 3 messages, 2 authors, 2007-11-27

updated ketchup script

From: Michal Schmidt <hidden>
Date: 2007-11-22 14:41:38

Steven,

Your ketchup script does not download the -rt kernel for me. This patch
fixes it. Could you update
http://people.redhat.com/srostedt/rt/tools/ketchup-0.9.8-rt1 ?

I'm also attaching the complete ketchup script for convenience.

Michal
--- ketchup-0.9.8-rt1	2007-11-22 15:22:41.000000000 +0100
+++ ketchup	2007-11-22 15:29:47.000000000 +0100
@@ -235,10 +235,7 @@ def latest_ck(url, pat):
     return l[-1]
 
 def latest_rt(url, pat):
-    url = kernel_url + '/projects/rt/'
-    url += last(url)
-    part = last(url)
-    return part[:-1]
+    return last(url, pat)
 
 def latest_dir(url, pat):
     """Find the latest link matching pat at url after sorting"""
@@ -615,8 +612,8 @@ version_info = {
 	        "patch-%(full)s.bz2",
 	        kernel_url + "/projects/rt/older/" +
 	        "patch-%(full)s.bz2"],
-               r'patch-(2.6.*?)',
-               0, "Ingo Molnar's realtime-preempt kernel"),
+               r'patch-(2.6.*?).bz2',
+               1, "Ingo Molnar's realtime-preempt kernel"),
     '2.6-ck': (latest_ck,
                ["http://ck.kolivas.org/patches/2.6/" +
                 "%(prebase)s/%(full)s/patch-%(full)s.bz2",

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help