Re: Linux 2.6.32-rc3

Theodore Tso
2009-10-07T13:54:00Z

On Tue, Oct 06, 2009 at 08:31:46PM -0700, Linus Torvalds wrote:
>
> Btw, that doesn't mean that I'm married to the exact details of the syntax
> etc. I like CONFIG_LOCALVERSION_AUTO, but I can also see why Ingo would
> prefer a "+" there instead of a "-".
>
> And the zero-padding to five digits of the number of commits may make
> things line up nicely, and I think there was even some odd technical
> reason for it too (some package manager or other that was unhappy with
> "simple" numbers like "-1" and thought that they were a build number or
> something), but it's admittedly silly too.

I really like CONFIG_LOCALVERSION_AUTO the way it is, and changing it
will break things. It probably wouldn't be that hard to fix things,
although the fix probably would involve post-processing the version
number to bring it back to using '-' for all of the spearators, so
that '+' could be used for separating the packaging-specific version
details.

The one thing that I wish we *could* do is make
CONFIG_LOCALVERSION_AUTO mandatory, or at least making it the strong
default and forcing people to work to turn it off, since the problem
really is with users smart enough to use git, but not quite smart
enough to turn on CONFIG_LOCALVERSION_AUTO.

- Ted