Skip to content

Commit 94a6936

Browse files
committed
Track embedded-book in the toolstate
1 parent 777cc25 commit 94a6936

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

src/ci/docker/x86_64-gnu-tools/checktools.sh

+1
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ status_check() {
7878
check_dispatch $1 beta clippy-driver src/tools/clippy
7979
# these tools are not required for beta to successfully branch
8080
check_dispatch $1 nightly miri src/tools/miri
81+
check_dispatch $1 nightly embedded-book src/doc/embedded-book
8182
}
8283

8384
# If this PR is intended to update one of these tools, do not let the build pass

src/tools/publish_toolstate.py

+5-3
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
except ImportError:
1313
import urllib.request as urllib2
1414

15-
# List of people to ping when the status of a tool changed.
15+
# List of people to ping when the status of a tool or a book changed.
1616
MAINTAINERS = {
1717
'miri': '@oli-obk @RalfJung @eddyb',
1818
'clippy-driver': '@Manishearth @llogiq @mcarton @oli-obk @phansch',
@@ -22,6 +22,7 @@
2222
'nomicon': '@frewsxcv @Gankro',
2323
'reference': '@steveklabnik @Havvy @matthewjasper @alercah',
2424
'rust-by-example': '@steveklabnik @marioidival @projektir',
25+
'embedded-book': '',
2526
}
2627

2728
REPOS = {
@@ -33,6 +34,7 @@
3334
'nomicon': 'https://github.com/rust-lang-nursery/nomicon',
3435
'reference': 'https://github.com/rust-lang-nursery/reference',
3536
'rust-by-example': 'https://github.com/rust-lang/rust-by-example',
37+
'embedded-book': 'https://github.com/rust-embedded/book',
3638
}
3739

3840

@@ -70,7 +72,7 @@ def issue(
7072
7173
cc @{}, the PR reviewer, and @rust-lang/compiler -- nominating for prioritization.
7274
73-
''').format(relevant_pr_number, tool, REPOS[tool], relevant_pr_user, pr_reviewer),
75+
''').format(relevant_pr_number, tool, REPOS.get(tool), relevant_pr_user, pr_reviewer),
7476
'title': '`{}` no longer builds after {}'.format(tool, relevant_pr_number),
7577
'assignees': assignees,
7678
'labels': ['T-compiler', 'I-nominated'],
@@ -137,7 +139,7 @@ def update_latest(
137139
if build_failed:
138140
try:
139141
issue(
140-
tool, MAINTAINERS.get(tool),
142+
tool, MAINTAINERS.get(tool, ''),
141143
relevant_pr_number, relevant_pr_user, pr_reviewer,
142144
)
143145
except IOError as e:

0 commit comments

Comments
 (0)