Closed teodorlu closed 1 year ago
I think a stable version should be preferred no matter what, unless there is no version, then an unstable version is the best you can do. We can include additional flags to choose --unstable
.
Closing, as I consider this to be fixed!
It would be nice to use
neil dep upgrade
before there are any stable released versions of a library. Per 0.1.60, runningneil dep upgrade
when when the installed version is unstable and the there are more recent unstable versions does nothing.I believe we should keep
neil dep upgrade
behavior unchanged when we're on a stable version, stable versions can only be upgraded to more recent stable versions.The following situation is less straightforward:
lib 0.1-alpha
.0.2
and an even more recent unstable version are available0.3-alpha
are available.I have a weak preference for "when the current version is unstable, pick the latest version whatsoever".