Mirroring esp_idf repository failure

JasP_whp
Posts: 1
Joined: Thu Feb 18, 2021 2:56 pm

Mirroring esp_idf repository failure

Postby JasP_whp » Thu Feb 18, 2021 3:52 pm

I'm trying to create a mirror repository of esp-idf (https://github.com/espressif/esp-idf) using

Code: Select all

git clone --mirror https://github.com/espressif/esp-idf.git

Cloning into bare repository 'esp-idf.git'...
remote: Enumerating objects: 237951, done.
remote: Total 237951 (delta 0), reused 0 (delta 0), pack-reused 237951
Receiving objects: 100% (237951/237951), 149.38 MiB | 158.00 KiB/s, done.
Resolving deltas: 100% (171610/171610), done.
That works fine, but afterward, there's a bad submodule URL in the history somewhere that prevents most further actions. You can see the issue with

Code: Select all

cd esp-idf.git
git fsck

Checking object directories: 100% (256/256), done.
Checking objects: 100% (237951/237951), done.
error in blob 366bd25d0f8e3f58d2f758056508546fe9d909c4: gitmodulesUrl: disallowed submodule url: ../..//jedisct1/libsodium.git
Is this "disallowed submodule url" something you can fix in the repository, or should I find a different solution for what I'm trying to do?

sioiot
Posts: 8
Joined: Wed Nov 14, 2018 11:17 am

Re: Mirroring esp_idf repository failure

Postby sioiot » Tue Mar 02, 2021 8:29 am

Hello, we found that your problem only reproduces on some git versions. You can switch git to 2.20.0, and we tested it normally on this version.

Who is online

Users browsing this forum: No registered users and 191 guests