Skip to content

Add golangci-lint Go plugin version of KAL #78

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
merged 1 commit into from
May 8, 2025

Conversation

JoelSpeed
Copy link
Contributor

This adds a version of KAL that can be used with the go plugin system for golangci-lint.

This will be used in K/K to add KAL, currently being tested against this branch in kubernetes/kubernetes#131561

CC @pohly @BenTheElder

@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 May 2, 2025
@JoelSpeed
Copy link
Contributor Author

/hold for the moment

@k8s-ci-robot k8s-ci-robot added do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels May 2, 2025
enxebre added a commit to enxebre/hypershift that referenced this pull request May 5, 2025
enxebre added a commit to enxebre/hypershift that referenced this pull request May 6, 2025
enxebre added a commit to enxebre/hypershift that referenced this pull request May 6, 2025
@JoelSpeed
Copy link
Contributor Author

/hold cancel

I think we've tested and proven this is working enough

@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 May 6, 2025
@JoelSpeed JoelSpeed force-pushed the go-plugin branch 2 times, most recently from e5df195 to 6e305c1 Compare May 7, 2025 11:49
@BenTheElder
Copy link
Member

/lgtm
/hold
@pohly any further concerns?

@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 May 7, 2025
@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label May 7, 2025
enxebre added a commit to enxebre/hypershift that referenced this pull request May 7, 2025
openshift-merge-bot bot pushed a commit to openshift/hypershift that referenced this pull request May 8, 2025
* Introduce kube api linter

* Add hack to install kube api linter from vendored code until kubernetes-sigs/kube-api-linter#78 is merged

* Downgrade kube api linter to not require go 1.24

* Make kube api linter happy in retro

* Run make update
@sivchari
Copy link
Member

sivchari commented May 8, 2025

/lgtm

Copy link

@pohly pohly left a comment

Choose a reason for hiding this comment

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

/lgtm

Feel free to lift the hold.

@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: JoelSpeed, pohly

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

@JoelSpeed
Copy link
Contributor Author

/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 May 8, 2025
@k8s-ci-robot k8s-ci-robot merged commit 3e7c663 into kubernetes-sigs:main May 8, 2025
4 checks passed
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/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants