Skip to content

✨use legacy successors, support skips and skipRange - #743

Merged
joelanford merged 1 commit into
operator-framework:mainfrom
joelanford:support-skips-skipRange
Apr 5, 2024
Merged

✨use legacy successors, support skips and skipRange#743
joelanford merged 1 commit into
operator-framework:mainfrom
joelanford:support-skips-skipRange

Conversation

@joelanford

@joelanfordjoelanford commented Apr 5, 2024

Copy link
Copy Markdown
Member

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 ownerApril 5, 2024 12:41
@netlify

netlifyBot commented Apr 5, 2024

Copy link
Copy Markdown

Deploy Preview for olmv1 ready!

NameLink
🔨 Latest commit633f86e
🔍 Latest deploy loghttps://app.netlify.com/sites/olmv1/deploys/660ff32c6a00dd00088dc67c
😎 Deploy Previewhttps://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>
@codecov

codecovBot commented Apr 5, 2024

Copy link
Copy Markdown

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 
FlagCoverage Δ
e2e47.20% <52.94%> (-0.05%)⬇️
unit57.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
Copy Markdown
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
Copy Markdown
MemberAuthor

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?

@everettraveneverettraven left a comment

Copy link
Copy Markdown
Contributor

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 ea567f9Apr 5, 2024
@grokspawn

Copy link
Copy Markdown
Contributor

Solves #54

@joelanford
joelanford deleted the support-skips-skipRange branch June 20, 2024 18:59
Sign up for freeto 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.

3 participants

@joelanford@grokspawn@everettraven