Skip to content

Commit f86bff0

Browse files
authored
Merge branch 'master' into add-twir-reviewer
2 parents 7458f63 + e6822b2 commit f86bff0

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

65 files changed

+697
-71
lines changed

.github/CODEOWNERS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
/people/Nadrieril.toml @Mark-Simulacrum @pietroalbini @jdno @marcoieni
2727
/people/jackh726.toml @Mark-Simulacrum @pietroalbini @jdno @marcoieni
2828
/people/jdno.toml @Mark-Simulacrum @pietroalbini @jdno @marcoieni
29+
/people/jieyouxu.toml @Mark-Simulacrum @pietroalbini @jdno @marcoieni
2930
/people/marcoieni.toml @Mark-Simulacrum @pietroalbini @jdno @marcoieni
3031
/people/oli-obk.toml @Mark-Simulacrum @pietroalbini @jdno @marcoieni
3132
/people/pietroalbini.toml @Mark-Simulacrum @pietroalbini @jdno @marcoieni

README.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
# Rust teams structure
22

3-
This repository contains the structure of the Rust teams. The repository is
4-
automatically synchronized with:
3+
This repository contains the structure of the Rust teams,
4+
and is used to manage permissions such as the ability to merge PRs.
5+
The repository is automatically synchronized with:
56

67
| Service | Synchronized every | |
78
|------------------------------------------------------------|:---------------------:|-------------------------------------------|
@@ -46,7 +47,11 @@ from all the supported services.
4647

4748
## Documentation
4849

50+
* [Threat model](docs/threat-model.md)
4951
* [TOML schema reference](docs/toml-schema.md)
52+
* [Team maintenance](https://forge.rust-lang.org/infra/team-maintenance.html).
53+
* In particular, refer to [*Rules for changes to team repo*](https://forge.rust-lang.org/infra/team-maintenance.html#rules-for-changes-to-team-repo).
54+
* [Labels applied to issues and PRs](docs/labels.md)
5055

5156
## Using the CLI tool
5257

config.toml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,12 @@ allowed-github-orgs = [
1515
"rust-analyzer",
1616
]
1717

18+
# GitHub organizations where member management is independent
19+
# and should not be automatically synchronized
20+
independent-github-orgs = [
21+
"rust-embedded",
22+
]
23+
1824
permissions-bors-repos = [
1925
"bors-kindergarten",
2026
"rust",
@@ -27,3 +33,28 @@ permissions-bools = [
2733
"dev-desktop",
2834
"sync-team-confirmation",
2935
]
36+
37+
# GitHub accounts that are allowed to stay in the GitHub organizations,
38+
# even if they may not be members of any team.
39+
# Note: Infra admins are automatically included from the infra-admins team.
40+
special-org-members = [
41+
# Bots.
42+
"bors",
43+
"craterbot",
44+
"rfcbot",
45+
"rust-rfcbot",
46+
"rust-embedded-bot",
47+
"rust-heroku-deploy-access",
48+
"rust-highfive",
49+
"rust-lang-core-team-agenda-bot",
50+
"rust-lang-glacier-bot",
51+
"rust-lang-owner",
52+
"rust-log-analyzer",
53+
"rust-timer",
54+
"rustbot",
55+
56+
# Ferrous systems employees who manage the github sponsors
57+
# for rust-analyzer.
58+
"MissHolmes",
59+
"skade",
60+
]

docs/labels.md

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# Labels used in the `team` repository
2+
3+
Some labels are setup to make it easier to figure out the status of an issue or PR, and allows
4+
contributors to filter issues/PRs by labels.
5+
6+
## Labels are currently manually applied
7+
8+
[`triagebot`][triagebot] is not currently set up for the `team` repository, as it would need write
9+
access (which needs to be tightly controlled). Thus, labels are currently manually applied and
10+
adjusted. See [threat model](./threat-model.md).
11+
12+
## Meaning of labels
13+
14+
- `needs-{team-repo,infra}-admin-review`: needs one of the [`infra-admins` or `team-repo-admins` or
15+
one from both to review (and approve/reject)][team-repo-rules].
16+
- `needs-team-lead-review`: needs a relevant team or Working Group (WG) or Project Group (PG) lead
17+
to approve.
18+
- Statuses:
19+
- `S-waiting-on-{author,review,team}`: self-evident
20+
- `S-has-concerns`: outstanding concerns that must be addressed
21+
- `S-blocked`: blocked on *something*
22+
- Team labels: only `T-{infra,leadership-council}`, the latter is intended to help council members
23+
to see what `team` PRs would need Council feedback or concerns the Council somehow.
24+
- `E-{easy,medium,hard}` and `E-help-wanted`: call-for-participation labels copied from
25+
`rust-lang/rust`.
26+
- `needs-triage`: someone should try to figure out what the issue/PR needs/is/affects/is blocked on.
27+
- `needs-council-fcp`: something that requires the Council to FCP (outside `team` repo as rfcbot
28+
isn't enabled).
29+
30+
31+
[triagebot]: https://forge.rust-lang.org/triagebot/index.html
32+
[team-repo-rules]:
33+
https://forge.rust-lang.org/infra/team-maintenance.html#rules-for-changes-to-team-repo

docs/toml-schema.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -368,6 +368,10 @@ Admins cannot override these branch protections. If an admin needs to do that, t
368368
pattern = "master"
369369
# Which CI checks to are required for merging (optional)
370370
# Cannot be set if `pr-required` is `false`.
371+
#
372+
# For regular GitHub Actions, this is the name of the *job* that is required,
373+
# not the name of the workflow or the workflow filename. The name of the job
374+
# defaults to its YAML key name, or can be overridden with the `name` field.
371375
ci-checks = ["CI"]
372376
# Whether new commits after a reviewer's approval of a PR
373377
# merging into this branch require another review.

people/AndyGauge.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
name = "Andrew Gauger"
2+
github = "AndyGauge"
3+
github-id = 6525150
4+
zulip-id = 257582
5+

people/KannanPalani57.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
name = "Kannan Palani"
2+
github = "KannanPalani57"
3+
github-id = 45064864
4+

people/LoriLorusso.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
name = "Lori Lorusso"
2+
github = "LoriLorusso"
3+
github-id = 66495765
4+
zulip-id = 944316
5+

people/MerrimanInd.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
name = "Xander Cesari"
2+
github = "MerrimanInd"
3+
github-id = 38871383
4+
zulip-id = 880880
5+

people/Osintedx.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
name = 'Taylor'
2+
github = 'Osintedx'
3+
github-id = 88603393
4+
5+
zulip-id = 951106

0 commit comments

Comments
 (0)