#Use SSH to clone zephyr with west update

1 messages · Page 1 of 1 (latest)

spiral fiber
#

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.

finite atlas
#

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
...
spiral fiber
#

I haven't, I'll give that a try. Thanks