dw-0 / kiauh

Klipper Installation And Update Helper
GNU General Public License v3.0
3.3k stars 474 forks source link

feat: only git clone --depth 1 #473

Open philippejadin opened 4 months ago

philippejadin commented 4 months ago

Is your feature request related to a problem? Please describe

Not really a problem, but I tried to install klipper on a bad wifi connexion, and the repository is so big that the remote connexion was closed (I guess by github) because it took too long.

Describe the solution you'd like

git clone --depth 1 might do the trick ?

Describe alternatives you've considered

In my case, I just connected the pi to a better network, but there is still a lot of wasted bandwidth

Additional information

As always, thank you for the great tool, and sorry if the proposal is silly.

dw-0 commented 4 months ago

Hi, thanks for the request. It's not silly. It's actually already tracked by this PR: https://github.com/dw-0/kiauh/pull/418 Though, it likely won't get merged soon into the current state of KIAUH. It'll rather be a feature i will build into v6 of KIAUH i am currently working on.