From: Steven Rostedt <rostedt@goodmis.org>
To: Matt Mackall <mpm@selenic.com>
Cc: LKML <linux-kernel@vger.kernel.org>,
RT <linux-rt-users@vger.kernel.org>, Ingo Molnar <mingo@elte.hu>,
Thomas Gleixner <tglx@linutronix.de>
Subject: [PATCH - Ketchup] update for new RT patch location
Date: Fri, 14 Sep 2007 20:49:53 -0400 [thread overview]
Message-ID: <1189817393.24770.6.camel@localhost.localdomain> (raw)
With the move of the RT patch to kernel.org, here's a patch to ketchup
to accommodate the change (/me puts on his snake suit).
I also updated it to try a non zipped patch if the zipped versions are
not there. This is because the main patches are zipped, but the archived
"older" versions are not zipped, but will probably be in the future.
Signed-off-by: Steven Rostedt
Index: x/ketchup
===================================================================
--- x.orig/ketchup 2007-09-14 20:01:06.000000000 -0400
+++ x/ketchup 2007-09-14 20:37:18.000000000 -0400
@@ -231,6 +231,12 @@ def latest_ck(url, pat):
l.sort(compare_ver)
return l[-1]
+def latest_rt(url, pat):
+ url = kernel_url + '/projects/rt/'
+ url += last(url)
+ part = last(url)
+ return part[:-1]
+
def latest_dir(url, pat):
"""Find the latest link matching pat at url after sorting"""
p = []
@@ -361,6 +367,11 @@ def trydownload(urls, f, sign):
if download(url2, f2):
if not sign or verify(url2, f2, sign):
return f2
+ f2 = f[:-4]
+ url2 = url[:-4]
+ if download(url2, f2):
+ if not sign or verify(url2, f2, sign):
+ return f2
return None
def get_patch(ver):
@@ -592,11 +603,11 @@ version_info = {
kernel_url + "/people/mbligh/%(prebase)s/patch-%(full)s.bz2",
r'patch-(2.6.*?).bz2',
1, "Martin Bligh's random collection 'o crap"),
- '2.6-rt': (latest_dir,
- ["http://people.redhat.com/mingo/" +
- "realtime-preempt/patch-%(full)s",
- "http://people.redhat.com/mingo/" +
- "realtime-preempt/older/patch-%(full)s"],
+ '2.6-rt': (latest_rt,
+ [kernel_url + "/projects/rt/" +
+ "patch-%(full)s.bz2",
+ kernel_url + "/projects/rt/older/" +
+ "patch-%(full)s.bz2"],
r'patch-(2.6.*?)',
0, "Ingo Molnar's realtime-preempt kernel"),
'2.6-ck': (latest_ck,
reply other threads:[~2007-09-15 0:51 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1189817393.24770.6.camel@localhost.localdomain \
--to=rostedt@goodmis.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-rt-users@vger.kernel.org \
--cc=mingo@elte.hu \
--cc=mpm@selenic.com \
--cc=tglx@linutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®