It's a design decision that the west workspace "topdir" (that is, the top level directory containing the .west directory), is not itself a git repository. This exists to give us some breathing room to make changes to the workspace which would otherwise potentially cause breakage if the entire workspace is in .git. While this has always been the case, I'm documenting this now because I reviewed a PR today that flipped my bit from "this is a question to answer on a case by case basis" to "this is a frequently enough asked question that I want to be able to link people to the answer": https://github.com/zephyrproject-rtos/zephyr/pull/84305 We can debate the wisdom of this design decision (and, informally, I've always tried to avoid breaking these setups), but IMO it's too late to try to change this in west. Make it explicit in the docs that you're on your own if you try this. Signed-off-by: Martí Bolívar <marti.bolivar@oss.qualcomm.com> |
||
|---|---|---|
| .. | ||
| alias.rst | ||
| basics.rst | ||
| build-flash-debug.rst | ||
| built-in.rst | ||
| config.rst | ||
| extensions.rst | ||
| index.rst | ||
| install.rst | ||
| manifest.rst | ||
| moving-to-west.rst | ||
| release-notes.rst | ||
| sign.rst | ||
| troubleshooting.rst | ||
| west-apis.rst | ||
| west-mr-model.png | ||
| west-not-found.rst | ||
| why.rst | ||
| without-west.rst | ||
| workspaces.rst | ||
| zephyr-cmds.rst | ||