-
Notifications
You must be signed in to change notification settings - Fork 90
Implement the prioritize
command
#456
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
Conversation
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.
This looks great! Left a few comments.
src/handlers/prioritize.rs
Outdated
let zulip_req = client.post("https://rust-lang.zulipchat.com/api/v1/messages") | ||
.form(&[ | ||
("type", "stream"), | ||
("to", config.zulip_stream.to_string().as_str()), |
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.
Where is the stream configured?
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.
It's configurable in triagebot.toml
Please de-draft and ping me explicitly once this is ready for another review pass (and hopefully, merging :) |
Co-authored-by: spastorino <spastorino@gmail.com> Co-authored-by: Mark-Simulacrum <mark.simulacrum@gmail.com>
1e8452f
to
3a182c1
Compare
@Mark-Simulacrum I think it is good for review, I adressed all the previous review comments. |
Oh, I don't think it takes into account whether we are in a PR on in a regular issue. @spastorino should we allow |
I think it's fine to allow it everywhere, no need for special error handling. |
Once CI passes I'm going to go ahead and merge (it should auto-deploy). Please file a PR against rust-lang/rust enabling it there as well so we can get that landed. It would also be good to add a page to the wiki, https://github.com/rust-lang/triagebot/wiki, see other pages there for sample content. |
I'll open the PR |
Closes #453 (hopefully :D)
cc @Mark-Simulacrum @spastorino