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
Should it be possible to specify the sort order using --sort ascending and --sort descending (with --sort descending being the default)?
If we follow the current parameter naming convention of find-package-versions, the parameter should maybe be named sort ascending / sort descending, which I personally favor over --sort ascending.
btw: this issue is fixed in 1.17. - I must have been drunk yesterday when I accidentally added the "fix" to the find-package function and broke that one too.
If you ask who needs this: Noone, really, because you just have to .Reverse() the resulting list of versions (if we assume no max argument). The only usage I can think of is scripting support, but there you most likely want to get the newest versions anyway.
Activity
forki commentedon Jun 21, 2015
Argh. So I assume the nuget team broke the order again.
On Jun 21, 2015 2:49 AM, "Cameron Taggart" notifications@github.com wrote:
ctaggart commentedon Jun 21, 2015
This is not fixed in

1.16.0.cr7pt0gr4ph7 commentedon Jun 22, 2015
Should it be possible to specify the sort order using
--sort ascendingand--sort descending(with--sort descendingbeing the default)?If we follow the current parameter naming convention of
find-package-versions, the parameter should maybe be namedsort ascending/sort descending, which I personally favor over--sort ascending.forki commentedon Jun 22, 2015
question is if anybody really needs this param.
btw: this issue is fixed in 1.17. - I must have been drunk yesterday when I accidentally added the "fix" to the
find-packagefunction and broke that one too.cr7pt0gr4ph7 commentedon Jun 22, 2015
If you ask who needs this: Noone, really, because you just have to
.Reverse()the resulting list of versions (if we assume nomaxargument). The only usage I can think of is scripting support, but there you most likely want to get the newest versions anyway.