-
Notifications
You must be signed in to change notification settings - Fork 6
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
Large Git repository size #105
Comments
Thanks @jamesmbaazam! I'll try to have a look now to see which are the large objects in the package. Let me know if you already know this. |
This thread may be useful epiforecasts/EpiNow2#538 |
Right yes, I was getting confused because I was just looking for large files and wasn't sure what it would be (most of the largest ones below in my local version aren't commited):
So the point is that the Git version contains all the histories too, which is ending up being large. Thanks for link @sbfnk, will read and try to implement. Edit: after a skim it seems like doing this is relatively intricate. As there are not many people using the package currently, I wonder if doing this could be best timed to coincide with a |
Thanks, Seb. I was coming here to post this. |
It shouldn't add large files. We do want to close out hanging PRs before we do this (and in general). Thanks for the input all. This is a legacy of pulling the package out of the analysis repo I think |
Requires no PRs. |
Work on this has started with main sorted out but I still see a large repo size on a fresh clone. Need to do another check on branches and in particular gh-pages which may not have been properly configured |
More discussion of this here specifically: epiforecasts/EpiNow2#538 (comment) |
Revisiting this and catching the tags etc I have this at 186.02 MiB now which is much smaller but still bigger than it really should be. I've hit most of the obvious things (large files and file types that are known bad) so will start going through the histories quickly to spot other issues. I think the target should probably be <20 but if the current size works for people happy to stop here. |
Down at 50 now after catching some rogue html |
Now down at 14mb. I think this is as far as I can go without comprising the package history. Note this is just for the full repo with tags and website not the size of the actual built package (which should be smaller) |
I'm happy to close this as complete if confirmed by interested parties that this is resolved for them (a sensible test is to clone the repo and note how long it takes and the file size it says it has installed). |
I just tried to clone this repository and noticed it is extremely large (1.78 GiB). Could you consider reducing the size?
Enumerating objects: 36546, done. Counting objects: 100% (36546/36546), done. Delta compression using up to 8 threads Compressing objects: 100% (14063/14063), done. Writing objects: 100% (36546/36546), done. Total 36546 (delta 6517), reused 36546 (delta 6517), pack-reused 0 count: 0 size: 0 bytes in-pack: 36546 packs: 1 +size-pack: 1.78 GiB prune-packable: 0 garbage: 0 size-garbage: 0 bytes
The text was updated successfully, but these errors were encountered: