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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



Relevant Pages

  • Re: Arguments in included javascript?
    ... just a number stored in a "JSVERSION" file ... We don't have to worry about incrementing it ... fiddling with the deployed scripts directly, or from deploying SVN ...
    (comp.lang.javascript)
  • Re: Run time error
    ... If you are File Previewing in Browser, the error is related to a JavaScript in your page ... try removing all scripts ... If the site/page is published, provide a URL to the problem page online ...
    (microsoft.public.frontpage.client)
  • Re: Java Code Removed
    ... > Internet Explorer seems to be removing ... > all the Java Scripts from web pages even though the ... Many firewalls and anti-virus programs have options to block scripts. ...
    (microsoft.public.windows.inetexplorer.ie6.browser)
  • Re: slow log in
    ... I am aware of removing the scripts and GPO stopping the problem. ... > Herb Martin ...
    (microsoft.public.win2000.networking)
  • Re: [PATCH] xen: Implement getgeo for Xen virtual block device.
    ... Linus Torvalds wrote: ... my scripts won't pick it up as the author. ... More majordomo info at http://vger.kernel.org/majordomo-info.html ... Please read the FAQ at http://www.tux.org/lkml/ ...
    (Linux-Kernel)