Skip to content

Conversation

@LeSeulArtichaut
Copy link
Contributor

Closes #453 (hopefully :D)
cc @Mark-Simulacrum @spastorino

@LeSeulArtichaut LeSeulArtichaut marked this pull request as draft April 10, 2020 11:56
Copy link
Member

@Mark-Simulacrum Mark-Simulacrum left a 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.

let zulip_req = client.post("https://rust-lang.zulipchat.com/api/v1/messages")
.form(&[
("type", "stream"),
("to", config.zulip_stream.to_string().as_str()),
Copy link
Member

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?

Copy link
Contributor Author

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

@Mark-Simulacrum
Copy link
Member

Please de-draft and ping me explicitly once this is ready for another review pass (and hopefully, merging :)

@LeSeulArtichaut LeSeulArtichaut marked this pull request as ready for review April 10, 2020 13:00
Co-authored-by: spastorino <[email protected]>
Co-authored-by: Mark-Simulacrum <[email protected]>
@LeSeulArtichaut
Copy link
Contributor Author

@Mark-Simulacrum I think it is good for review, I adressed all the previous review comments.
Also, do you want me to write unit tests for this feature?

@LeSeulArtichaut
Copy link
Contributor Author

Oh, I don't think it takes into account whether we are in a PR on in a regular issue. @spastorino should we allow @rustbot prioritize in PRs?

@Mark-Simulacrum
Copy link
Member

I think it's fine to allow it everywhere, no need for special error handling.

@Mark-Simulacrum
Copy link
Member

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.

@LeSeulArtichaut
Copy link
Contributor Author

I'll open the PR

@Mark-Simulacrum Mark-Simulacrum merged commit 309e0aa into rust-lang:master Apr 10, 2020
@LeSeulArtichaut LeSeulArtichaut deleted the prioritize branch April 10, 2020 13:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add rustbot prioritize command

3 participants