zephyrproject-rtos / west

West, Zephyr's meta-tool
https://docs.zephyrproject.org/latest/guides/west/index.html
Apache License 2.0
215 stars 117 forks source link

fatal: fetch-pack: invalid index-pack output #709

Closed kenkit closed 2 months ago

kenkit commented 2 months ago

image

kenkit commented 2 months ago

I've tried changing git configs even switching networks. But that is the error I get, is there a way to manually clone the repo.

marc-hb commented 2 months ago

When happens when you use git directly? Try:

git clone https://github.com/zephyrproject-rtos/zephyr

PS: avoid screenshots when possible, use copy/paste instead: https://docs.zephyrproject.org/latest/develop/getting_started/index.html#use-copy-paste

kenkit commented 2 months ago

I managed to get it to work, turns out it was a network issue. But it would be good to be able to do it manually

kenkit commented 2 months ago

Or you can make it possible to only clone upto x depth so as to avoid this issue

marc-hb commented 2 months ago

I have no idea what the issue was.

kenkit commented 1 month ago

I guess being able to use repo not initialized by west as I seemed to be having an issue cloning.

marc-hb commented 1 month ago

west is "only" a git user just like you and me. Anything west does with git, you can do it without west too. Even after west has (successfully!) used git, you can still use most git commands in repos cloned by west, west is not exclusive/"jealous".

But if you have issues cloning then it's not going to work for you and it's not going to work for west either, there's no difference and no magic there. Git must work, period.

How much time did you spend looking at https://docs.zephyrproject.org/latest/develop/west/index.html so far?