Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add modules.vendorClosest #8235

Closed
bep opened this issue Feb 14, 2021 · 1 comment · Fixed by #8238
Closed

Add modules.vendorClosest #8235

bep opened this issue Feb 14, 2021 · 1 comment · Fixed by #8238
Assignees
Milestone

Comments

@bep
Copy link
Member

bep commented Feb 14, 2021

Given this:

mainProject
   _vendor
   submodule
       _vendor

If a dependency used by submodule exists in mainProject._vendor, then that is the version that is used.

The use case I have in mind may be exotic, but this new flag would pick the vendored dependency closest to where it's used and not the first one, as it is now.

Note that there can still be only one dependency of a given module path, so if mainProject is also using this dependency, then that _vendor version will win.

@github-actions
Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 24, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant