-
Notifications
You must be signed in to change notification settings - Fork 261
fix(render/diff): Support olm.constraint in opm render/diff cmd #901
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
fix(render/diff): Support olm.constraint in opm render/diff cmd #901
Conversation
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: dinhxuanvu 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 |
Codecov Report
@@ Coverage Diff @@
## master #901 +/- ##
==========================================
+ Coverage 52.07% 52.18% +0.11%
==========================================
Files 103 103
Lines 9092 9113 +21
==========================================
+ Hits 4735 4756 +21
- Misses 3449 3451 +2
+ Partials 908 906 -2
Continue to review full report at Codecov.
|
|
I might be missing something, but why do we need to parse/recognize the (I'm assuming that even without this change, those properties are treated opaquely and carried along without any processing) |
|
@joelanford Apparently, |
|
Hi, @dinhxuanvu |
15083d9 to
215da4b
Compare
Currently, the olm.constraint type is ignored and not recognized in render and diff cmd. This commit is to add supoprt for constraint type. Signed-off-by: Vu Dinh <vudinh@outlook.com>
215da4b to
c688f76
Compare
|
@joelanford Ready for the final review. |
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.
Just to make sure I'm understanding this, the reason we need this logic in the conversion code is because olm.constraints are encoded in bundles as dependencies instead of properties?
I was under the impression that olm.constraint was always meant to be introduced as a property, but I also wasn't paying that much attention to that aspect of it.
The EP said that |
Clean up test code Signed-off-by: Vu Dinh <vudinh@outlook.com>
|
/lgtm |
Currently, the olm.constraint type is ignored and not recognized in
render and diff cmd. This commit is to add supoprt for constraint
type.
Signed-off-by: Vu Dinh vudinh@outlook.com
Description of the change:
Motivation for the change:
Reviewer Checklist
/docs