-
Notifications
You must be signed in to change notification settings - Fork 126
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
projects root should be configurable #237
Comments
Something like: in
|
Here's how it looked last time I used west:
So I guess the request is about moving the entire "Projects" is a confusing name not just because it's generally vague but more specifically because it's not clear whether the multiple "projects" refer to: 1. multiple git repos in the same manifest; versus: 2. multiple manifests and west tops for unrelated products/projects. The documentation - ping @dbkinder - mixes up both 1. and 2. in the same section: https://docs.zephyrproject.org/latest/tools/west/repo-tool.html
yet the west top is called "west top" is nowhere near that confusing but maybe there's an even better name. |
This is our fault, not David's. I've been trying to make time to write proper west documentation for a while and finally got to it: zephyrproject-rtos/zephyr#14983
We (the west developers) have been using the term "west installation" for short and "west installation root directory" if you're not into the whole brevity thing. In my opinion, the term "west installation" hasn't been very clearly documented, so I am not surprised there's confusion. I've tried to fix that in the above PR; feedback welcome. So I would say actually that this is not about moving However, it might make sense to add a configuration option that lets you configure where to clone projects inside of the installation, rather than just assuming the installation root directory. So, making up names here, if you did @galak is that what you are asking for? |
Yes, I assume it can either be a relative or absolute path. So I can also do:
|
It's not really in line with the repo-style model, but we can try to support absolute paths as well. I wouldn't be shocked if there are weird edge cases, though 😄 |
I'm even more confused. The first sentence at the top refers to the "root of (all) projects", now this seems to be referring to only one of them. |
@marc-hb it would refer to all projects that are not the manifest project. So I believe what @galak wants it to have:
|
If you relax the constraint that modules can't be higher than .west/, then you might as well go all the way and also relax the constraint that modules should be next to each other. The complexity increase feels similar and the vast number of additional west bugs should be in the same order of magnitude. |
I don't think this issue should be implemented. This is not how west is designed. |
Right now the assumption is that the root of projects is relative to the .west dir. There should be a config option one can set in .west/ that overrides the default behavior of where the projects root is assumed to be.
The text was updated successfully, but these errors were encountered: