Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installed versions are not always displayed in "correct order" with haxelib list #83

Closed
Gama11 opened this issue Jul 27, 2013 · 3 comments
Assignees
Milestone

Comments

@Gama11
Copy link
Member

Gama11 commented Jul 27, 2013

This is a very minor issue, if it can be considered an issue at all. The versions installed don't always show in the "correct order" (oldest first, newest last). Like you can see on this screenshot, it seems to work perfectly for every lib but nape, where 2.0.9 shows up on the very right instead of on the left:

@drkibitz
Copy link

I haven't looked at the code, but looks like a pretty standard sort issue, 1 comes before 9.

@onefifth
Copy link
Contributor

These are currently displayed in whatever order they are handed to Haxelib from the filesystem. So ordered alphabetically rather than as actual numbered versions. Which unfortunately means 10 comes before 2.
This particular issue will be much more easily fixed with the upcoming changes to the library version handling/parsing in pull #81.

@nadako
Copy link
Member

nadako commented Dec 9, 2015

I went ahead and added version sorting using current SemVer.compare

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants