Stream: t-compiler/wg-learning

Topic: triagebot current status


Santiago Pastorino (Jun 12 2019 at 18:16, on Zulip):

hey @Pietro Albini

Santiago Pastorino (Jun 12 2019 at 18:16, on Zulip):

yesterday in the wg-learning meeting we were talking about how to assign issues to people that are not members of the organization

Santiago Pastorino (Jun 12 2019 at 18:16, on Zulip):

and we talked about triagebot

Pietro Albini (Jun 12 2019 at 18:16, on Zulip):

@rustbot claim should work now

Amanjeev Sethi (Jun 12 2019 at 18:17, on Zulip):

May I try it on my ticket? :slight_smile:

Santiago Pastorino (Jun 12 2019 at 18:17, on Zulip):

@rustbot claim should work now

on rustc-guide?

Santiago Pastorino (Jun 12 2019 at 18:17, on Zulip):

we were talking about rustc-guide

Pietro Albini (Jun 12 2019 at 18:17, on Zulip):

oh no

Pietro Albini (Jun 12 2019 at 18:17, on Zulip):

it's only configured for rustc for now, afaik

Santiago Pastorino (Jun 12 2019 at 18:17, on Zulip):

yeah, that was the main question

Santiago Pastorino (Jun 12 2019 at 18:18, on Zulip):

if there was work in progress to make it usable on rustc-guide and other projects

simulacrum (Jun 12 2019 at 18:19, on Zulip):

@Pietro Albini I know you were planning on an org-wide webhook, maybe that's happened already?

Pietro Albini (Jun 12 2019 at 18:19, on Zulip):

most things should already be in place

Santiago Pastorino (Jun 12 2019 at 18:19, on Zulip):

@Pietro Albini do you know if it's something coming more or less soon?

Pietro Albini (Jun 12 2019 at 18:20, on Zulip):

we need to configure the org-wide webhook, and then you can add the triagebot.toml file to rustc-guide

Santiago Pastorino (Jun 12 2019 at 18:20, on Zulip):

the idea is ... if that's coming soon we can wait

Santiago Pastorino (Jun 12 2019 at 18:20, on Zulip):

otherwise we can give access to the people of the working group until we have that fixed

Pietro Albini (Jun 12 2019 at 18:21, on Zulip):

@simulacrum can you setup the org-wide webhook (taking care of disabling on the triagebot and the rustc repos)?

simulacrum (Jun 12 2019 at 18:21, on Zulip):

Yeah, I'll do that now

Pietro Albini (Jun 12 2019 at 18:22, on Zulip):

after that's done to enable triagebot on a repo the bots team needs to have write access to the repo, and a file like https://github.com/rust-lang/rust/blob/master/triagebot.toml needs to be present at the root

Pietro Albini (Jun 12 2019 at 18:22, on Zulip):

[assign] is the only needed section if you just care about claiming

simulacrum (Jun 12 2019 at 18:26, on Zulip):

Okay triagebot should be live across all of rust-lang

Pietro Albini (Jun 12 2019 at 18:26, on Zulip):

(it will still need to be configured on a per-repo basis, but y'all can do that)

simulacrum (Jun 12 2019 at 18:26, on Zulip):

@Santiago Pastorino you'll just need to add the triagebot.toml to your repo

Pietro Albini (Jun 12 2019 at 18:27, on Zulip):

(and the bots team with write access)

simulacrum (Jun 12 2019 at 18:27, on Zulip):

and when things go horribly wrong as they all too often do let me know

Pietro Albini (Jun 12 2019 at 18:27, on Zulip):

back to studying now, o/

Santiago Pastorino (Jun 12 2019 at 18:28, on Zulip):

(and the bots team with write access)

what does this means?

Pietro Albini (Jun 12 2019 at 18:29, on Zulip):

2019-06-12-20-29-28.png

Santiago Pastorino (Jun 12 2019 at 18:30, on Zulip):

:+1:

Santiago Pastorino (Jun 12 2019 at 20:40, on Zulip):

@Pietro Albini I guess that's what we want? https://github.com/rust-lang/rustc-guide/pull/337

Santiago Pastorino (Jun 12 2019 at 20:40, on Zulip):

plus the config

Santiago Pastorino (Jun 12 2019 at 20:42, on Zulip):

@mark-i-m I don't think I can make bots team have write access there

Pietro Albini (Jun 12 2019 at 20:51, on Zulip):

@Santiago Pastorino added the bots team to the repo

Santiago Pastorino (Jun 12 2019 at 21:40, on Zulip):

@Pietro Albini :+1: and the file should be just that, right?

Santiago Pastorino (Jun 12 2019 at 21:40, on Zulip):

it's the traigebot.toml file with just [assign] in it

Santiago Pastorino (Jun 12 2019 at 21:41, on Zulip):

ok, I saw you approved, it's just merging the thing then and trying it out :)

Santiago Pastorino (Jun 12 2019 at 21:42, on Zulip):

merged, @Pietro Albini it should just work, now then?

Santiago Pastorino (Jun 12 2019 at 21:43, on Zulip):

@Amanjeev Sethi do you want to @rustbot claim your issue? :)

Pietro Albini (Jun 12 2019 at 21:43, on Zulip):

yep -- https://github.com/rust-lang/rustc-guide/issues/338

Santiago Pastorino (Jun 12 2019 at 21:44, on Zulip):

cool :+1:

Pietro Albini (Jun 12 2019 at 22:24, on Zulip):

and the non-org-member assignment works :tada:

nikomatsakis (Jun 14 2019 at 11:27, on Zulip):

@rustbot claim should work now

this is cool!

Last update: Nov 15 2019 at 20:00UTC