Skip to content

🌱 Moving version and util to internal/shared #1743

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

Conversation

LalatenduMohanty
Copy link
Member

@LalatenduMohanty LalatenduMohanty commented Feb 11, 2025

This partially fixes #1707. The intent is to consolidate internal code from operator-controller and catalogd within internal e.g.:

catalogd/ - code specific to catalogd
internal/ - holds internal code of catalogd and operator-controller. 
internal/catalogd - holds unexported code specific to catalogd 
internal/operator-controller - holds unexported code specific to operator-comntroller 
internal/shared - shared code between catalogd and operator-controller which can not be exported outside.

Description

Reviewer Checklist

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

@LalatenduMohanty LalatenduMohanty requested a review from a team as a code owner February 11, 2025 18:12
Copy link

netlify bot commented Feb 11, 2025

Deploy Preview for olmv1 ready!

Name Link
🔨 Latest commit 6b006ac
🔍 Latest deploy log https://app.netlify.com/sites/olmv1/deploys/67ab9653ed89be0008b5fa0d
😎 Deploy Preview https://deploy-preview-1743--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.

@LalatenduMohanty LalatenduMohanty changed the title 🌱 [WIP] Moving version and util to inernal/shared 🌱 Moving version and util to inernal/shared Feb 11, 2025
@LalatenduMohanty LalatenduMohanty changed the title 🌱 Moving version and util to inernal/shared 🌱 Moving version and util to internal/shared Feb 11, 2025
This partially fixes operator-framework#1707. The intent is to consolidate internal code from operator-controller and catalogd within internal e.g.:

catalogd/ - code specific to catalogd
internal/ - holds internal code of catalogd and operator-controller. internal/catalogd - holds unexported code specific to catalogd internal/operator-controller - holds unexported code specific to operator-comntroller internal/shared - shared code between catalogd and operator-controller which can not be exported outside.

Signed-off-by: Lalatendu Mohanty <[email protected]>
Copy link
Contributor

@camilamacedo86 camilamacedo86 left a comment

Choose a reason for hiding this comment

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

/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Feb 11, 2025
Copy link

codecov bot commented Feb 11, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 67.32%. Comparing base (9be7693) to head (6b006ac).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1743      +/-   ##
==========================================
- Coverage   67.39%   67.32%   -0.08%     
==========================================
  Files          61       61              
  Lines        5236     5236              
==========================================
- Hits         3529     3525       -4     
- Misses       1447     1450       +3     
- Partials      260      261       +1     
Flag Coverage Δ
e2e 52.19% <ø> (-0.08%) ⬇️
unit 54.98% <ø> (-0.02%) ⬇️

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.

@LalatenduMohanty LalatenduMohanty added this pull request to the merge queue Feb 11, 2025
Merged via the queue into operator-framework:main with commit aa4cf2e Feb 11, 2025
21 of 22 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lgtm Indicates that a PR is ready to be merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Consolidate code from catalogd/internal in to operator-controller/internal
2 participants