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

plugin: temporarily hide warning about using plugins using the old API #4002

Merged
merged 3 commits into from Aug 11, 2023

Conversation

ldez
Copy link
Member

@ldez ldez commented Aug 10, 2023

Fixes #4001

I will create a PR after the merge of this one to restore the log.

@ldez ldez added the linter: custom About custom/private linters label Aug 10, 2023
@ldez ldez changed the title plugin: remove warnning about using plugins using the old API plugin: remove warning about using plugins using the old API Aug 10, 2023
@ldez ldez requested a review from bombsimon August 10, 2023 21:51
Copy link
Member

@bombsimon bombsimon left a comment

Choose a reason for hiding this comment

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

I agree with your comment (which I also wrote in the ticket). I don't get how waiting until the next release to display the log message would make any difference? It will just give the user less time to fix, or golangci-lint one extra release before fully deprecating/removing (if ever?).

@ldez ldez added the blocked Need's direct action from maintainer label Aug 10, 2023
@ldez ldez changed the title plugin: remove warning about using plugins using the old API plugin: temporarily hide warning about using plugins using the old API Aug 11, 2023
@ldez
Copy link
Member Author

ldez commented Aug 11, 2023

I updated to PR based on #4001 (comment)

@bombsimon WDYT?

Copy link
Member

@bombsimon bombsimon left a comment

Choose a reason for hiding this comment

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

LGTM, just some minor comments

pkg/lint/lintersdb/custom_linters.go Outdated Show resolved Hide resolved
pkg/lint/lintersdb/custom_linters.go Outdated Show resolved Hide resolved
pkg/lint/lintersdb/custom_linters.go Show resolved Hide resolved
ldez and others added 2 commits August 11, 2023 11:14
Co-authored-by: Simon Sawert <simon@sawert.se>
@ldez ldez merged commit a9378d9 into golangci:master Aug 11, 2023
16 checks passed
@ldez ldez deleted the fix/plugin-remove-warn branch August 11, 2023 10:14
@ldez ldez removed the blocked Need's direct action from maintainer label Aug 11, 2023
@ldez ldez mentioned this pull request Feb 10, 2024
@ldez ldez added this to the v1.54 milestone Mar 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
linter: custom About custom/private linters
Projects
None yet
Development

Successfully merging this pull request may close these issues.

v1.54.0 warns about using plugins using the old API
2 participants