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

[ACM-12908]Swap out cmo dependency for local structs #1547

Merged
merged 1 commit into from
Jul 31, 2024

Conversation

philipgough
Copy link
Contributor

@philipgough philipgough commented Jul 24, 2024

This change introduces a like for like copy of the relevant source code in order to avoid the dependency issues we had when trying to upgrade https://github.com/openshift/cluster-monitoring-operator on this branch.

#1523 updates the dependencies across the project and is the preferred solution going forward.

@philipgough philipgough changed the title Swap out cmo dependency for local structs [ACM-12908]Swap out cmo dependency for local structs Jul 24, 2024
@philipgough philipgough force-pushed the ACM-12908 branch 2 times, most recently from 99316ab to 11d748e Compare July 24, 2024 10:14
pkg/cmo/api.go Outdated
Copy link
Contributor

Choose a reason for hiding this comment

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

Maybe this could live in the already existing operators/pkg folder instead of a new pkg folder as the repo root?

Copy link
Contributor

Choose a reason for hiding this comment

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

Also it could be a good idea to have a comment documenting the original source of all this code (so that we know where to look for updates to it) and its own license & copyright notice (if needed).

Copy link

Copy link
Contributor

@douglascamata douglascamata left a comment

Choose a reason for hiding this comment

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

/lgtm

Copy link

openshift-ci bot commented Jul 31, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: douglascamata, philipgough

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:
  • OWNERS [douglascamata,philipgough]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-merge-bot openshift-merge-bot bot merged commit 3f5ae1a into stolostron:release-2.11 Jul 31, 2024
10 checks passed
@philipgough philipgough deleted the ACM-12908 branch July 31, 2024 12:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants