RIPE-NCC / ripe-atlas-probe-doc

19 stars 22 forks source link

git clone of submodule fails #41

Closed nomadeon closed 3 months ago

nomadeon commented 3 months ago

On Debian, the following fails: git clone --recursive https://github.com/RIPE-NCC/ripe-atlas-software-probe.git

With error: fatal: remote error: upload-pack: not our ref d72872cc6bb9ed5da47dcf1dc726fd8a36c6058f fatal: Fetched in submodule path 'probe-busybox', but it did not contain d72872cc6bb9ed5da47dcf1dc726fd8a36c6058f. Direct fetching of that commit failed.

Have tried the following alternatives that result in the same error Alt 1: git clone https://github.com/RIPE-NCC/ripe-atlas-software-probe.git # not recursive cd ripe-atlas-software-probe git submodule update --init --recursive Alt 2: git submodule init git submodule update --no-fetch

The AI overlords inform me this error could indicate:

  1. The submodule repository might have been force-pushed, and the commit no longer exists.
  2. The submodule might be pointing to a commit that hasn't been pushed to the remote repository.
nomadeon commented 3 months ago

Just realized I made this issue in the doc repository rather than the source repo where it belongs. I'll recreate it there.