Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756886Ab1FGUqR (ORCPT ); Tue, 7 Jun 2011 16:46:17 -0400 Received: from waste.org ([173.11.57.241]:41962 "EHLO waste.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756811Ab1FGUqP (ORCPT ); Tue, 7 Jun 2011 16:46:15 -0400 Subject: Re: ketchup script and 3.0 From: Matt Mackall To: Stratos Psomadakis Cc: linux-kernel@vger.kernel.org, Frank Kingswood , Linus Torvalds In-Reply-To: <4DEE8AD9.3050508@ece.ntua.gr> References: <4DEDD5F4.1070602@kingswood-consulting.co.uk> <1307451186.4204.953.camel@calx> <4DEE808D.6020405@ece.ntua.gr> <1307477435.4204.968.camel@calx> <4DEE8AD9.3050508@ece.ntua.gr> Content-Type: text/plain; charset="UTF-8" Date: Tue, 07 Jun 2011 15:46:12 -0500 Message-ID: <1307479572.4204.977.camel@calx> Mime-Version: 1.0 X-Mailer: Evolution 2.32.3 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2701 Lines: 58 On Tue, 2011-06-07 at 23:32 +0300, Stratos Psomadakis wrote: > On 06/07/2011 11:10 PM, Matt Mackall wrote: > > On Tue, 2011-06-07 at 22:48 +0300, Stratos Psomadakis wrote: > >> On 06/07/2011 03:53 PM, Matt Mackall wrote: > >>> On Tue, 2011-06-07 at 08:40 +0100, Frank Kingswood wrote: > >>>> Hi! > >>>> > >>>> With Linux 3.0 approaching rapidly, is the ketchup script known to work? > >>>> It has this tempting parameter but I've always passed in "2.6" there. > >>> It's on its third maintainer now and I've already forgotten the name of > >>> the new guy. > >> It's me :P > >> > >> I uploaded the ketchup code at github, and added some code to handle 3.x > >> versions, but I've not tested it very much, so it's still in a separate > >> branch. [1] > >> You can check it out/test it, if you want. If it works without problems, > >> when linux-3.0 gets released, I'll tag a new version of ketchup and > >> notify distro maintainers to upgrade their packages. > > I took a brief glance at your changes. You'll probably want to teach it > > that 2.6.39++ == 3.0 so that people can seamlessly move back and forth > > between the two ranges. This wasn't something that made sense across the > > 2.4/2.6 transition. > > > > Oh, wait, maybe I've spotted the code for this. > > > > Thinking ahead just a bit, it'd be nice if we could just declare in > > advance that 3.9++ == 4.0. If we're going to bump the major number at > > arbitrary points, that's the most obvious one. It's approximately 3 > > years out at the current rate which seems like a good pace. Then tools > > like ketchup and other tools that handle these version numbers could > > just do all this once. > > > > Linus? > Yeap, that would be nice, indeed. Otherwise, ketchup code (and other > tools probably) will get uglier and uglier as major numbers advance, and > I made it look ugly already (although this is probably 'thinking way > into the future'). Well it can in fact be managed with a list of transition points rather than a cascade of if statements. But my point is that if we have adhoc transitions, we will encounter the "fix all the scripts and websites" pain at every transition. And tools that are managed via distros and the like can literally take years to get into the hands of users. It'd be nice if the copy of ketchup shipped in just worked 3 years from now because 4.0 wasn't a surprise. -- 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/