Skip to content

Commit b1943b4

Browse files
authored
Merge pull request #2047 from Urgau/rust_team_data-mention
Mention `rust_team_data` usage when changing it
2 parents 918a650 + 1d4e1a8 commit b1943b4

File tree

2 files changed

+23
-1
lines changed

2 files changed

+23
-1
lines changed

docs/labels.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ contributors to filter issues/PRs by labels.
55

66
## Labels are currently manually applied
77

8-
[`triagebot`][triagebot] is not currently set up for the `team` repository, as it would need write
8+
[`triagebot`][triagebot] is not currently set up for the `team` repository with write
99
access (which needs to be tightly controlled). Thus, labels are currently manually applied and
1010
adjusted. See [threat model](./threat-model.md).
1111

triagebot.toml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# This file's format is documented at
2+
# https://forge.rust-lang.org/triagebot/pr-assignment.html#configuration
3+
4+
# NOTE: Due to this repository security requirements, triagebot/rustbot can't have
5+
# write permissions. This means that any features that requires write permissions
6+
# (like adding labels, updating comments, ...) WILL not work.
7+
#
8+
# Posting comments is fine though.
9+
10+
[mentions."rust_team_data/src/v1.rs"]
11+
message = """
12+
`rust_team_data/src/v1.rs` has been modified, it is used (as a git dependency) by multiple sub-projects like \
13+
[triagebot](https://github.com/rust-lang/triagebot), the [www.rust-lang.org](https://github.com/rust-lang/www.rust-lang.org) website and others.
14+
15+
If you are changing the data structures, please make sure that the changes are not going to break serde deserialization \
16+
(adding a field is fine; removing or renaming a field isn't).
17+
18+
If you must do a breaking change to the format, make sure to coordinate it with \
19+
[all the users](https://github.com/search?q=org%3Arust-lang+%2Fname+%3D+%22rust_team_data%22%2F+NOT+repo%3Arust-lang%2Fteam+NOT+repo%3Arust-lang%2Fsync-team&type=code) \
20+
of the `rust_team_data` crate.
21+
"""
22+
cc = ["@Urgau"]

0 commit comments

Comments
 (0)