You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Different language ecosystems have different rules about version number formatting, valid syntax, sorting, and equivalence. It's unrealistic to expect the core CLI to correctly handle all of these differences.
A new gRPC method should be added to the language agent specification that can be used to compare two version strings, CompareVersions(string, string). This will behave similarly to typical compare functions:
If the two values are equivalent, then the result will be 0.
The strings do not need to be equal to be equivalent. 1.0 is likely equivalent to 1.0.0.0, but ecosystem rules should be used to make that determination.
If the first value is less than the second value, then the result will be less than 0.
If the first value is greater than the second value, then the result will be greater than 0.
The text was updated successfully, but these errors were encountered:
Different language ecosystems have different rules about version number formatting, valid syntax, sorting, and equivalence. It's unrealistic to expect the core CLI to correctly handle all of these differences.
A new gRPC method should be added to the language agent specification that can be used to compare two version strings,
CompareVersions(string, string)
. This will behave similarly to typicalcompare
functions:0
.1.0
is likely equivalent to1.0.0.0
, but ecosystem rules should be used to make that determination.0
.0
.The text was updated successfully, but these errors were encountered: