Shallow fetch in workflows/autobuild.sh #170

Open
opened 2025-06-29 21:16:00 +08:00 by GamePlayer-8 · 0 comments
GamePlayer-8 commented 2025-06-29 21:16:00 +08:00 (Migrated from github.com)

Hello,

While building images the automated script is fetching whole repositories instead of shallow cloning them which utilizes more free space and makes building slower.

Would it be possible to add --depth 1 parameter to git clone <URL> and --recursive --depth 1 to git submodule update --init?

Hello, While building images the automated script is fetching whole repositories instead of shallow cloning them which utilizes more free space and makes building slower. Would it be possible to add `--depth 1` parameter to `git clone <URL>` and `--recursive --depth 1` to `git submodule update --init`?
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: dearsky/pico-fido#170