Re: updated ketchup script
From: Michal Schmidt <hidden>
Date: 2007-11-27 11:17:08
On Mon, 26 Nov 2007 16:57:32 -0500 (EST) Steven Rostedt [off-list ref] wrote:
On Thu, 22 Nov 2007, Michal Schmidt wrote:quoted
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, Could you explain what exactly went wrong. Your ketchup script doesn't work for me. It fails downloads for me.
Trying to find the latest version with your ketchup version:
$ ketchup-0.9.8-rt1 -s 2.6-rt
?C=N;O=D">Name</a> <a
href="?C=M;O=A">Last modified</a> <a href="?C=S;O=A">Size</a>
<hr><a href="/pub/linux/kernel/projects/rt
Not surprisingly, trying to update also fails:
$ ketchup-0.9.8-rt1 2.6-rt
2.6.24-rc2-rt1
-> ?C=N;O=D">Name</a> <a
href="?C=M;O=A">Last modified</a> <a href="?C=S;O=A">Size</a>
<hr><a href="/pub/linux/kernel/projects/rt
Traceback (most recent call last):
File "/home/mschmidt/bin/ketchup-0.9.8-rt1", line 755, in ?
transform(a, b)
File "/home/mschmidt/bin/ketchup-0.9.8-rt1", line 516, in transform
if t != tree(b):
File "/home/mschmidt/bin/ketchup-0.9.8-rt1", line 109, in tree
return float(re.match(r'(\d+\.\d+)', ver).group(1))
AttributeError: 'NoneType' object has no attribute 'group'
Do you use a non-default kernel_url in your ketchup configuration?
Michal