There are lots of situations where the CLI does or will perform version comparison. We have a similar situation on the server side as well. In both cases we need to reliably sort versions, or compare two versions, and make decisions.
To close this issue, we need the following:
[x] choose an existing library, or build a solution that uses the semantic version spec to sort and compare versions
[x] coordinate with the Galaxy Server team, and copy or use the same tools/code to perform version compares and sorts. Comparison and sort operations should yield the same results from both server and client
There are lots of situations where the CLI does or will perform version comparison. We have a similar situation on the server side as well. In both cases we need to reliably sort versions, or compare two versions, and make decisions.
To close this issue, we need the following: