project: stop defaulting west init to upstream Zephyr#954
Draft
marc-hb wants to merge 1 commit into
Draft
Conversation
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: zephyrproject-rtos#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>
Collaborator
Author
|
Kept as draft because it git-conflicts with #953 which should go first. But the discussion can start. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #954 +/- ##
==========================================
+ Coverage 86.29% 86.35% +0.05%
==========================================
Files 11 11
Lines 3481 3481
==========================================
+ Hits 3004 3006 +2
+ Misses 477 475 -2
|
This was referenced Jun 8, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Stop defaulting
west inittowest init -m https://github.com/zephyrproject-rtos/zephyr/. The argument must be passed explicitly.Thanks to argparse, a bare
west initnow errors like this: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)