Remove inappropriate dependence between packages #8294
Labels
component/infrastructure
Infrastructure related to building and testing
Epic
Represents a ZenHub Epic
kind/debt
Problems that increase the cost of other work
severity/2-serious
High usability or functional impact. Often has no workaround.
Summary
Several packages within the repository depend on other packages within the repository in unexpected and surprising ways. Correct this to make it easier to reason about the relationship between packages, avoid the potential for cyclic dependencies, and make it easier to consume VIC packages as dependencies in other projects.
Details
Generally, our dependencies should have a layered relationship: external code in
vendor
forming the base, re-usable code inpkg
building on that base, product-specific code inlib
in turn building on that, with executables incmd
forming the top of the "pyramid".We don't currently conform to even that basic expectation, with packages in
pkg
occasionally depending on code inlib
and packages inlib
occasionally depending on code incmd
. These relationships make code difficult refactor and maintain, in addition to other specific issues mentioned above.See Also
The text was updated successfully, but these errors were encountered: