public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [ANNOUNCE] ketchup 0.8
@ 2004-07-23 18:55 Matt Mackall
  2004-07-24  1:33 ` Lee Revell
  0 siblings, 1 reply; 6+ messages in thread
From: Matt Mackall @ 2004-07-23 18:55 UTC (permalink / raw)
  To: linux-kernel

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@kernel.org>"
 gpg:                 aka "Linux Kernel Archives Verification Key
 <ftpadmin@kernel.org>"
 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.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [ANNOUNCE] ketchup 0.8
  2004-07-23 18:55 [ANNOUNCE] ketchup 0.8 Matt Mackall
@ 2004-07-24  1:33 ` Lee Revell
  2004-07-24  2:06   ` Matt Mackall
  0 siblings, 1 reply; 6+ messages in thread
From: Lee Revell @ 2004-07-24  1:33 UTC (permalink / raw)
  To: Matt Mackall; +Cc: linux-kernel

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@mindpipe:~/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


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [ANNOUNCE] ketchup 0.8
  2004-07-24  1:33 ` Lee Revell
@ 2004-07-24  2:06   ` Matt Mackall
  2004-07-24  3:04     ` Lee Revell
  0 siblings, 1 reply; 6+ messages in thread
From: Matt Mackall @ 2004-07-24  2:06 UTC (permalink / raw)
  To: Lee Revell; +Cc: linux-kernel

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.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [ANNOUNCE] ketchup 0.8
  2004-07-24  2:06   ` Matt Mackall
@ 2004-07-24  3:04     ` Lee Revell
  2004-07-24  3:14       ` Matt Mackall
  0 siblings, 1 reply; 6+ messages in thread
From: Lee Revell @ 2004-07-24  3:04 UTC (permalink / raw)
  To: Matt Mackall; +Cc: linux-kernel

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


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [ANNOUNCE] ketchup 0.8
  2004-07-24  3:04     ` Lee Revell
@ 2004-07-24  3:14       ` Matt Mackall
  2004-07-24 19:36         ` Lee Revell
  0 siblings, 1 reply; 6+ messages in thread
From: Matt Mackall @ 2004-07-24  3:14 UTC (permalink / raw)
  To: Lee Revell; +Cc: linux-kernel

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.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [ANNOUNCE] ketchup 0.8
  2004-07-24  3:14       ` Matt Mackall
@ 2004-07-24 19:36         ` Lee Revell
  0 siblings, 0 replies; 6+ messages in thread
From: Lee Revell @ 2004-07-24 19:36 UTC (permalink / raw)
  To: Matt Mackall; +Cc: linux-kernel

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


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2004-07-24 19:36 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-07-23 18:55 [ANNOUNCE] ketchup 0.8 Matt Mackall
2004-07-24  1:33 ` Lee Revell
2004-07-24  2:06   ` Matt Mackall
2004-07-24  3:04     ` Lee Revell
2004-07-24  3:14       ` Matt Mackall
2004-07-24 19:36         ` Lee Revell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox