|
12 | 12 | except ImportError: |
13 | 13 | import urllib.request as urllib2 |
14 | 14 |
|
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. |
16 | 16 | MAINTAINERS = { |
17 | 17 | 'miri': '@oli-obk @RalfJung @eddyb', |
18 | 18 | 'clippy-driver': '@Manishearth @llogiq @mcarton @oli-obk @phansch', |
|
22 | 22 | 'nomicon': '@frewsxcv @Gankro', |
23 | 23 | 'reference': '@steveklabnik @Havvy @matthewjasper @alercah', |
24 | 24 | 'rust-by-example': '@steveklabnik @marioidival @projektir', |
| 25 | + 'embedded-book': ( |
| 26 | + '@adamgreig @andre-richter @jamesmunns @korken89 ' |
| 27 | + '@ryankurte @thejpster @therealprof' |
| 28 | + ), |
25 | 29 | } |
26 | 30 |
|
27 | 31 | REPOS = { |
|
33 | 37 | 'nomicon': 'https://github.com/rust-lang-nursery/nomicon', |
34 | 38 | 'reference': 'https://github.com/rust-lang-nursery/reference', |
35 | 39 | 'rust-by-example': 'https://github.com/rust-lang/rust-by-example', |
| 40 | + 'embedded-book': 'https://github.com/rust-embedded/book', |
36 | 41 | } |
37 | 42 |
|
38 | 43 |
|
@@ -70,7 +75,7 @@ def issue( |
70 | 75 |
|
71 | 76 | cc @{}, the PR reviewer, and @rust-lang/compiler -- nominating for prioritization. |
72 | 77 |
|
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), |
74 | 79 | 'title': '`{}` no longer builds after {}'.format(tool, relevant_pr_number), |
75 | 80 | 'assignees': assignees, |
76 | 81 | 'labels': ['T-compiler', 'I-nominated'], |
@@ -137,7 +142,7 @@ def update_latest( |
137 | 142 | if build_failed: |
138 | 143 | try: |
139 | 144 | issue( |
140 | | - tool, MAINTAINERS.get(tool), |
| 145 | + tool, MAINTAINERS.get(tool, ''), |
141 | 146 | relevant_pr_number, relevant_pr_user, pr_reviewer, |
142 | 147 | ) |
143 | 148 | except IOError as e: |
|
0 commit comments