Skip to content
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

✨use legacy successors, support skips and skipRange #743

Merged

Conversation

joelanford
Copy link
Member

@joelanford joelanford commented Apr 5, 2024

Description

Reviewer Checklist

  • API Go Documentation
  • Tests: Unit Tests (and E2E Tests, if appropriate)
  • Comprehensive Commit Messages
  • Links to related GitHub Issue(s)

@joelanford joelanford requested a review from a team as a code owner April 5, 2024 12:41
Copy link

netlify bot commented Apr 5, 2024

Deploy Preview for olmv1 ready!

Name Link
🔨 Latest commit 633f86e
🔍 Latest deploy log https://app.netlify.com/sites/olmv1/deploys/660ff32c6a00dd00088dc67c
😎 Deploy Preview https://deploy-preview-743--olmv1.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Signed-off-by: Joe Lanford <joe.lanford@gmail.com>
Copy link

codecov bot commented Apr 5, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 63.81%. Comparing base (a0bc950) to head (633f86e).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #743      +/-   ##
==========================================
+ Coverage   63.50%   63.81%   +0.30%     
==========================================
  Files          22       22              
  Lines        1403     1415      +12     
==========================================
+ Hits          891      903      +12     
  Misses        459      459              
  Partials       53       53              
Flag Coverage Δ
e2e 47.20% <52.94%> (-0.05%) ⬇️
unit 57.78% <100.00%> (+0.38%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

}
if candidateBundleEntry.SkipRange != "" {
installedBundleVersion, _ := installedBundle.Version()
skipRange, _ := bsemver.ParseRange(candidateBundleEntry.SkipRange)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The difference between blang semver and masterminds semver import aliases is so little that overlooking the subtlety is really easy to do.
Your code is fine, though I can't help but wonder though when someone will 'cross the streams' and we'll miss it.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah agreed. Perhaps we should think about adding some wrappers that obviate the subtlety?

Copy link
Contributor

@everettraven everettraven left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@joelanford joelanford added this pull request to the merge queue Apr 5, 2024
Merged via the queue into operator-framework:main with commit ea567f9 Apr 5, 2024
19 checks passed
@grokspawn
Copy link
Contributor

Solves #54

@joelanford joelanford deleted the support-skips-skipRange branch June 20, 2024 18:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants