← Back to team overview

massive-dynamics-staff team mailing list archive

[Bug 928470] Re: Numeric parts of versions can be negative

 

** Changed in: sourcery
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Massive
Dynamics Staff, which is subscribed to Sourcery.
https://bugs.launchpad.net/bugs/928470

Title:
  Numeric parts of versions can be negative

Status in Aurora RuneScape Server Emulator:
  Fix Released
Status in Modger:
  Fix Released
Status in Sourcery:
  Fix Released
Status in Versioneer:
  Fix Released

Bug description:
  The numeric parts of each Version class can be negative.

  Areas found:

  GenericVersion - Major, minor, build, revision
  ThreePartVersion - Major, minor, build
  TwoPartVersion - Major, minor
  NumericVersion - Version

  This can produce output such as

  GenericVersion: 1.0.-5.2, -3.-1.4.2
  ThreePartVersion: -1.2.-3, 1.-2.-3
  TwoPartVersion: -1.2, 1.-2, -1.-2
  NumericVersion: -265


  This is bad. Negative numbers must never be used.


  
  Versions affected:

  1.1.0.0
  1.1.1.0 snapshots

To manage notifications about this bug go to:
https://bugs.launchpad.net/aurora-runescape-server-emulator/+bug/928470/+subscriptions