-
-
Notifications
You must be signed in to change notification settings - Fork 5
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
[RFC] Support repository-specific configuration #110
Comments
|
I'm sorry, but how this affects anything? We would like to maintain features that only could bring any benefit.
If you would use Hitman you would see that it's approval/rejection is not counted as Hintman is just a bot not a collaborator/member. So there is no benefit from that as well. |
Since you phrase your rejection of my proposals as a question, I'll answer: Because it's not immediately obvious what's going on here: Is it drunk, or stuck in a fortune cookie? I might like for that comment to say "Passed automated linting." or nothing at all.
I'm not sure if that's immediately obvious to everyone; the only GitHub app I've used so far is "wip". This fact is emphasised with the "✓" being gray rather than green. To those who are uninitiated to GitHub's color codes (or simply red-green color blind), it may falsely indicate that a PR was approved when, in fact, it just passed automated linting. Such misunderstandings can be mitigated, in part by not "approving", which ambiguously means either "the linter found no errors" or "the maintainer thinks this should be merged", and in part by making it obvious in text exactly what happened: The PR passed automated linting. These are suggestions; if you have chosen the truths that you like, it is after all open source. |
I don't think your tone is appropriate for the open source. We are spending our spare time on the project and I think none of us deserves such attacks. If you had strong opinions about your decision you could explicitly write that, so we could see that you propose something with the particular reason and help you with the understanding of what is going on, but instead, you decided to demand something and use inappropriate words like "drunk" and similar. I would need to ask you to stop behaving this way in our organization. We have the Code of Conduct and we would like everybody who wants to take part in the Kowainik projects to familiarise oneself with it. Our goal is that everybody feels secure in here, but your tone doesn't imply it. |
I'm sorry for mocking the humor embedded in the bot's response, and I'm sorry for using this as an attack on why you may not want to make its responses optional. I've not demanded anything but the assumption that my suggestion is not ridiculous by default. I'd like to enable the bot for a repo that sees a lot of PRs from people who have never contributed to open source before. I suspect that the humor / philosophy embedded will leave confusion as to what's going on, since this would be the first (albeit automated) voice of that project to a new contributor. I understand if you'd like to keep configuration low, as a general matter of preference. I've described how the two types of configuration I suggested can be useful in one instance. |
Despite the tone of the suggestion, I agree with it: I'd like to enable IMHO, the possibility to switch the bot phrasing to something formal/neutral is a good feature which can lead to a wider audience approval. |
Other topic for clarification is behaviour of the |
@popzxc, thanks for your input! As I mention I do understand the necessity of such a request, it completely has a point.
Yes, this is an important question, thanks for bringing that up. I would say that the default configuration with the top PR comment saying about the problem and that it's switched to the default config makes sense to me. I guess it's the best way to trace such issues at the moment. |
I'm still thinking about this issue, and got an idea on behaviour of The solution is really simple: This will require What do you think? |
@popzxc This is a nice proposal and a possible direction for improvements in this area 🙂 However, this will introduce new complications and involve some discussions around design. I propose for now (well, once the configuration is implemented) to simply print error message text inside review comment and fall back to default configuration. And discuss submitting of errors and news via issues under a separate issue. |
It was decided that's it's a good idea to introduce a file like
hintman.toml
or.hintman.toml
that users can put in their repos and modify to adjust settings. This issue is a discussion on possible features of this config.I'm just going to dump a bunch of ideas. So feel free to comment on what you find useful:
.hlint.yaml
files (in case users want to work with packages likerelude
, see Support custom.hlint.yaml
files in repositories #57)In addition to supported features it would be nice to have:
The text was updated successfully, but these errors were encountered: