Re:Thoughts on “Dependency hell is NP-complete”
by Dylan16807 on Saturday December 17, 2016 @01:14PM
(#13201679)
I would not say the main reason for wildcards is to save disk space. It's to allow updates to happen automatically.
> Package A contains the correct Dependency 1 1.0.1.
What happened to "Package A was written when Dependency 1 was at version 1.0.0."?
If someone in the pinned-version universe was able to update package A to include 1.0.1, the equivalent coder in the semver universe should have updated package A to require "<2 >=1.0.1". Semver dependencies should never lag in necessary updates vs. pinned dependencies in a fair comparison, because they can set an exact minimum.
> Package A contains the correct Dependency 1 1.0.1.
What happened to "Package A was written when Dependency 1 was at version 1.0.0."?
If someone in the pinned-version universe was able to update package A to include 1.0.1, the equivalent coder in the semver universe should have updated package A to require "<2 >=1.0.1". Semver dependencies should never lag in necessary updates vs. pinned dependencies in a fair comparison, because they can set an exact minimum.