nabijaczleweli / cargo-update

A cargo subcommand for checking and applying updates to installed executables
MIT License
1.22k stars 42 forks source link

Sort also by name #54

Closed sinkuu closed 6 years ago

sinkuu commented 7 years ago

Currently cargo install-update -a lists package names in unstable order. This PR tries to sort them with (needs_update, name) tuple.

nabijaczleweli commented 7 years ago

Can you update manpage and toplevel doc to reflect that as well?

sinkuu commented 6 years ago

Unless I'm mistaken, they seem to be sorted already. I guess they are as it was (except 42871e6dc692b66edfd978ba6267e896ecfdbfaa change?) before cargo-update began to use lazy_sort's sorted_by, which is an unstable sort.

nabijaczleweli commented 6 years ago

You're right; I really should sleep sometimes. :P

nabijaczleweli commented 6 years ago

Released in v1.3.1