[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Pine.LNX.4.61.0701101223150.3029@yvahk01.tjqt.qr>
Date: Wed, 10 Jan 2007 12:31:05 +0100 (MET)
From: Jan Engelhardt <jengelh@...ux01.gwdg.de>
To: Linus Torvalds <torvalds@...l.org>
cc: Andrew Morton <akpm@...l.org>, Jean Delvare <khali@...ux-fr.org>,
Andrey Borzenkov <arvidjaar@...l.ru>,
linux-kernel@...r.kernel.org, Andy Whitcroft <apw@...dowen.org>,
Herbert Poetzl <herbert@...hfloor.at>,
Olaf Hering <olaf@...fle.de>
Subject: Re: .version keeps being updated
On Jan 9 2007 15:21, Linus Torvalds wrote:
>
>Actually, how about just removing the incrementing version count entirely?
>
>I realize that it's really really old, and has been there basically since
>day one, but on the other hand, it's old not because it's fundamentally
>important, but because it's just been maintained. How about just dropping
>it entirely?
>
>We have more useful _real_ versioning these days, with git commit ID's
>etc.
Like other people said, scripts rely on it. Not just kernel-build
scripts or thelike. Note that this local build ID is _also_ in
/proc/version, meaning that every possible script out there has
code/regex to skip or read that one field.
E.g.
($ver, $builder, $gcc, $id, $flags, $date) =
($_ =~ /^Linux version (\S+) \((\S+)\) \((.*)\) (#\d+) (.*) ((?:Mon|Tue|Wed|Thu|Fri|Sat|Sun).*)/);
Oh well we could also put a static "#0" in there, but it also has
its uses (see replies from other people).
-`J'
--
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists