Skip to content

Commit 6b74ee1

Browse files
authored
Rollup merge of rust-lang#59038 - kennytm:track-embedded-book, r=oli-obk
Track embedded-book in the toolstate The embedded book was tested in the tools job but the test result was never published. This PR adds maintainer information of embedded-book. This PR also requires the next update to embedded-book to pass the all tests, currently its state is test-fail. rust-lang-nursery/rust-toolstate#10 should be merged before this PR.
2 parents 0614b1c + d6f5100 commit 6b74ee1

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-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

+8-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,10 @@
2222
'nomicon': '@frewsxcv @Gankro',
2323
'reference': '@steveklabnik @Havvy @matthewjasper @alercah',
2424
'rust-by-example': '@steveklabnik @marioidival @projektir',
25+
'embedded-book': (
26+
'@adamgreig @andre-richter @jamesmunns @korken89 '
27+
'@ryankurte @thejpster @therealprof'
28+
),
2529
}
2630

2731
REPOS = {
@@ -33,6 +37,7 @@
3337
'nomicon': 'https://github.com/rust-lang-nursery/nomicon',
3438
'reference': 'https://github.com/rust-lang-nursery/reference',
3539
'rust-by-example': 'https://github.com/rust-lang/rust-by-example',
40+
'embedded-book': 'https://github.com/rust-embedded/book',
3641
}
3742

3843

@@ -70,7 +75,7 @@ def issue(
7075
7176
cc @{}, the PR reviewer, and @rust-lang/compiler -- nominating for prioritization.
7277
73-
''').format(relevant_pr_number, tool, REPOS[tool], relevant_pr_user, pr_reviewer),
78+
''').format(relevant_pr_number, tool, REPOS.get(tool), relevant_pr_user, pr_reviewer),
7479
'title': '`{}` no longer builds after {}'.format(tool, relevant_pr_number),
7580
'assignees': assignees,
7681
'labels': ['T-compiler', 'I-nominated'],
@@ -137,7 +142,7 @@ def update_latest(
137142
if build_failed:
138143
try:
139144
issue(
140-
tool, MAINTAINERS.get(tool),
145+
tool, MAINTAINERS.get(tool, ''),
141146
relevant_pr_number, relevant_pr_user, pr_reviewer,
142147
)
143148
except IOError as e:

0 commit comments

Comments
 (0)