-
Notifications
You must be signed in to change notification settings - Fork 118
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
Should "west init" run "west clone"? #52
Comments
@carlescufi @nashif @ulfalizer @tejlmand any thoughts on the above? |
I don't think so. Let's keep them separate, as one might do a |
I'm not sure if I should raise this as a separate issue or not, but it sort of touches this issue: If you have auxiliary repositories in the manifest, they might be located somewhere that needs authentication. When fetching locally on a development machine, this is usually not an issue as you can store, cache or enter credentials for the various remotes. But for CI, this quickly becomes a problem. The CI nodes might not be trusted with all the credentials in the world, but could ask the central server for credentials on the fly, using the git tools that are built for the CI system. Normal calls to In addition, I'd be really happy if the |
This came up in zephyrproject-rtos#52. I'm not sure what the appropriate field widths are ({:n}). We could tweak it later if some fields turn out to be too short/long. Fixes: zephyrproject-rtos#37 Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
This came up in zephyrproject-rtos#52. I'm not sure what the appropriate field widths are ({:n}). We could tweak it later if some fields turn out to be too short/long. Fixes: zephyrproject-rtos#37 Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
Reopening with the new mental model. Should west init run west clone? (We moved away from west fetch because it created detached HEADS, which are gross). |
I think we should keep Reason: If users wants a one step approach, they can do: |
Alright, I'm going to close this again since we all seem to agree, or at least nobody disagrees out loud :) |
Right now, installing multi-repo Zephyr takes the following steps:
This issue tracks whether "west init" should run "west fetch" as well after cloning west and the manifest, to eliminate the last step before a complete installation is cloned.
I am ambivalent about this idea (generally speaking I don't like to add features to the bootstrapper) but thought it was worth recording the question (and its resolution along with rationale).
Reasons for:
Reasons against:
The text was updated successfully, but these errors were encountered: