Diamond Dependency - CI/CD用語集の定義
diamond dependency は、2 つの依存関係が両方とも 3 つ目に依存するグラフ形状であり、resolver は両方のためにその共有パッケージの単一バージョンを調整する必要があります。
diamond dependency は、2 つの依存関係が両方とも 3 つ目に依存するグラフ形状であり、resolver は両方のためにその共有パッケージの単一バージョンを調整する必要があります。
この名前はグラフのダイヤモンド形状に由来します。1 つのルート、2 つの中間パッケージ、そして両方が指す共有リーフです。
問題点
2 つの親が共有パッケージの互換性のないバージョンを必要とする場合、ダイヤモンドは version conflict になります。グラフ全体で一貫したバージョン range がこれを防ぎます。
関連ガイド
Version Conflict - CI/CD Glossary DefinitionVersion Conflict: A version conflict occurs when two parts of a dependency graph require incompatible version…
Dependency Graph - CI/CD Glossary DefinitionDependency Graph: A dependency graph is the directed graph of which packages depend on which others, used by…
Transitive Dependency - CI/CD Glossary DefinitionA transitive dependency is one you pull in indirectly through another package. You never declared it, yet its…