Commit b1bc2b1
committed
project: stop defaulting
Stop defaulting `west init` to `west init -m
https://github.com/zephyrproject-rtos/zephyr/`. The argument must be
passed explicitly.
Thanks to argparse, a bare `west init` now errors like this:
```
usage:
west init [-m URL] [--mr REVISION] [--mf FILE] [-o=GIT_CLONE_OPTION] [directory]
west init -l [--mf FILE] directory
west init: error: one of the arguments -m/--manifest-url -l/--local is required
```
This is part of the wider effort to make west independent from Zephyr:
#246
This should also help nudge people towards creating their own manifests,
which will mitigate Zephyr's "tragedy of the commons" where many people
want their stuff to be present the default upstream manifest, while also
complaining that the default is way too big and slow (currently around
10 Gigabytes)
- zephyrproject-rtos/zephyr#91061
- zephyrproject-rtos/zephyr#108783 (comment)
Signed-off-by: Marc Herbert <Marc.Herbert@gmail.com>west init to upstream Zephyr1 parent 1e42087 commit b1bc2b1
3 files changed
Lines changed: 15 additions & 16 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
36 | 37 | | |
37 | 38 | | |
38 | 39 | | |
| |||
41 | 42 | | |
42 | 43 | | |
43 | 44 | | |
44 | | - | |
| 45 | + | |
45 | 46 | | |
46 | 47 | | |
47 | 48 | | |
48 | 49 | | |
49 | | - | |
| 50 | + | |
50 | 51 | | |
51 | 52 | | |
52 | 53 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
235 | 235 | | |
236 | 236 | | |
237 | 237 | | |
238 | | - | |
| 238 | + | |
239 | 239 | | |
240 | 240 | | |
241 | 241 | | |
| |||
244 | 244 | | |
245 | 245 | | |
246 | 246 | | |
247 | | - | |
| 247 | + | |
248 | 248 | | |
249 | | - | |
| 249 | + | |
250 | 250 | | |
251 | 251 | | |
252 | 252 | | |
| |||
280 | 280 | | |
281 | 281 | | |
282 | 282 | | |
| 283 | + | |
283 | 284 | | |
284 | | - | |
| 285 | + | |
285 | 286 | | |
286 | 287 | | |
287 | 288 | | |
| |||
306 | 307 | | |
307 | 308 | | |
308 | 309 | | |
309 | | - | |
| 310 | + | |
310 | 311 | | |
311 | 312 | | |
312 | 313 | | |
| |||
416 | 417 | | |
417 | 418 | | |
418 | 419 | | |
419 | | - | |
| 420 | + | |
420 | 421 | | |
421 | 422 | | |
422 | 423 | | |
| |||
2658 | 2659 | | |
2659 | 2660 | | |
2660 | 2661 | | |
2661 | | - | |
2662 | | - | |
2663 | | - | |
2664 | 2662 | | |
2665 | 2663 | | |
2666 | 2664 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1922 | 1922 | | |
1923 | 1923 | | |
1924 | 1924 | | |
1925 | | - | |
| 1925 | + | |
1926 | 1926 | | |
1927 | 1927 | | |
1928 | 1928 | | |
| |||
0 commit comments