Skip to content

Bug 1989460: chore(opm): note that whole dependency packages are added to the diff for now #161

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 13, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions staging/operator-registry/cmd/opm/alpha/diff/cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,11 @@ in which case they are not included in the diff, or a new ref, in which
case they are included. Dependencies provided by some catalog unknown to
'opm alpha diff' will not cause the command to error, but an error will occur
if that catalog is not serving these dependencies at runtime.

NOTE: for now, if any dependency exists, the entire dependency's package is added to the diff.
In the future, these packages will be pruned such that only the latest dependencies
satisfying a package version range or GVK, and their upgrade graph(s) to their latest
channel head(s), are included in the diff.
`),
Example: templates.Examples(`
# Diff a catalog at some old state and latest state into a declarative config index.
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.