-
Notifications
You must be signed in to change notification settings - Fork 77
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
Configure team nominate label in prioritization alerts on Zulip #1766
Configure team nominate label in prioritization alerts on Zulip #1766
Conversation
fbe8cd9
to
48e3f3a
Compare
hey @fmease I was looking into completing this small change. wdyt? Does it look like what you wanted to accomplish? |
It definitely does what I had envisioned, thanks! 😊 The major issue I see is that this PR adds very rust-lang/rust-specific logic to triagebot. While triagebot still contains a lot of things specific to rust-lang/rust, I think the general vision for this bot is to move anything repo-specific to configs & to make it repo-agnostic. |
And I really don't know how one would best abstract over this feature and make it configurable. @Mark-Simulacrum, what do you think? |
@fmease all zulip stuff is highly specific to rust-lang. so while I'd like it to be more configurable, this specific change does not really change much. |
48e3f3a
to
bf17d70
Compare
That's true, I agree. However making it really generic is beyond the time I want to allocate on implementing this change (see also my first comment). So if it's not that bad and it's accepted, great, otherwise I'll have to drop the mic on this 😄 |
bf17d70
to
d50a53c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
small stylistic nits, not blocking. sorry, forgot to submit a code review earlier.
d50a53c
to
6fcc7be
Compare
applied the suggested nits! thanks @fmease for your time :) |
needs rebase |
6fcc7be
to
0db30d1
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! I'm going to go ahead and merge based on previous reviews, and since this seems pretty simple.
@apiraino Do you mind following up and post an update to the documentation at https://github.com/rust-lang/rust-forge/blob/master/src/triagebot/zulip-notifications.md to add a brief mention of this?
This patch tries to customize the prioritization Zulip notification (
I-{team}-nominated
) according to the team labels on the issue.It's not complete, there are some cases not covered but I didn't feel complicating too much the logic.
And this is a brainstoming for @fmease that suggested doing so. Feel free to own this patch and bring it to completion (unsure you have permissions on this repo) or suggest how you would like the implementation to be.
This patch completes rust-lang/rust#119959 (review)
Thanks!