Due to the slowness and instability of my internet connection, I can't clone large repositories over HTTPS as the stream keeps closing after a few minutes. I have had no problems with SSH, is there any way I can get west update to clone zephyr using SSH instead of HTTPS? If not, can I manually do whatever west update is doing, but use the SSH git URLs? I tried just cloning zephyr with the v3.2.0+zmk-fixes tag but running west update again after that deleted the folder and tried to clone again. I also tried changing the upstream url in the zephyr folder, but that didn't change anything either.
#Use SSH to clone zephyr with west update
1 messages · Page 1 of 1 (latest)
Hi, have you tried replacing https:// URIs in app/west.yml's remotes?
As an example, instead of
remotes:
- name: zmkfirmware
url-base: https://github.com/zmkfirmware
...
projects:
- name: zephyr
remote: zmkfirmware
revision: v3.2.0+zmk-fixes
...
try
remotes:
- name: zmkfirmware
url-base: [email protected]:zmkfirmware
...
projects:
- name: zephyr
remote: zmkfirmware
revision: v3.2.0+zmk-fixes
repo-path: zephyr.git
...
While I can't find this explicitly documented, there are scattered references to it being supported. e.g. https://github.com/zephyrproject-rtos/west/issues/565
I haven't, I'll give that a try. Thanks