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

✨ : make go/v4 to be default Kubebuilder CLI scaffold #3278

Merged
merged 2 commits into from
Mar 13, 2023

Conversation

camilamacedo86
Copy link
Member

@camilamacedo86 camilamacedo86 commented Mar 11, 2023

Description

Make go/v4 layout the default layout of kubebuilder CLI
Now, new projects init without inform plugin will be created using go/v4 by default.

NOTE: It does not break the behaviour for those with a project scaffold with go/v3. It only makes the default scaffold of the the CLI to be go/v4

Motivation

#3117
#3217

@k8s-ci-robot k8s-ci-robot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels Mar 11, 2023
@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Mar 11, 2023
@camilamacedo86 camilamacedo86 requested review from varshaprasad96 and everettraven and removed request for joelanford and Kavinjsir March 11, 2023 12:03
@k8s-ci-robot k8s-ci-robot added size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. and removed size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels Mar 11, 2023
@camilamacedo86 camilamacedo86 changed the title ✨ make go/v4 default scaffold ⚠️ : make go/v4 default scaffold Mar 11, 2023
@camilamacedo86 camilamacedo86 changed the title ⚠️ : make go/v4 default scaffold ⚠️ : make go/v4 to be default Kubebuilder CLI scaffold Mar 11, 2023
@k8s-ci-robot k8s-ci-robot added size/S Denotes a PR that changes 10-29 lines, ignoring generated files. and removed size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Mar 11, 2023
@camilamacedo86
Copy link
Member Author

camilamacedo86 commented Mar 11, 2023

/hold

c/c @varshaprasad96 @everettraven

@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 11, 2023
@camilamacedo86 camilamacedo86 added this to the 3.10.0 release milestone Mar 11, 2023
@camilamacedo86 camilamacedo86 changed the title ⚠️ : make go/v4 to be default Kubebuilder CLI scaffold ✨ : make go/v4 to be default Kubebuilder CLI scaffold Mar 11, 2023
Copy link
Contributor

@Kavinjsir Kavinjsir left a comment

Choose a reason for hiding this comment

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

Copy link
Contributor

@everettraven everettraven left a comment

Choose a reason for hiding this comment

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

Changes look good to me! I noticed @Kavinjsir had some nits that make sense to me so I will hold on the LGTM for now so it doesn't automerge and they can be discussed.

@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: camilamacedo86, everettraven, Kavinjsir

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

@camilamacedo86
Copy link
Member Author

camilamacedo86 commented Mar 13, 2023

Hi @Kavinjsir,

The idea here is we only make the go/v4 the default scaffolds. Then, in other follows ups we can change our testdata (which does not affect and user), reduce the tests and etc.

So, I hope that it make sense and we can agree in improve the maintainability as I understand that you request here: #3278 (review) via follow ups.

See that we began to addressed this points as well: #3275

WDYT? @Kavinjsir @everettraven

@Kavinjsir
Copy link
Contributor

Sounds good to me! 👍🏼

@camilamacedo86
Copy link
Member Author

/hold cancel

@everettraven @varshaprasad96 @Kavinjsir could one of you just LGTM this one please?

@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 13, 2023
@everettraven
Copy link
Contributor

/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 13, 2023
@k8s-ci-robot k8s-ci-robot merged commit 99e275d into kubernetes-sigs:master Mar 13, 2023
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/S Denotes a PR that changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants