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

🌱 Split v1alpha6 & v1alpha7 conversion into multiple files #1923

Merged
merged 1 commit into from
Mar 5, 2024

Conversation

mdbooth
Copy link
Contributor

@mdbooth mdbooth commented Mar 5, 2024

This is 100% code motion with no code changes whatsoever.

conversion.go has become unwieldy, making changes to it harder to
understand. This simply splits it into several files based on the
corresponding _types.go.

We don't touch v1alpha5 as it's about to be deleted. It can stay a mess.

Note that this is currently based on top of #1920. We could merge it separately fairly easily. The only conflict there is the addition of the Convertible interface on OpenStackClusterTemplateList. However, I'm hoping the webhooks change can merge quickly.

/hold

@k8s-ci-robot k8s-ci-robot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Mar 5, 2024
@k8s-ci-robot k8s-ci-robot requested review from dulek and lentzi90 March 5, 2024 12:12
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: mdbooth

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:

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

@k8s-ci-robot k8s-ci-robot added approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. labels Mar 5, 2024
Copy link

netlify bot commented Mar 5, 2024

Deploy Preview for kubernetes-sigs-cluster-api-openstack ready!

Name Link
🔨 Latest commit 1eca090
🔍 Latest deploy log https://app.netlify.com/sites/kubernetes-sigs-cluster-api-openstack/deploys/65e71761aab5860008d8090c
😎 Deploy Preview https://deploy-preview-1923--kubernetes-sigs-cluster-api-openstack.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.

@k8s-ci-robot k8s-ci-robot added the size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. label Mar 5, 2024
This is 100% code motion with no code changes whatsoever.

conversion.go has become unwieldy, making changes to it harder to
understand. This simply splits it into several files based on the
corresponding _types.go.

We don't touch v1alpha5 as it's about to be deleted. It can stay a mess.
@mdbooth mdbooth force-pushed the conversion_cleanup branch from 6241209 to 1eca090 Compare March 5, 2024 13:00
@mdbooth
Copy link
Contributor Author

mdbooth commented Mar 5, 2024

/hold cancel

@k8s-ci-robot k8s-ci-robot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Mar 5, 2024
Copy link
Contributor

@lentzi90 lentzi90 left a comment

Choose a reason for hiding this comment

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

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Mar 5, 2024
@k8s-ci-robot k8s-ci-robot merged commit af6dbae into kubernetes-sigs:main Mar 5, 2024
9 checks passed
@mdbooth mdbooth deleted the conversion_cleanup branch March 5, 2024 14:05
@mdbooth
Copy link
Contributor Author

mdbooth commented Mar 5, 2024

/lgtm

Thank you! This was going to be a massive merge conflict magnet 😬

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files.
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants