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
{{ message }}
This repository was archived by the owner on Sep 9, 2020. It is now read-only.
While it's not possible as long as we're operating in a vendor/-bound world, we do expect to eventually be free of that. Once we are, it'll be possible to incorporate more than one version of a project in a binary.
The exact circumstances under which we'd want to do this would vary (and most of the time, we do not, as it has a lot of nasty potential side effects). One big one is minimizing (or removing) the risk of combinatorial explosion in the solver, as @rsclaid out.
Doing so, however, entails an addition to Gopkg.lock - each listed project needs to indicate which versions of the other dependent projects it's depending on, so that there's no ambiguity.
While we don't need to actually do anything with this information today, it'd be handy to add, because it surfaces project-to-project dependency information in a way that's not visible in the lock right now. Such information could well be useful for third-party tools, and by putting it into the lock, it removes the need to invoke some combination of dep status for them to read the information.