-
Notifications
You must be signed in to change notification settings - Fork 252
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
Bug 1885425: fix(indexing): order bulk add by version field #503
Bug 1885425: fix(indexing): order bulk add by version field #503
Conversation
@njhale: An error was encountered searching for bug 1885425 on the Bugzilla server at https://bugzilla.redhat.com:
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. |
/bugzilla refresh |
@njhale: An error was encountered searching for bug 1885425 on the Bugzilla server at https://bugzilla.redhat.com:
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. |
/bugzilla refresh |
@njhale: This pull request references Bugzilla bug 1885425, which is valid. The bug has been updated to refer to the pull request using the external bug tracker. 3 validation(s) were run on this bug
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. |
fa2449f
to
0dd89d1
Compare
/retest |
Can I please ask what's the time-frame of this PR getting merged? |
Codecov Report
@@ Coverage Diff @@
## master #503 +/- ##
==========================================
+ Coverage 48.73% 49.42% +0.69%
==========================================
Files 90 90
Lines 6103 6286 +183
==========================================
+ Hits 2974 3107 +133
- Misses 2469 2485 +16
- Partials 660 694 +34
Continue to review full report at Codecov.
|
3e84bf0
to
716e9ff
Compare
When adding more than one bundle to an index in replaces mode, sort the input by order of ascending version field (semver). This ensures a deterministic update graph in the absence of a replaces field. The replaces field takes priority.
/hold cancel
@yashvardhannanavati I'm requesting reviews now. If all goes well it should be in today. |
On index add in replaces mode, pick the highest bundle version in each channel as its head; take the default channel from the highest bundle version in the entire package.
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: ecordell, njhale 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 |
/retest Please review the full test history for this PR and help us cut down flakes. |
1 similar comment
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest |
1 similar comment
/retest |
/retest Please review the full test history for this PR and help us cut down flakes. |
1 similar comment
/retest Please review the full test history for this PR and help us cut down flakes. |
/hold e2e-aws consistently failing. investigating now. |
/hold cancel The failures don't seem to be isolated to this PR or operator-registry. DPTP is looking into the problem (see https://coreos.slack.com/archives/CEKNRGF25/p1605530888050100) |
/retest |
2 similar comments
/retest |
/retest |
@njhale: Some pull requests linked via external trackers have merged: The following pull requests linked via external trackers have not merged:
These pull request must merge or be unlinked from the Bugzilla bug in order for it to move to the next state. Once unlinked, request a bug refresh with Bugzilla bug 1885425 has not been moved to the MODIFIED state. 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. |
/cherry-pick release-4.6 |
@njhale: #503 failed to apply on top of branch "release-4.6":
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. |
With the introduction of operator-framework#503, when a bundle from the list of bundles being added with the `opm index add` command was invalid, opm was not throwing an error, and was building the index with the valid bundles instead, even when the `permissive` mode was not enabled. This PR fixes the issue.
/bugzilla refresh |
@njhale: All pull requests linked via external trackers have merged: Bugzilla bug 1885425 has been moved to the MODIFIED state. 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. |
When adding more than one bundle to an index in replaces mode, sort the input by order of ascending version field (semver). This ensures a deterministic update graph in the absence of a replaces field.
The replaces field takes priority.