-
Notifications
You must be signed in to change notification settings - Fork 545
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(resolver): olm.constraint
property and compound constraints
#2418
feat(resolver): olm.constraint
property and compound constraints
#2418
Conversation
Skipping CI for Draft Pull Request. |
/cc @joelanford |
e12a395
to
be8bd26
Compare
46b0733
to
693d013
Compare
olm.constraint
property and compound constraints
I'm in the process of adding resolver unit tests for compound constraints. |
693d013
to
e09bd8e
Compare
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 took a quick glance. Will do further review later.
c9e0398
to
0a2da9c
Compare
fc37004
to
2060d89
Compare
@@ -733,10 +736,14 @@ func sortChannel(bundles []*cache.Entry) ([]*cache.Entry, error) { | |||
return chains[0], nil | |||
} | |||
|
|||
func DependencyPredicates(properties []*api.Property) ([]cache.Predicate, error) { | |||
// predicateConverter configures olm.constraint value -> predicate conversion for the resolver. | |||
type predicateConverter struct{} |
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 will contain fields when CEL is added.
Signed-off-by: Eric Stroczynski <[email protected]>
2060d89
to
ba9f369
Compare
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.
The PR looks good.
/approve
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: dinhxuanvu, estroz 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 |
/lgtm |
Description of the change:
olm.constraint
dependency property to resolverall
,any
,none
constraint typesMotivation for the change: compound dependency constraints (see operator-framework/enhancements#97).
Reviewer Checklist
/doc
/kind feature