public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Distinguishing releases from pre-rc snapshots
@ 2007-10-17  2:22 Pavel Roskin
  2007-10-17  2:34 ` Dave Jones
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Pavel Roskin @ 2007-10-17  2:22 UTC (permalink / raw)
  To: linux-kernel

Hello!

I'm trying to keep some external drivers up to date with the kernel, and
the first two weeks after the release is the worst time for me.  There
is no way to distinguish the current git kernel from the latest release.
It's only after rc1 is released that I can use preprocessor to check
LINUX_VERSION_CODE.

Before that, I have to rely on tricks or change the kernel version
myself in a separate patch and tell other team members to do the same.

Basically, I only care about kernel releases, but I also want to
increase the probability that the next standalone release of my drivers
will work with the next release on the kernel.  That's why I check
compatibility with the tip of the linux-2.6 repository.

Calling git version of Linux "2.6.23" one day before 2.6.24-rc1 is
preposterous, as it's likely to be compatible with 2.6.24, not 2.6.23.
Calling git version of Linux "2.6.24-pre" or something next day after
2.6.23 release is OK in comparison, since nobody developing external
drivers cares about old revisions of the kernel.  And the developers of
the kernel itself shouldn't care about versions at all.

It would be nice to establish a rule to increment the version number
immediately after the kernel release and have a suffix to indicate that
it's a pre-rc version.  "rc0" is my personal favorite.

It would also be helpful for other repositories, as it would indicate
whether any post-release changes have been merged in.

-- 
Regards,
Pavel Roskin


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

end of thread, other threads:[~2007-10-17 12:59 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-17  2:22 Distinguishing releases from pre-rc snapshots Pavel Roskin
2007-10-17  2:34 ` Dave Jones
2007-10-17  2:45   ` Pavel Roskin
2007-10-17  3:01     ` Dave Jones
2007-10-17  2:41 ` Rik van Riel
2007-10-17  3:17   ` Pavel Roskin
2007-10-17  6:02 ` Frans Pop
2007-10-17 12:59   ` Pavel Roskin

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