Description
Our current Graph Transfer infrastructure is built on a DAG that gets traversed based on the TransformationGraphDefinition. This TransformationGraphDefinition has N nodes for N transformations it needs to execute. Because we need to discover all nodes that are rendered into this definition, we will need to issue a "pre-fetch", a step that builds the definition by discovering the component graph. We should use our discover algorithm here: https://github.com/open-component-model/open-component-model/blob/main/bindings/go/dag/sync/discover.go
This recursion should only be triggered based on an optional flag we can push into the CLI. This effectively replaces the --recursive flag.
Done Criteria
Description
Our current Graph Transfer infrastructure is built on a DAG that gets traversed based on the TransformationGraphDefinition. This TransformationGraphDefinition has N nodes for N transformations it needs to execute. Because we need to discover all nodes that are rendered into this definition, we will need to issue a "pre-fetch", a step that builds the definition by discovering the component graph. We should use our discover algorithm here: https://github.com/open-component-model/open-component-model/blob/main/bindings/go/dag/sync/discover.go
This recursion should only be triggered based on an optional flag we can push into the CLI. This effectively replaces the
--recursiveflag.Done Criteria
--recursive