brazerzkidaiage.blogg.se

Songkong versions comparison
Songkong versions comparison










songkong versions comparison

When you compare two version tuples, for each sub-tuple:

  • All tuples contain only integers, with one exception: the first entry in a non-empty pre-release tuple is the "pre-release marker" used.
  • If a version string did not specify a particular sub-version ("1.0" does not specify a pre-release version), then that tuple is empty.
  • The sub-tuples are of arbitrary length.
  • Those tuples represent the "release version", the "pre-release version", and the "development release version" respectively. The version tuple should always contain three tuples.

    #SONGKONG VERSIONS COMPARISON FREE#

    If we have a free hand to specify this, I suggest:

    songkong versions comparison

    But I'm not going to fight about it.įor comparison purposes, a version string should be converted to a "version tuple". Though I think we should relent and allow dashes to be equivalent to periods. Any characters not specifically permitted are hereby illegal.All the "development release markers" are equivalent.Any version with a "development release marker" is older than one without.You must follow the "development release marker" with another "version number".You may only use a "development release marker" after a "pre-release marker". You may use at most one "development release marker".The strings "dev", "r", and "~" are called "development release markers".If you follow a "pre-release marker" (and subsequent "version string") with "dev", "r", or "~", this version represents a "development release".> from verlib import RationalVersion as V At the second distutils open space we agreed on the following format for a "rational version":












    Songkong versions comparison