pod search should list versions in version order, not lexicographic order #1936
Labels
s2:confirmed
Issues that have been confirmed by a CocoaPods contributor
t2:defect
These are known bugs. The issue should also contain steps to reproduce. PRs welcome!
Try
Note how the leftmost version listed in the Versions line is 3.9.0 when in fact the latest version is actually 3.13.0.
A human is going to look at the Versions line and assume the most recent version is on the left. Nobody is going to assume that they need nor wlll they want to scan the whole line and pick out the latest version.
I realize that the latest version is shown in parentheses in the top title of the podspec listing
However, it seems like listing the Versions line in lexicographic order is a bug and makes no sense since the natural and correct way to think about versions is by their actual domain ordering, which would place versions in a strict ordering from, preferably, latest on the left to oldest on the right.
I'd be happy to take a look at fixing this if you can give me a pointer where to look in the code.
Thanks!
Joel
The text was updated successfully, but these errors were encountered: