Sort opam upgrade
output by semver(-ish) versioning breakdown: major, non-major
#5288
Labels
opam upgrade
output by semver(-ish) versioning breakdown: major, non-major
#5288
At the moment, the output of an
opam upgrade
can be somewhat overwhelming on a large project.When analyzing this before pressing
y
, I find myself overwhelmingly doing one thing: comparing version numbers.A computer is a lot more efficient, and less error-prone, at checking version numbers. :P
I propose that the summaries of actions-to-take (if larger than some threshold 𝑛) group their output first by lose semver assumptions, before display to the user:
To anticipate some feedback and agree with it — this feature is a footgun, if the OCaml ecosystem isn't reasonably careful as a whole about our semver. My recollection is of there being some pushback and 'who cares' about semver a few years ago, last time I read anything on this topic; but it does seem to have gained some additional support — and fwiw, @Khady has convinced me to open this issue anyway. 😅
The text was updated successfully, but these errors were encountered: