Commit 6b10da3
authored
[CLI] Migrate bootstrap (#5059)
### Changes
This PR adds the new `casp bootstrap` command to the `casp` CLI. Which
acts as a convenient wrapper for the root `butler.py bootstrap` script.
### How it works:
- `casp bootstrap` Install all required dependencies from Clusterfuzz
### Changes in butler
Regarding the refactor/improvement in `butler.py`, here are some
screenshots comparing running `python butler.py bootstrap` in this
branch and master. They show that the behavior is the same.
<img width="1350" height="295" alt="image"
src="https://github.com/user-attachments/assets/f608d300-5e05-48c9-9092-01687dfb76fa"
/>
<img width="1349" height="295" alt="image"
src="https://github.com/user-attachments/assets/8e2b55cb-66a5-41ac-b043-05034a17d163"
/>
<img width="1349" height="295" alt="image"
src="https://github.com/user-attachments/assets/16dcecab-57fd-481c-b6ed-a893bb576b50"
/>
<img width="1349" height="295" alt="image"
src="https://github.com/user-attachments/assets/8d22a4ec-e23d-4b38-bfaa-be48e5c995db"
/>
### Demo prints
Here are some screenshots of `casp bootstrap` in action:
<img width="1349" height="295" alt="image"
src="https://github.com/user-attachments/assets/95516c06-28bb-4765-9689-49e856e5ce10"
/>
<img width="1350" height="295" alt="image"
src="https://github.com/user-attachments/assets/7bf8e128-4582-4c5d-be48-a72bdda68210"
/>1 parent 70e387b commit 6b10da3
File tree
3 files changed
+105
-10
lines changed- cli/casp/src/casp
- commands
- tests/commands
3 files changed
+105
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
98 | 98 | | |
99 | 99 | | |
100 | 100 | | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
101 | 109 | | |
102 | 110 | | |
103 | 111 | | |
| |||
317 | 325 | | |
318 | 326 | | |
319 | 327 | | |
320 | | - | |
321 | | - | |
322 | | - | |
323 | | - | |
324 | | - | |
325 | 328 | | |
326 | 329 | | |
327 | 330 | | |
| |||
454 | 457 | | |
455 | 458 | | |
456 | 459 | | |
| 460 | + | |
457 | 461 | | |
458 | 462 | | |
459 | 463 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
15 | 15 | | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
16 | 20 | | |
17 | 21 | | |
18 | 22 | | |
19 | 23 | | |
20 | 24 | | |
21 | 25 | | |
22 | 26 | | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
0 commit comments