Skip to content
This repository has been archived by the owner on Dec 5, 2019. It is now read-only.

Add support for optionally fetching resolved dependencies of projects #85

Open
jspahrsummers opened this issue Oct 7, 2016 · 0 comments

Comments

@jspahrsummers
Copy link
Member

Knowing the resolved dependencies of a particular project can help select better versions during resolution of the top-level project.

For example, given this dependency list:

A == 1.0
B == 2.0

Imagine that A's unresolved dependency list looks like:

C ~> 1.0

and B's unresolved dependency list looks like:

C >= 1.0

Now, if [email protected] and [email protected] have already resolved to [email protected] (e.g., that's committed in a lockfile in each repository), that's probably the best version to use even if there's a [email protected] available, because 1.0 is the only version known to be tested with both A and B.

If we still wanted it to be parameterizable (in this example, to allow selecting [email protected] despite the above), we could add a flag or a callback to the consumer.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant