mrumpf/repoclient-plugin — pull request #2 by fzs (2013-04-11 13:17:32+00:00)
Title: Fix version sort

The version parsing of versions a.b.c.d-BuildNumber or a.b.c-BuildNumber is not handled correctly. This is because a qualifier is expected after the dash, but the build number translates to an Integer and is thus not recognized as a qualifier.

This pull request offers a quick fix in that the translated version with the dash replaced by a dot is used in further processing, effectively using a five or four digit version.

Additionally, a different sorting test is introduced where the sorted list is explicitly shuffled before running a sort on it.