Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Size of the repo is enormous #129

Open
Cally99 opened this issue Jun 25, 2023 · 3 comments
Open

Size of the repo is enormous #129

Cally99 opened this issue Jun 25, 2023 · 3 comments

Comments

@Cally99
Copy link

Cally99 commented Jun 25, 2023

I just did git clone

https://github.com/strapi/foodadvisor

Why is it 500+ mb size?

@dpflug
Copy link

dpflug commented Jul 13, 2023

I didn't investigate fully, but a shallow clone helped.

@RamyAlshurafa
Copy link

even the shallow clone doesn't work

git clone --depth 1  https://github.com/strapi/foodadvisor.git

Cloning into 'foodadvisor'...
remote: Enumerating objects: 291, done.
remote: Counting objects: 100% (291/291), done.
remote: Compressing objects: 100% (195/195), done.
error: 6598 bytes of body are still expected| 75.00 KiB/s  
fetch-pack: unexpected disconnect while reading sideband packet
fatal: early EOF
fatal: fetch-pack: invalid index-pack output

@EdwardBlair
Copy link

EdwardBlair commented Jan 8, 2024

I would imagine api/data.zip is the culprit, it is around 50MB.

Any time this has been modified the old version remains in the git history - it is about 50MB in size. I did some sleuthing and it has been included/modified 36 times ~1GB. Which possibly compresses down to 500MB if a lot of the data is the same?

Need a git expert to chime in on this, would need to prune them from the git history and force push perhaps?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants