Re: [vassalengine-devel] stable and unstable releases
Brought to you by:
rodneykinney,
uckelman
|
From: Joel U. <uck...@no...> - 2007-12-18 16:31:53
|
Thus spake "Rodney Kinney": > > > E.g.: 3.0.15 < 3.1.0-svn2708 < 3.1.0-beta1 < 3.1.0-rc3 < 3.1.0 > > > This ordering makes sense to me. The new code should also be able to parse > the old format for beta versions, > e.g. 3.0b8 < 3.0 > > rk I thought we said that one of the versions being compared will always be the verision of VASSAL doing the comparison. In that case, whenever two version strings are compared with this code, at least one will always have a version number of 3.1.0 or greater; my algorighm stops parsing as soon as there's enough information to decide the ordering, so the 'b8' part (which would be considered invalid, if the parser got that far) is never read. That is, 3.0b8 < 3.1.0 successfully. 3.0b8 < 3.0 will fail, but we don't need to be able to do that. -- J. |