Replies: 2 comments 1 reply
-
BTW, you may implement a feature to make it easier for users to test stand-alone linters: provide a command to install all such linters and example command how to run specific linter in a way matching current .golangci.yml setup. |
Beta Was this translation helpful? Give feedback.
-
Yes and no. If you build from https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh \
| sh -s -- -b /tmp/ v1.46.0 I made a small tool not too long ago to easily install multiple versions and switch between them; gclv
Not sure I follow, if you use the
This is a bit weird to me, why would anyone else that contributes to this linter for free want to download and install it? I also don't have all the linters installed locally but when troubleshooting I kinda have to install them. If the issue is with the upstream linter there's nothing anyone maintaining If the issue is reproducible with the standalone linter the one that would look into that should be the maintainer of the linter, not a maintainer of One thing that we (@ldez) have been working on lately is a new template when integrating a linter to
This is to address the concerns you're talking about, having a single binary that you can download from the release page. I also don't think the problem is as big as you describe, I've been looking into a lot of issues the last few years and in the majority of cases I would say the steps to test this would be: go install github.com/user/linter
linter ./pkg # or ./file.go I think the bug reporting process should be easy and I'll gladly work for simplifying it. But is your suggestion that you just file an issue with a linter and the maintainers of |
Beta Was this translation helpful? Give feedback.
-
While I understand why you guys ask all that info just to create new bugreport… it's about too much! Some time ago I realized I'm just trying hard to avoid reporting issues on golangci-lint because it requires too much time:
go install
. Is binary vs non-binary difference are really that important? If yes, then maybe it's possible to somehow fix your build process to make it less important?And unlikely I'm the only one who feels this way. Which means you're losing bugreports because people just give up on using some feature instead asking to fix them.
Please consider making this process more user-friendly!
When I have an issue with my Linux distribution I report it in distro's bugtracker - no matter is it some tool's packaging-for-the-distro issue or just a bug in the tool itself. Even if tool has own bugtracker and this issue is already reported there - we anyway needs an issue in distro's bugtracker, because distro user's don't bother much it tool itself was already fixed, they bother is their distro has the fix (so user can have it too with ease) or not.
As you've chosen to embed dozens tools in your binary and let your users use only one tool instead of dozens - then you should take one more step further this road and let users report ALL issues they've with your tool, no matter is it actually some embedded upstream tool's issue or your tool's issue.
Beta Was this translation helpful? Give feedback.
All reactions