Skip to content

🌱 Moving pkgs to internal/operator-controller/ #1737

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

Merged

Conversation

LalatenduMohanty
Copy link
Member

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 10, 2025 15:41
@openshift-merge-robot openshift-merge-robot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Feb 10, 2025
Copy link

netlify bot commented Feb 10, 2025

Deploy Preview for olmv1 ready!

Name Link
🔨 Latest commit 7612bd7
🔍 Latest deploy log https://app.netlify.com/sites/olmv1/deploys/67ab8d4f1195ff0008725a24
😎 Deploy Preview https://deploy-preview-1737--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.

@openshift-merge-robot openshift-merge-robot removed the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Feb 10, 2025
@joelanford
Copy link
Member

@joelanford is doing a PR to consolidate the cache right

I am consolidating containers/image implementations from both projects.

@LalatenduMohanty LalatenduMohanty force-pushed the issue_1707 branch 2 times, most recently from 4c09b1a to 8cf1eea Compare February 11, 2025 14:41
@openshift-merge-robot openshift-merge-robot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Feb 11, 2025
@LalatenduMohanty LalatenduMohanty force-pushed the issue_1707 branch 2 times, most recently from 79d7aea to b173eb1 Compare February 11, 2025 15:53
@openshift-merge-robot openshift-merge-robot removed the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. 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.34%. Comparing base (4304961) to head (7612bd7).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1737   +/-   ##
=======================================
  Coverage   67.34%   67.34%           
=======================================
  Files          61       61           
  Lines        5236     5236           
=======================================
  Hits         3526     3526           
  Misses       1449     1449           
  Partials      261      261           
Flag Coverage Δ
e2e 52.19% <ø> (+0.07%) ⬆️
unit 55.00% <ø> (ø)

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 changed the title 🌱 [WIP] Moving pkgs to internal/operator-controller/ 🌱 Moving pkgs to internal/operator-controller/ Feb 11, 2025
camilamacedo86
camilamacedo86 previously approved these changes Feb 11, 2025
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

Assuming that pass in the CI
I do not see any reason for we do not get it merged.
👍

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label 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]>
@openshift-ci openshift-ci bot removed the lgtm Indicates that a PR is ready to be merged. label Feb 11, 2025
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
@LalatenduMohanty LalatenduMohanty added this pull request to the merge queue Feb 11, 2025
Merged via the queue into operator-framework:main with commit 9be7693 Feb 11, 2025
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
4 participants