|
19 | 19 |
|
20 | 20 | ## How to list commits that landed in each nightly
|
21 | 21 |
|
22 |
| -Note that the list of nightly builds is cached in tools/runs.json, so if it exists, you will need to delete it to fetch an updated list. |
| 22 | +**Note that the list of nightly builds is cached in tools/runs.json, so if it exists, you will need to delete it to fetch an updated list.** |
23 | 23 |
|
24 | 24 | Make sure your Servo checkout is on the main branch, and that the branch is up to date. Then run the script below, passing it the path to your checkout:
|
25 | 25 |
|
26 | 26 | ```sh
|
27 |
| -$ rm tools/runs.json # Optional: clear CI history cache |
| 27 | +$ rm tools/runs.json # Optional: clear cached list of nightly builds |
28 | 28 | $ tools/list-commits-by-nightly.sh /path/to/servo
|
29 | 29 | ```
|
30 | 30 |
|
@@ -352,15 +352,13 @@ And generally we want to exclude...
|
352 | 352 |
|
353 | 353 | The suggested workflow for efficiently triaging commits is as follows:
|
354 | 354 |
|
355 |
| -- [Fetch pull request details](#how-to-list-this-years-pull-request-contributors) for the last two months, as follows: |
| 355 | +**Note that the list of nightly builds is cached in tools/runs.json, so if it exists, you will need to delete it to fetch an updated list.** |
356 | 356 |
|
357 |
| -``` |
358 |
| -$ tools/list-pull-requests.sh servo/servo 2025-01 2025-02 > tools/pulls-2025-01-2025-02.json |
359 |
| -``` |
360 |
| - |
361 |
| -- [List commits that landed in each nightly](#how-to-list-commits-that-landed-in-each-nightly) last month, as follows: |
| 357 | +- [Fetch pull request details](#how-to-list-this-years-pull-request-contributors) for the **last two months** (`2025-01 2025-02`), then [list commits that landed each nightly](#how-to-list-commits-that-landed-in-each-nightly) for **last month** (`/^>>> 2025-02-/,/^>>> 2025-03-/!d`): |
362 | 358 |
|
363 | 359 | ```
|
| 360 | +$ rm tools/runs.json # Optional: clear cached list of nightly builds |
| 361 | +$ tools/list-pull-requests.sh servo/servo 2025-01 2025-02 > tools/pulls-2025-01-2025-02.json |
364 | 362 | $ tools/list-commits-by-nightly.sh ~/code/servo tools/pulls-2025-01-2025-02.json 2>&1 | tee /dev/stderr | sed '/^>>> 2025-02-/,/^>>> 2025-03-/!d' > commits.txt
|
365 | 363 | ```
|
366 | 364 |
|
|
0 commit comments