-
Notifications
You must be signed in to change notification settings - Fork 125
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 a command line option for skipping unwanted portions of manifest #608
Comments
Short story, I thought about it and it's likely to be nontrivial. If I'm going to do this, it would need to be prioritized against other ongoing work. If someone else is going to do this, they will need to become very familiar with the internal APIs related to manifest imports and the way west starts up to be successful. A quick sketch of the scope of changes from a short think over it are (note this is not a guarantee of scope of work, it's just an initial sketch):
TL;DR the whole thing would need to be thought over very carefully and a lot of tests would need to be written to validate the design |
... or we would need to limit the scope of the feature, e.g. "you can't skip a project update if the project has imports", something like that. Even then I'm not totally sure it's trivial. |
Doing a west update can consume a significant amount of time if there are many dependencies specified in the west.yml file. It will be really great to have a command line option to skip updates of certain repositories.
For example:
west update --skip "matter,homekit,liblc3codec,hal_st,other-unwanted-stuff"
Such an option should apply the filter to all nested manifest files (if any) and not just the top-level west.yml file.
Such commands can then be converted to shorthand aliases to quickly swap your checked-out repos depending on the projects being worked on. This can also help save some amount of disk space.
The text was updated successfully, but these errors were encountered: