← Back to team overview

linux-traipu team mailing list archive

[Bug 939865] Re: Don't use dash in new version number 7.1.31-rc

 

Clint, I considered that for RPMs, but I don't feel it is correct. The
point would be for the RPM Version to be identical to the the source tar
version. Since that is not possible, one fix is to drop the -rc part, it
is purely informational anyway.

For DEBs, I'm aware of how ~ is sorted, however in Drizzle the third
part of the version number will always increase anyway. So in any case
7.1.32-rc < 7.1.33 (or 7.1.33-stable). In Drizzle, the only thing that
is important is that it is smaller than a dot, which is also true for
hyphens:

$ dpkg --compare-versions 7.1.31-rc lt 7.1.31.2513-snapshot; echo $?
0

So in summary, could have chosen the tilde, but I don't see enough
justification to change the hyphen now, as we are already in RC phase.

And also, I'm disappointed of how strict RPM is. Using yet another dot is the one thing we can't do, because:
dpkg --compare-versions 7.1.31.rc lt 7.1.31.2513.snapshot; echo $?
1

There's no excuse for RPM not allowing tilde.

-- 
You received this bug notification because you are a member of UBUNTU -
AL - BR, which is subscribed to Drizzle.
https://bugs.launchpad.net/bugs/939865

Title:
  Don't use dash in new version number 7.1.31-rc

Status in A Lightweight SQL Database for Cloud Infrastructure and Web Applications:
  Confirmed

Bug description:
  7.1.31-rc was the first release to introduce new version numbering
  scheme.

  It turns out using a dash as part of the version was a stupid idea.
  This is not allowed in RPM. (Workaround: strip the -rc part, it has no
  significance, it is just informational.) In DEB it is possible, but
  has side effects and is frowned upon.

  We should instead use tilde: 7.1.32~rc.

  TODO:

   * Fix dashes to tildes in m4/pandora_vc_build.m4
   * Change tagging instructions at http://wiki.drizzle.org/Create_Tarballs

To manage notifications about this bug go to:
https://bugs.launchpad.net/drizzle/+bug/939865/+subscriptions


References