Skip to content

ChangeDependency/ChangePackage and transitive/dependencies #4980

Answered by timtebeek
crankydillo asked this question in Q&A
Discussion options

You must be logged in to vote

What's the context of your recipe run here? Are you running this recipe in isolation or as part of a larger composite?

It's hard to say at times what recipes should and should not change in a project. The recipe might run as part of a larger composite where we rely on another recipe to switch to a different transitive dependency, or it might be run in isolation where a new explicit dependency might need to be added. In the past we've seen over eager addition of explicit dependencies as a source of frustration, so we've become cautious in adding those where they might not be needed.

We could adjust the recipe here to add the dependency if not present transitively, and only if using the old…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@crankydillo
Comment options

Answer selected by timtebeek
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants