pojntfx / hydrapp

Build fast apps that run everywhere with Go and a browser engine of your choice.
Apache License 2.0
62 stars 0 forks source link

git clone is enormous #3

Closed gedw99 closed 7 months ago

gedw99 commented 11 months ago

don't know if your aware but a git clone takes ages.

I guess because binaries are in the repo...

Update: Seems that its probably from the past git repo history, since main has no big files.

gedw99 commented 11 months ago

this worked

git clone --filter=blob:none --no-checkout https://github.com/pojntfx/hydrapp -b $(REPO_VERSION)

cd hydrapp && git checkout $(REPO_VERSION)
pojntfx commented 6 months ago

Sorry for not responding to this, I was busy working on dependencies of this project (panrpc etc.) before I could come back to this. It's fixed now - this massive clone size was due to the gh-pages branch, I've switched to a deploy action which fixes it in https://github.com/pojntfx/hydrapp/commit/0c76563b81191fd465a10f6ae3686e5727663d05 :)

See:

$ time git clone https://github.com/pojntfx/hydrapp.git
Cloning into 'hydrapp'...
remote: Enumerating objects: 5052, done.
remote: Counting objects: 100% (423/423), done.
remote: Compressing objects: 100% (142/142), done.
remote: Total 5052 (delta 260), reused 421 (delta 258), pack-reused 4629
Receiving objects: 100% (5052/5052), 11.64 MiB | 10.00 MiB/s, done.
Resolving deltas: 100% (3189/3189), done.
real    0m 1.87s
user    0m 0.31s
sys 0m 0.14s
gedw99 commented 6 months ago

Nice 👍