espressif / idf-installer

ESP IDF Windows Installer
https://dl.espressif.com/dl/esp-idf/
101 stars 21 forks source link

ZIP releases of ESP-IDF should be shallow #119

Open georgik opened 2 years ago

georgik commented 2 years ago

ZIP releases of ESP-IDF is not shallow, which adds several hundred megabytes to download and storage space.

Update build of ZIP so, that it corresponds to Offline installers.

Update steps: https://docs.espressif.com/projects/esp-idf/en/latest/esp32/versions.html#updating-esp-idf

igrr commented 2 years ago

For future reference, the line which is responsible for cloning the repository during zip file creation is here: https://github.com/espressif/github-actions/blob/a9f8c9761ada5717ff05e2ebd3791b0328c9d21d/release_zips/release_zips.py#L39

georgik commented 1 year ago

Update: use --single-branch --shallow-submodules instead of --depth 1 to keep git describe working.