« Previous | Next » 

Revision 36b315cf

ID36b315cfed78a6ae11720d304becbe4a9b8a4ba1
Parent 6c7eef4c
Child ca5aa5c5

Added by Javi Fontan over 6 years ago

bug #3315: use semantic versioning for remotes

onehost sync was using alphabetical comparison but this method does not work for this
comparison:

4.10.0 > 4.8.0

Now the versions are parsed by Gem::Version, that comes with rubygems and should
be installed in the frontend.

When the version can not be parsed it falls back to text comparison or forces update
if the comparison can not be made (one of the two versions is malformed).

More information about semantic versioning: http://semver.org/

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences