Skip to content

Commit b3c146f

Browse files
Eric Stroczynskiestroz
authored andcommitted
chore(opm): note that whole dependency packages are added to the diff for now (#740)
Signed-off-by: Eric Stroczynski <[email protected]> Upstream-repository: operator-registry Upstream-commit: 4ea7a6b6da0d4b6fa2a8a73568bf0ed10a1cfed5
1 parent fb92eba commit b3c146f

File tree

2 files changed

+10
-0
lines changed
  • staging/operator-registry/cmd/opm/alpha/diff
  • vendor/github.com/operator-framework/operator-registry/cmd/opm/alpha/diff

2 files changed

+10
-0
lines changed

staging/operator-registry/cmd/opm/alpha/diff/cmd.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,11 @@ in which case they are not included in the diff, or a new ref, in which
5656
case they are included. Dependencies provided by some catalog unknown to
5757
'opm alpha diff' will not cause the command to error, but an error will occur
5858
if that catalog is not serving these dependencies at runtime.
59+
60+
NOTE: for now, if any dependency exists, the entire dependency's package is added to the diff.
61+
In the future, these packages will be pruned such that only the latest dependencies
62+
satisfying a package version range or GVK, and their upgrade graph(s) to their latest
63+
channel head(s), are included in the diff.
5964
`),
6065
Example: templates.Examples(`
6166
# Diff a catalog at some old state and latest state into a declarative config index.

vendor/github.com/operator-framework/operator-registry/cmd/opm/alpha/diff/cmd.go

Lines changed: 5 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)