|
17 | 17 | overflow-x: auto; |
18 | 18 | } |
19 | 19 |
|
20 | | - tbody tr:last-child td { |
21 | | - border-bottom: none; |
22 | | - } |
| 20 | + tbody tr:last-child td { |
| 21 | + border-bottom: none; |
| 22 | + } |
23 | 23 |
|
24 | 24 | th, |
25 | 25 | td { |
|
45 | 45 |
|
46 | 46 | {% block body %} |
47 | 47 | <main> |
48 | | - <h1>Bors</h1> |
49 | | - |
50 | | - <h2>Repositories</h2> |
51 | | - <ul class="repos"> |
52 | | - {% for repo in repos %} |
53 | | - <li> |
54 | | - <a href="queue/{{ repo.name }}">{{ repo.name }}</a> |
55 | | - {% if repo.treeclosed %} [TREECLOSED] {% endif %} |
56 | | - </li> |
57 | | - {% endfor %} |
58 | | - </ul> |
| 48 | + <h1>Bors</h1> |
59 | 49 |
|
60 | | - <h2>Commands</h2> |
61 | | - <p>Commands must be posted as comments on the PR and mention the bot account (<code>{{ cmd_prefix }}</code>).</p> |
| 50 | + <h2>Repositories</h2> |
| 51 | + <ul class="repos"> |
| 52 | + {% for repo in repos %} |
| 53 | + <li> |
| 54 | + <a href="queue/{{ repo.name }}">{{ repo.name }}</a> |
| 55 | + {% if repo.treeclosed %} [TREECLOSED] {% endif %} |
| 56 | + </li> |
| 57 | + {% endfor %} |
| 58 | + </ul> |
62 | 59 |
|
63 | | - <div class="table-wrapper"> |
64 | | - <table> |
65 | | - <thead> |
66 | | - <tr> |
67 | | - <th>Command</th> |
68 | | - <th>Permissions</th> |
69 | | - <th>Description</th> |
70 | | - </tr> |
71 | | - </thead> |
72 | | - <tbody> |
73 | | - <tr> |
74 | | - <td><code>info</code></td> |
75 | | - <td class="empty"></td> |
76 | | - <td>Get information about the current PR</td> |
77 | | - </tr> |
78 | | - <tr> |
79 | | - <td><code>ping</code></td> |
80 | | - <td class="empty"></td> |
81 | | - <td>Check if the bot is alive</td> |
82 | | - </tr> |
83 | | - <tr> |
84 | | - <td><code>help</code></td> |
85 | | - <td class="empty"></td> |
86 | | - <td>Print help message</td> |
87 | | - </tr> |
88 | | - <tr> |
89 | | - <td><code>r+</code></td> |
90 | | - <td>review</td> |
91 | | - <td>Approve this PR on your behalf</td> |
92 | | - </tr> |
93 | | - <tr> |
94 | | - <td><code>r=<user></code></td> |
95 | | - <td>review</td> |
96 | | - <td>Approve the PR on behalf of the specified user(s)</td> |
97 | | - </tr> |
98 | | - <tr> |
99 | | - <td><code>r-</code></td> |
100 | | - <td>review</td> |
101 | | - <td>Unapprove the PR</td> |
102 | | - </tr> |
103 | | - <tr> |
104 | | - <td><code>p=<priority></code> or <code>priority=<priority></code></td> |
105 | | - <td>review</td> |
106 | | - <td>Set the priority of the PR</td> |
107 | | - </tr> |
108 | | - <tr> |
109 | | - <td><code>rollup</code></td> |
110 | | - <td>review</td> |
111 | | - <td>Short for <code>rollup=always</code></td> |
112 | | - </tr> |
113 | | - <tr> |
114 | | - <td><code>rollup-</code></td> |
115 | | - <td>review</td> |
116 | | - <td>Short for <code>rollup=maybe</code></td> |
117 | | - </tr> |
118 | | - <tr> |
119 | | - <td><code>rollup=<never|iffy|maybe|always></code></td> |
120 | | - <td>review</td> |
121 | | - <td>Set the rollup status of the PR</td> |
122 | | - </tr> |
123 | | - <tr> |
124 | | - <td><code>r+ [p=<priority>] [rollup=<mode>]</code></td> |
125 | | - <td>review</td> |
126 | | - <td>Approve this PR on your behalf with options</td> |
127 | | - </tr> |
128 | | - <tr> |
129 | | - <td><code>r=<user> [p=<priority>] [rollup=<mode>]</code></td> |
130 | | - <td>review</td> |
131 | | - <td>Approve the PR on behalf of the specified user(s) with options</td> |
132 | | - </tr> |
133 | | - <tr> |
134 | | - <td><code>try [parent=<sha>] [jobs=<job1,job2,...>]</code></td> |
135 | | - <td>try</td> |
136 | | - <td>Run a try build (max 10 jobs)</td> |
137 | | - </tr> |
138 | | - <tr> |
139 | | - <td><code>try cancel</code></td> |
140 | | - <td>try</td> |
141 | | - <td>Cancel a running try build</td> |
142 | | - </tr> |
143 | | - <tr> |
144 | | - <td><code>delegate+</code></td> |
145 | | - <td>review</td> |
146 | | - <td>Short for <code>delegate=review</code></td> |
147 | | - </tr> |
148 | | - <tr> |
149 | | - <td><code>delegate-</code></td> |
150 | | - <td>review</td> |
151 | | - <td>Remove any previously granted delegated permissions</td> |
152 | | - </tr> |
153 | | - <tr> |
154 | | - <td><code>delegate=<try|review></code></td> |
155 | | - <td>review</td> |
156 | | - <td>Delegate permissions to the PR author (try or review)</td> |
157 | | - </tr> |
158 | | - <tr> |
159 | | - <td><code>treeclosed-</code> or <code>treeopen</code></td> |
160 | | - <td>review</td> |
161 | | - <td>Open the repository tree for merging</td> |
162 | | - </tr> |
163 | | - <tr> |
164 | | - <td><code>treeclosed=<priority></code></td> |
165 | | - <td>review</td> |
166 | | - <td>Close the tree for PRs with priority less than <code><priority></code></td> |
167 | | - </tr> |
168 | | - <tr> |
169 | | - <td><code>retry</code></td> |
170 | | - <td>review</td> |
171 | | - <td>Clear a failed auto build status from an approved PR. This will cause the merge queue to attempt to start a new auto build and retry merging the PR again.</td> |
172 | | - </tr> |
173 | | - </tbody> |
174 | | - </table> |
175 | | - </div> |
| 60 | + <h2>Commands</h2> |
| 61 | + <p>Commands must be posted as comments on the PR and mention the bot account (<code>{{ cmd_prefix |
| 62 | + }}</code>).</p> |
176 | 63 |
|
177 | | - <h2>Examples</h2> |
178 | | - <ul> |
179 | | - <li><code>{{ cmd_prefix }} r=user1,user2 p=5</code>: Approve on behalf of <code>user1</code> and <code>user2</code> with priority 5</li> |
180 | | - <li><code>{{ cmd_prefix }} r+ rollup p=1</code>: Approve with priority 1 and always rollup</li> |
181 | | - <li><code>{{ cmd_prefix }} try parent=last</code>: Start a try build using the same parent as the last try</li> |
182 | | - <li><code>{{ cmd_prefix }} try @rust-timer queue</code>: Short-hand for compile-perf benchmarking of PRs</li> |
183 | | - </ul> |
| 64 | + {{ help | safe }} |
184 | 65 |
|
185 | | - <div style="text-align: center; margin-top: 1em;"> |
186 | | - <a href="https://github.com/rust-lang/bors">Contribute on GitHub</a> |
187 | | - </div> |
| 66 | + <div style="text-align: center; margin-top: 1em;"> |
| 67 | + <a href="https://github.com/rust-lang/bors">Contribute on GitHub</a> |
| 68 | + </div> |
188 | 69 | </main> |
189 | 70 | {% endblock %} |
0 commit comments