-
-
Notifications
You must be signed in to change notification settings - Fork 20
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
Proposal: Count 👍 of the team #39
Comments
One caveat: Core enhancements/features are not subject to the champion+3 rule; they always should be approved by TSC. I think it would be safest to require "rule" label as well as "enhancement"/"feature". That said, I would definitely find something like this useful, if we could either minimize noise from the bot or be very intentional about the noise. A "noisier" approach that could nevertheless provide some value is for the bot to actually leave a post which shows current team 👍 and champion and also briefly explains the Champion/Consensus processes (with links for more details). That would possibly help reduce questions about the process. |
I'll take a look at this, if nobody has any objections. I think the approach I'll probably use in my prototype will be that the bot will create a reply comment right away saying something like,
And the bot would edit this comment as reactions come in to the main issue. If we get to a champion and three 👍's with no 👎's, it could also remove "evaluating" label and add "accepted" label. Of course, we could also do away with the comment and just have the bot focus on the labels, but I think a friendly response could still add value. If anyone can think of an approach that's obviously better, please feel free to throw it out, but otherwise I think it's worth at least getting the bot logic written-- exactly how the bot chooses to output results is something we can tweak pretty easily. |
Thank you so much!! I agree with you, the friendly response is better. |
I've got a local WIP branch for this (not yet pushed to GitHub). One of the biggest challenges here is that there is no web hook for reactions, unless it counts as an issue edit (which I doubt since the reactions aren't in the issue payload). There is a set of reaction APIs (although those are in preview), so we can at least get the reaction info at key times (e.g., issue is assigned or unassigned, which could mean a champion or removal of champion). But we might need to rely on probot-scheduler or similar to iterate over all issues/PRs and calculate the consensus status once in a while. At some point, I'll push my local branch so people can see what I have in mind so far. But it will definitely be work in progress. |
Apologies, haven't had a chance to work on this. The lack of web hook for reactions makes this a lot harder than it would be otherwise. If someone else wants to give this a shot, feel free. |
This might no longer be necessary due to https://github.com/mysticatea/eslint-evaluating-issues (thanks @mysticatea for putting that together!). |
Though I'm not sure that it's possible.
As our guideline, accepting enhancement requires a champion and three or more 👍s.
But it's not easy to know the issue status because everyone can put 👍 icon.
So I think convenience if the bot adds labels which show the issue status.
feature
orenhancement
issue.1-supported
,2-supported
,3-supported
or something like.accepted
label if there is an assignee and3-supported
.How do you think?
The text was updated successfully, but these errors were encountered: