Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Linux: Kernel

[ANNOUNCE] ketchup 0.8

 

 

Linux kernel RSS feed   Index | Next | Previous | View Threaded


mpm at selenic

Jul 23, 2004, 11:55 AM

Post #1 of 6 (1426 views)
Permalink
[ANNOUNCE] ketchup 0.8

ketchup is a script that automatically patches between kernel
versions, downloading and caching patches as needed, and automatically
determining the latest versions of several trees. Available at:

http://selenic.com/ketchup/ketchup-0.8

New in this version by popular demand:

- falls back to .gz files if .bz2 files aren't available
- can find BK snapshots in old/ directories
(aka the jgarzik memorial hack)
- option to rename directories to linux-<v> after update
- can read default options from KETCHUP_OPTS

Example usage:

$ ketchup 2.6-mm
2.6.3-rc1-mm1 -> 2.6.5-mm4
Applying 2.6.3-rc1-mm1.bz2 -R
Applying patch-2.6.3-rc1.bz2 -R
Applying patch-2.6.3.bz2
Applying patch-2.6.4.bz2
Applying patch-2.6.5.bz2
Downloading 2.6.5-mm4.bz2
Downloading 2.6.5-mm4.bz2.sign
Verifying signature...
gpg: Signature made Sat Apr 10 21:55:36 2004 CDT using DSA key ID 517D0F0E
gpg: Good signature from "Linux Kernel Archives Verification Key
<ftpadmin [at] kernel>"
gpg: aka "Linux Kernel Archives Verification Key
<ftpadmin [at] kernel>"
owner.
gpg: WARNING: This key is not certified with a trusted signature!
gpg: There is no indication that the signature belongs to the
Primary key fingerprint: C75D C40A 11D7 AF88 9981 ED5B C86B A06A 517D 0F0E
Applying 2.6.5-mm4.bz2

--
Mathematics is the supreme nostalgia of our time.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo [at] vger
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/


rlrevell at joe-job

Jul 23, 2004, 6:33 PM

Post #2 of 6 (1358 views)
Permalink
Re: [ANNOUNCE] ketchup 0.8 [In reply to]

On Fri, 2004-07-23 at 14:55, Matt Mackall wrote:
> ketchup is a script that automatically patches between kernel
> versions, downloading and caching patches as needed, and automatically
> determining the latest versions of several trees. Available at:
>
> http://selenic.com/ketchup/ketchup-0.8
>

Does not work on Debian unstable:

rlrevell [at] mindpip:~/kernel-source$ ketchup-0.8 2.6-mm
Creating cache directory /home/rlrevell/.ketchup
None -> 2.6.8-rc1-mm1
Downloading linux-2.6.7.tar.bz2
--21:14:12-- http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.7.tar.bz2
=> `/home/rlrevell/.ketchup/linux-2.6.7.tar.bz2.partial'
Resolving www.kernel.org... 204.152.189.116
Connecting to www.kernel.org[204.152.189.116]:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 35,092,228 [application/x-bzip2]

100%[====================================>] 35,092,228 187.32K/s ETA 00:00

21:17:17 (185.54 KB/s) - `/home/rlrevell/.ketchup/linux-2.6.7.tar.bz2.partial' s
aved [35092228/35092228]

Traceback (most recent call last):
File "/usr/local/bin/ketchup-0.8", line 551, in ?
transform(a, b)
File "/usr/local/bin/ketchup-0.8", line 475, in transform
a = install_nearest(base(b))
File "/usr/local/bin/ketchup-0.8", line 437, in install_nearest
if not f:
UnboundLocalError: local variable 'f' referenced before assignment

Lee

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo [at] vger
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/


mpm at selenic

Jul 23, 2004, 7:06 PM

Post #3 of 6 (1346 views)
Permalink
Re: [ANNOUNCE] ketchup 0.8 [In reply to]

On Fri, Jul 23, 2004 at 09:33:28PM -0400, Lee Revell wrote:
> On Fri, 2004-07-23 at 14:55, Matt Mackall wrote:
> > ketchup is a script that automatically patches between kernel
> > versions, downloading and caching patches as needed, and automatically
> > determining the latest versions of several trees. Available at:
> >
> > http://selenic.com/ketchup/ketchup-0.8
> >
>
> Does not work on Debian unstable:

Oops. Should be fixed by:

http://selenic.com/ketchup/ketchup-0.8.1

--
Mathematics is the supreme nostalgia of our time.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo [at] vger
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/


rlrevell at joe-job

Jul 23, 2004, 8:04 PM

Post #4 of 6 (1346 views)
Permalink
Re: [ANNOUNCE] ketchup 0.8 [In reply to]

On Fri, 2004-07-23 at 22:06, Matt Mackall wrote:
> On Fri, Jul 23, 2004 at 09:33:28PM -0400, Lee Revell wrote:
> > On Fri, 2004-07-23 at 14:55, Matt Mackall wrote:
> > > ketchup is a script that automatically patches between kernel
> > > versions, downloading and caching patches as needed, and automatically
> > > determining the latest versions of several trees. Available at:
> > >
> > > http://selenic.com/ketchup/ketchup-0.8
> > >
> >
> > Does not work on Debian unstable:
>
> Oops. Should be fixed by:
>
> http://selenic.com/ketchup/ketchup-0.8.1

Now it seems to work, but I get:

...downloads some stuff...
patching file sound/pci/intel8x0.c
patching file sound/pci/nm256/nm256.c
patching file sound/ppc/pmac.c
ketchup: patch /home/rlrevell/.ketchup/patch-2.6.8-rc1.bz2 failed: 256

Not checking the return value from patch correctly?

Lee

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo [at] vger
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/


mpm at selenic

Jul 23, 2004, 8:14 PM

Post #5 of 6 (1349 views)
Permalink
Re: [ANNOUNCE] ketchup 0.8 [In reply to]

On Fri, Jul 23, 2004 at 11:04:24PM -0400, Lee Revell wrote:
> On Fri, 2004-07-23 at 22:06, Matt Mackall wrote:
> > Oops. Should be fixed by:
> >
> > http://selenic.com/ketchup/ketchup-0.8.1
>
> Now it seems to work, but I get:
>
> ...downloads some stuff...
> patching file sound/pci/intel8x0.c
> patching file sound/pci/nm256/nm256.c
> patching file sound/ppc/pmac.c
> ketchup: patch /home/rlrevell/.ketchup/patch-2.6.8-rc1.bz2 failed: 256
>
> Not checking the return value from patch correctly?

That return code suggests some hunks failed. Can you check for .rej
files?

--
Mathematics is the supreme nostalgia of our time.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo [at] vger
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/


rlrevell at joe-job

Jul 24, 2004, 12:36 PM

Post #6 of 6 (1327 views)
Permalink
Re: [ANNOUNCE] ketchup 0.8 [In reply to]

On Fri, 2004-07-23 at 23:14, Matt Mackall wrote:
> On Fri, Jul 23, 2004 at 11:04:24PM -0400, Lee Revell wrote:
> > On Fri, 2004-07-23 at 22:06, Matt Mackall wrote:
> > > Oops. Should be fixed by:
> > >
> > > http://selenic.com/ketchup/ketchup-0.8.1
> >
> > Now it seems to work, but I get:
> >
> > ...downloads some stuff...
> > patching file sound/pci/intel8x0.c
> > patching file sound/pci/nm256/nm256.c
> > patching file sound/ppc/pmac.c
> > ketchup: patch /home/rlrevell/.ketchup/patch-2.6.8-rc1.bz2 failed: 256
> >
> > Not checking the return value from patch correctly?
>
> That return code suggests some hunks failed. Can you check for .rej
> files?

There were no .rej files. I ran it again and it said I was up to date.
Is it possible that a mirror was not fully synced?

The easy fix would be to have it just try again automatically if it sees
this.

Lee

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo [at] vger
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

Linux kernel RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.