Skip to content

Transitive dependencies #817

Answered by theory
bever1337 asked this question in Q&A
Mar 5, 2024 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

All the changes in a Sqitch plan inherently depend on the changes that come before. Sqitch won't allow you to deploy a later change without first deploying all the changes before it, in the order listed in the plan file. So dependencies in a single project are largely informational, not enforced.

In that case, do what you're comfortable with! I try to depend only on the changes directly relevant to the current change, not transitive dependencies.

This applies for cross-project dependencies, as well — and here you do need to specify them and Sqitch will enforce them. Require the dependencies required for what's in the current file, but don't worry about the dependencies on that dependency,…

Replies: 1 comment 1 reply

Comment options

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

Answer selected by bever1337
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