gbdev / gbdev/rgbenv

Version list presented in suboptimal ordering

Open
#21 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Shell
Stars
12
Forks
4
PR merge metrics
No merged PRs in 30d

Description

The version list (i.e. that produced by `rgbenv available [--online]`) is sorted in a suboptimal way that can "hide" newer versions.
There are two problems:
- The suffix / RC versions. RC releases should come before the non-RC one with same version number.
- currently the RCs appear later than the final version e.g. `0.9.0-rc1` follows `0.9.0`
- The three numeric fields `A.B.C` aren't treated like numbers, which will be an issue wherever the number of characters differs.
- e.g. (actually it's just this one) `0.3.10` appears between `0.3.1` and `0.3.2`

Sorting using the version tags should be doable, with a bit of fiddling around anyway!

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.