Closed georgik closed 2 years ago
The problem is caused by submodules where a directory exists in one tag, but does not exist in the other.
Following command fails in completely offline environment git submodule update --init --recursive
.
Example of the result in the online environment.
From https://github.com/espressif/esp-nimble
* branch 57d751b93a5532e650ec3787d376876ab0ce367e -> FETCH_HEAD
So the only option for a complete offline environment is to have ESP-IDF branch pre-checkouted and archived for specific version.
Creating single branch installer is about 900 MB per each.
Multiple branch Offline installer is not feasible:
Decision to change the way how Offline Installer operates:
The change does not affect Online Installer which serves as multi-branch installer.
Solved by Single Branch Offline installers: https://github.com/espressif/idf-installer#single-esp-idf-branch-offline-installer
The Offline installer 2.12 fails to deploy ESP-IDF 4.2.2. Command:
The failure occurs during checkout of submodules when github.com is not reachable: