-
Notifications
You must be signed in to change notification settings - Fork 124
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Provide option for west init
or west update
to fetch all submanifests
#644
Comments
CC @stephanosio |
or
west update` to fetch all submanifestswest init
or west update
to fetch all submanifests
This issue seems somewhat related to a problem I faced (and is one of the issues I stumbled upon in my search for solution), so commenting here. Basically my problem was that I needed the I eventually found the command that does the job I needed: |
|
With
With
|
It would be nice having an option/command line switch in
west init
that would make it fetch all repos which have sub-manifests (projects with import) at init time.Alternatively it could be a new command line switch to
west update
which instructs it to fetch those same repos (and nothing else).Either of these would not (need to) find projects with sub-manifests that are affected by group filters or allow-lists (filtered out).
The aim would be to be able to have a workspace in which west can already work without erroring out, but without the need to pull all repositories content.
An example use-case is the solution to the problem described here:
zephyrproject-rtos/zephyr#55696 (comment)
in which after
west init
, as the main manifest has a project with a sub-manifest/import, west errors out if one tries to use quite a bit of its functionality (for ex. anything related to manifest, list or status).A solution to this particular problem, is to either do a full
west update
pulling all projects (which may be a quite a bit of unnecessary overhead), OR, to do awest update <missing_repos_with_imports>
which requires knowledge of which repos are the ones with sub-manifests.The text was updated successfully, but these errors were encountered: