-
Notifications
You must be signed in to change notification settings - Fork 123
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
Best known "de-initialization" method should be at least documented #593
Comments
I don't know how "compelling" it is but the use case in sof#6005 above is: switching from I can imagine switching from/to some "downstream" manifests is more or less the same requirement. Anecdotal (e.g.: discord) evidence shows people currently achieve west "de-initialization" by simply deleting their |
So is this a case where you're switching back and forth? Or permanently switching one time? Switching back and forth is already supported. You reconfigure https://docs.zephyrproject.org/latest/develop/west/config.html#west-config-cmd which, while technically true, is definitely not in a place where anyone looking for the answer to this question would look for it, so we can move that somewhere else if it's helpful. Permanently switching one time would require deleting all of the repositories in the workspace, though, so that's a bit of an |
In our case it was just once but I can imagine users wanting go switch back and forth - for instance between upstream and downstream?
I think some better visibility would not hurt. A pointer to this
Funny enough the last search does find the "Configuration" page but the extract is not relevant and misleading.
I don't understand why you're making a difference between "back and forth" and "once". I believe the important difference is between "manifest switch" versus "de-initialization" (where the latter can provide an indirect solution for the former). I also don't understand why de-initialization seems to require deleting all git repos. This is something we certainly did not want to ask our users to do and everything went fine. So you're saying west does not automatically pick up git clones already there, automagically adding the missing |
No, I'm saying I don't know anything about the sof manifest, and there are edge cases. E.g. if foo/bar/ is a git repository in zephyr/west.yml and sof defines foo/bar/baz as a project, west will happily stick baz inside of bar without removing bar (if you switch from zephyr/west.yml to sof/west.yml). |
I'll add this to the v0.14 docs pr I'm working on, thanks. |
@marc-hb I'm going to close this one since west will tell the user how to do this when circumstances require: Line 192 in ed01ab5
I figured that would be better than documentation, since people are more likely to read error messages than docs. Please reopen if I didn't get your meaning. |
Originally posted by @mbolivar-nordic in thesofproject/sof#6005 (comment)
The text was updated successfully, but these errors were encountered: