-
Notifications
You must be signed in to change notification settings - Fork 261
feat(opm diff): include packages, channels, and versions in diff output #716
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
feat(opm diff): include packages, channels, and versions in diff output #716
Conversation
Codecov Report
@@ Coverage Diff @@
## master #716 +/- ##
==========================================
- Coverage 50.90% 50.64% -0.27%
==========================================
Files 102 102
Lines 8753 8846 +93
==========================================
+ Hits 4456 4480 +24
- Misses 3458 3522 +64
- Partials 839 844 +5
Continue to review full report at Codecov.
|
b1cc546 to
5ca6400
Compare
|
I still need to add more tests, but this is ready for review. |
5ca6400 to
3cef8db
Compare
ankitathomas
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great work! This needs some refactoring over the olm.channel schema added.
| EOF | ||
| opm alpha diff registry.org/my-catalog:def456 -i include.yaml -o yaml > my-catalog-index/index.yaml | ||
| # FINALLY: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks like it's missing a render step for including the old catalog in the declarative config directory.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done. the old catalog shouldn't be in the DC dir, just the diff in my-catalog-index/index.yaml.
3cef8db to
49ffe71
Compare
49ffe71 to
8c33405
Compare
Signed-off-by: Eric Stroczynski <ericstroczynski@gmail.com>
8c33405 to
836c742
Compare
|
/override go-apidiff / go-apidiff |
|
@estroz: /override requires a failed status context or a job name to operate on.
Only the following contexts were expected:
In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
|
@joelanford we should probably ignore the |
|
That would be a new feature for |
|
Ah bummer. Since the test is not required, prow should merge this when lgtm'd anyway. |
|
/approve |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: estroz, kevinrizza The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
joelanford
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
Description of the change: use
--include-file,-ito include a set of packages, channels, and/or versions inopm alpha diffoutput.Motivation for the change: you may want to explicitly include an upgrade graph (especially in heads-only mode) in your diff, ex. when you have a specific version requirement.
Reviewer Checklist
/docsTODO:
/kind feature