Skip to content

Commit 859431b

Browse files
Merge pull request #161 from estroz/bz/1989460
Bug 1989460: chore(opm): note that whole dependency packages are added to the diff for now
2 parents f62aaf3 + b3c146f commit 859431b

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)