Skip to content
This repository has been archived by the owner on Mar 14, 2023. It is now read-only.

Ignore new comments #258

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Ignore new comments #258

wants to merge 2 commits into from

Conversation

Mark-Simulacrum
Copy link
Member

This removes the handling of r?.

This is replaced by rust-lang/triagebot#433; we should land them simultaneously.

@Mark-Simulacrum Mark-Simulacrum force-pushed the to-triagebot branch 4 times, most recently from 080a9d8 to 1d805b4 Compare March 30, 2020 17:03
This removes the handling of `r?`.
@Mark-Simulacrum
Copy link
Member Author

@pietroalbini This is ready for your review. The main difference is that triagebot no longer tries to be fancy about who can use r? on PRs, because we already were letting people without special permissions do so via @rustbot assign @foo. Note that on PRs we never assign rustbot itself, and will simply not do anything if you attempt to assign someone outside the GitHub org.

This PR, once deployed, will also presumably break r? on repositories that do not enable [assign] in the triagebot.toml configuration (or are not in an organization that has triagebot configured). We can either make assignment via r? or the rustbot command on PRs globally enabled (i.e. even w/o the config) or, as I would prefer, leave this as is.

I hope to soon have support for organization-wide base configuration such that we can enable e.g. assignment across all of rust-lang in triagebot ready.

@pietroalbini
Copy link
Member

This PR looks good! Thanks for working on this Mark ❤️

This PR, once deployed, will also presumably break r? on repositories that do not enable [assign] in the triagebot.toml configuration (or are not in an organization that has triagebot configured). We can either make assignment via r? or the rustbot command on PRs globally enabled (i.e. even w/o the config) or, as I would prefer, leave this as is.

I hope to soon have support for organization-wide base configuration such that we can enable e.g. assignment across all of rust-lang in triagebot ready.

I would also prefer to leave this as-is, and land configuration files only in the repositories where we want to enable r? (we might not want people to assign themselves in repos like rust-lang/rfcs).

Before landing this we'll of course need to merge rust-lang/triagebot#433, but also land the triagebot.tomls across the repositories where r? is already enabled. We'll also need to setup the triagebot webhook in the rust-embedded organization.

Currently the repositories with r? enabled are hosted in the rust-lang and rust-embedded (cc @therealprof) organizations. In those repos, a triagebot.toml file will need to be created with the following content:

[assign]

@Mark-Simulacrum
Copy link
Member Author

Hm, I think there's a lot of value in having it be global. Note that in e.g. rust-lang/rfcs, r? would only work to assign organization members which seems largely fine to me.

But yes, part of the difficulty with the global configuration is that I want to support opt-out of the global configuration as well.

We'll want all repositories that highfive listens on to get a triagebot.toml with the assignment section then. I can add a key to it that gates just the r? behavior (i.e. not the "assign rustbot" piece); do we want that?

@pietroalbini
Copy link
Member

I can add a key to it that gates just the r? behavior (i.e. not the "assign rustbot" piece); do we want that?

I can't think of a repo where we would want to enable r? but not claim. If you think it's useful anyway feel free to implement that :)

@pietroalbini
Copy link
Member

You also need to change the message that highfive prints when a reviewer is assigned. Otherwise rustbot will react to highfive's r? @foo.

@Mark-Simulacrum
Copy link
Member Author

Amended the messages.

@Mark-Simulacrum
Copy link
Member Author

Okay, I've filed (and merged) PRs for all rust-lang* crates, where applicable (i.e. not deprecated/archived). Did not do so for rust-embedded; I'm a bit tired of filing the same PR :)

Will likely try to finish up sometime soon, though, and maybe some of the embedded folks could help out.

bors bot added a commit to rust-embedded/panic-itm that referenced this pull request Apr 13, 2020
11: Add triagebot configuration r=adamgreig a=LeSeulArtichaut

This enables [assignment](https://github.com/rust-lang/triagebot/wiki/Assignment) through triagebot on this repository, in preparation for the migration from highfive to triagebot for PR assignment.

cc rust-lang/highfive#258 rust-lang/triagebot#433

Co-authored-by: LeSeulArtichaut <[email protected]>
bors bot added a commit to rust-embedded/itm that referenced this pull request Apr 13, 2020
28: Add triagebot configuration r=adamgreig a=LeSeulArtichaut

This enables [assignment](https://github.com/rust-lang/triagebot/wiki/Assignment) through triagebot on this repository, in preparation for the migration from highfive to triagebot for PR assignment.

cc rust-lang/highfive#258 rust-lang/triagebot#433

Co-authored-by: LeSeulArtichaut <[email protected]>
bors bot added a commit to rust-embedded/not-yet-awesome-embedded-rust that referenced this pull request Apr 13, 2020
18: Add triagebot configuration r=adamgreig a=LeSeulArtichaut

This enables [assignment](https://github.com/rust-lang/triagebot/wiki/Assignment) through triagebot on this repository, in preparation for the migration from highfive to triagebot for PR assignment.

cc rust-lang/highfive#258 rust-lang/triagebot#433

Co-authored-by: LeSeulArtichaut <[email protected]>
bors bot added a commit to rust-embedded/awesome-embedded-rust that referenced this pull request Apr 13, 2020
263: Add triagebot configuration r=adamgreig a=LeSeulArtichaut

This enables [assignment](https://github.com/rust-lang/triagebot/wiki/Assignment) through triagebot on this repository, in preparation for the migration from highfive to triagebot for PR assignment.

cc rust-lang/highfive#258 rust-lang/triagebot#433

Co-authored-by: LeSeulArtichaut <[email protected]>
@LeSeulArtichaut
Copy link
Contributor

I have completely flooded this issue...
I opened a PR for each rust-embedded repo mentionned in the Highfive data.

bors bot added a commit to rust-embedded/cortex-m-rt that referenced this pull request Apr 13, 2020
263: Add triagebot configuration r=jonas-schievink a=LeSeulArtichaut

This enables [assignment](https://github.com/rust-lang/triagebot/wiki/Assignment) through triagebot on this repository, in preparation for the migration from highfive to triagebot for PR assignment.

cc rust-lang/highfive#258 rust-lang/triagebot#433

Co-authored-by: LeSeulArtichaut <[email protected]>
bors bot added a commit to rust-embedded/svd2rust that referenced this pull request Apr 13, 2020
435: Add triagebot configuration r=therealprof a=LeSeulArtichaut

This enables [assignment](https://github.com/rust-lang/triagebot/wiki/Assignment) through triagebot on this repository, in preparation for the migration from highfive to triagebot for PR assignment.

cc rust-lang/highfive#258 rust-lang/triagebot#433

Co-authored-by: LeSeulArtichaut <[email protected]>
bors bot added a commit to rust-embedded/svd that referenced this pull request Apr 13, 2020
110: Add triagebot configuration r=therealprof a=LeSeulArtichaut

This enables [assignment](https://github.com/rust-lang/triagebot/wiki/Assignment) through triagebot on this repository, in preparation for the migration from highfive to triagebot for PR assignment.

cc rust-lang/highfive#258 rust-lang/triagebot#433

Co-authored-by: LeSeulArtichaut <[email protected]>
bors bot added a commit to rust-embedded/linux-embedded-hal that referenced this pull request Apr 13, 2020
40: Add triagebot configuration r=posborne a=LeSeulArtichaut

This enables [assignment](https://github.com/rust-lang/triagebot/wiki/Assignment) through triagebot on this repository, in preparation for the migration from highfive to triagebot for PR assignment.

cc rust-lang/highfive#258 rust-lang/triagebot#433

Co-authored-by: LeSeulArtichaut <[email protected]>
bors bot added a commit to rust-embedded/rust-sysfs-gpio that referenced this pull request Apr 13, 2020
63: Add triagebot configuration r=ryankurte a=LeSeulArtichaut

This enables [assignment](https://github.com/rust-lang/triagebot/wiki/Assignment) through triagebot on this repository, in preparation for the migration from highfive to triagebot for PR assignment.

cc rust-lang/highfive#258 rust-lang/triagebot#433

Co-authored-by: LeSeulArtichaut <[email protected]>
bors bot added a commit to rust-embedded/rust-i2cdev that referenced this pull request Apr 13, 2020
61: Add triagebot configuration r=ryankurte a=LeSeulArtichaut

This enables [assignment](https://github.com/rust-lang/triagebot/wiki/Assignment) through triagebot on this repository, in preparation for the migration from highfive to triagebot for PR assignment.

cc rust-lang/highfive#258 rust-lang/triagebot#433

Co-authored-by: LeSeulArtichaut <[email protected]>
bors bot added a commit to rust-embedded/embedded-hal that referenced this pull request Apr 13, 2020
202: Add triagebot configuration r=ryankurte a=LeSeulArtichaut

This enables [assignment](https://github.com/rust-lang/triagebot/wiki/Assignment) through triagebot on this repository, in preparation for the migration from highfive to triagebot for PR assignment.

cc rust-lang/highfive#258 rust-lang/triagebot#433

Co-authored-by: LeSeulArtichaut <[email protected]>
bors bot added a commit to rust-embedded/rust-spidev that referenced this pull request Apr 13, 2020
23: Add triagebot configuration r=ryankurte a=LeSeulArtichaut

This enables [assignment](https://github.com/rust-lang/triagebot/wiki/Assignment) through triagebot on this repository, in preparation for the migration from highfive to triagebot for PR assignment.

cc rust-lang/highfive#258 rust-lang/triagebot#433

Co-authored-by: LeSeulArtichaut <[email protected]>
bors bot added a commit to rust-embedded/rust-sysfs-pwm that referenced this pull request Apr 13, 2020
11: Add triagebot configuration r=ryankurte a=LeSeulArtichaut

This enables [assignment](https://github.com/rust-lang/triagebot/wiki/Assignment) through triagebot on this repository, in preparation for the migration from highfive to triagebot for PR assignment.

cc rust-lang/highfive#258 rust-lang/triagebot#433

Co-authored-by: LeSeulArtichaut <[email protected]>
bors bot added a commit to rust-embedded/svd2rust that referenced this pull request Apr 13, 2020
435: Add triagebot configuration r=therealprof a=LeSeulArtichaut

This enables [assignment](https://github.com/rust-lang/triagebot/wiki/Assignment) through triagebot on this repository, in preparation for the migration from highfive to triagebot for PR assignment.

cc rust-lang/highfive#258 rust-lang/triagebot#433

Co-authored-by: LeSeulArtichaut <[email protected]>
bors bot added a commit to rust-embedded/showcase that referenced this pull request Apr 13, 2020
22: Add triagebot configuration r=therealprof a=LeSeulArtichaut

This enables [assignment](https://github.com/rust-lang/triagebot/wiki/Assignment) through triagebot on this repository, in preparation for the migration from highfive to triagebot for PR assignment.

cc rust-lang/highfive#258 rust-lang/triagebot#433

Co-authored-by: LeSeulArtichaut <[email protected]>
bors bot added a commit to rust-embedded/blog that referenced this pull request Apr 13, 2020
119: Add triagebot configuration r=therealprof a=LeSeulArtichaut

This enables [assignment](https://github.com/rust-lang/triagebot/wiki/Assignment) through triagebot on this repository, in preparation for the migration from highfive to triagebot for PR assignment.

cc rust-lang/highfive#258 rust-lang/triagebot#433

Co-authored-by: LeSeulArtichaut <[email protected]>
bors bot added a commit to rust-embedded/itm that referenced this pull request Apr 13, 2020
28: Add triagebot configuration r=therealprof a=LeSeulArtichaut

This enables [assignment](https://github.com/rust-lang/triagebot/wiki/Assignment) through triagebot on this repository, in preparation for the migration from highfive to triagebot for PR assignment.

cc rust-lang/highfive#258 rust-lang/triagebot#433

Co-authored-by: LeSeulArtichaut <[email protected]>
bors bot added a commit to cross-rs/cross that referenced this pull request Apr 13, 2020
408: Add triagebot configuration r=Dylan-DPC a=LeSeulArtichaut

This enables [assignment](https://github.com/rust-lang/triagebot/wiki/Assignment) through triagebot on this repository, in preparation for the migration from highfive to triagebot for PR assignment.

cc rust-lang/highfive#258 rust-lang/triagebot#433

Co-authored-by: LeSeulArtichaut <[email protected]>
bors bot added a commit to rust-embedded/gpio-utils that referenced this pull request Apr 14, 2020
30: Add triagebot configuration r=ryankurte a=LeSeulArtichaut

This enables [assignment](https://github.com/rust-lang/triagebot/wiki/Assignment) through triagebot on this repository, in preparation for the migration from highfive to triagebot for PR assignment.

cc rust-lang/highfive#258 rust-lang/triagebot#433

Co-authored-by: LeSeulArtichaut <[email protected]>
bors bot added a commit to rust-embedded/embedonomicon that referenced this pull request Apr 14, 2020
65: Add triagebot configuration r=ryankurte a=LeSeulArtichaut

This enables [assignment](https://github.com/rust-lang/triagebot/wiki/Assignment) through triagebot on this repository, in preparation for the migration from highfive to triagebot for PR assignment.

cc rust-lang/highfive#258 rust-lang/triagebot#433

Co-authored-by: LeSeulArtichaut <[email protected]>
bors bot added a commit to rust-embedded/rust-embedded.github.io that referenced this pull request Apr 14, 2020
22: Add triagebot configuration r=ryankurte a=LeSeulArtichaut

This enables [assignment](https://github.com/rust-lang/triagebot/wiki/Assignment) through triagebot on this repository, in preparation for the migration from highfive to triagebot for PR assignment.

cc rust-lang/highfive#258 rust-lang/triagebot#433

Co-authored-by: LeSeulArtichaut <[email protected]>
bors bot added a commit to rust-embedded/discovery that referenced this pull request Apr 14, 2020
223: Add triagebot configuration r=ryankurte a=LeSeulArtichaut

This enables [assignment](https://github.com/rust-lang/triagebot/wiki/Assignment) through triagebot on this repository, in preparation for the migration from highfive to triagebot for PR assignment.

cc rust-lang/highfive#258 rust-lang/triagebot#433

Co-authored-by: LeSeulArtichaut <[email protected]>
bors bot added a commit to rust-embedded/svd2rust that referenced this pull request Apr 22, 2020
435: Add triagebot configuration r=therealprof a=LeSeulArtichaut

This enables [assignment](https://github.com/rust-lang/triagebot/wiki/Assignment) through triagebot on this repository, in preparation for the migration from highfive to triagebot for PR assignment.

cc rust-lang/highfive#258 rust-lang/triagebot#433

Co-authored-by: LeSeulArtichaut <[email protected]>
bors bot added a commit to rust-embedded/rust-embedded.github.io that referenced this pull request Jul 4, 2020
22: Add triagebot configuration r=ryankurte a=LeSeulArtichaut

This enables [assignment](https://github.com/rust-lang/triagebot/wiki/Assignment) through triagebot on this repository, in preparation for the migration from highfive to triagebot for PR assignment.

cc rust-lang/highfive#258 rust-lang/triagebot#433

Co-authored-by: LeSeulArtichaut <[email protected]>
bors bot added a commit to rust-embedded/itm that referenced this pull request Jul 25, 2020
28: Add triagebot configuration r=jonas-schievink a=LeSeulArtichaut

This enables [assignment](https://github.com/rust-lang/triagebot/wiki/Assignment) through triagebot on this repository, in preparation for the migration from highfive to triagebot for PR assignment.

cc rust-lang/highfive#258 rust-lang/triagebot#433

Co-authored-by: LeSeulArtichaut <[email protected]>
@camelid
Copy link
Member

camelid commented Oct 5, 2020

What's the status of this?

@pietroalbini
Copy link
Member

We're waiting for GitHub to implement role-based access control, as that's needed to securely give triagebot access to all the repositories without any chance of privilege escalation.

@jyn514
Copy link
Member

jyn514 commented Jan 4, 2022

That issue was implemented about a month ago.
github/roadmap#111

adamgreig pushed a commit to rust-embedded/cortex-m that referenced this pull request Jan 12, 2022
263: Add triagebot configuration r=jonas-schievink a=LeSeulArtichaut

This enables [assignment](https://github.com/rust-lang/triagebot/wiki/Assignment) through triagebot on this repository, in preparation for the migration from highfive to triagebot for PR assignment.

cc rust-lang/highfive#258 rust-lang/triagebot#433

Co-authored-by: LeSeulArtichaut <[email protected]>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants