-
Notifications
You must be signed in to change notification settings - Fork 37
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
Do not save source files in gh-pages branch after docs creation was: git repo too large #543
Comments
@lazarusA 11GB!! whats going on 😅 |
git prune ? I suspect that is a bad makie svg output. Maybe we should set the default output to png,
and definitely prune the repo. |
Thanks, that makes sense. Could we also just delete the whole docs branch and start again? |
Just go for it 😄 . I like your fearless approach 😆 |
Wouldn't we then loose all old docs? Could we also make sure, that we delete old preview folders? There are fifteen preview folders with 500mb each. |
Do we care about the old docs? I'm just not sure a prune will get all the svgs in question, and otherwise we will need to do one of those crazy git filter-branch operations to remove the specific problem files. If you want to do it that would help 😅 |
Definitely not tonight, lets see how annoyed I am going to be by the slow dev download in the next days. pop |
I added a github action that does the clean up (I remembered someone added it to Interfaces.jl so copied that) Now we can just delete any problem directories in I deleted the previews folder which should do most of it. |
This definitively helped, but a freshly dev --local Raster still has a repo size of 481 MB. I suspect that these are needed for the plotting, but not actually shown in the final docs.
|
Good idea. I'll also go through and manually delete those files from the 8.x docs |
We should also clean up all the .nc, .tif and .shp files after plotting from them. Theyre much smaller but still some MBs |
Changing the RASTERDATASOURCE path to |
See above... but also there will be a lot of png files from plots We need a line in the make.jl that deletes all nc, tif, shp etc extensions |
Yes, but there are still some larger files in the gh-pages history that I would expect will be deleted by the new preview deletion action once you merge a PR that had preview. That would be a PR by yourself. |
That should have happened by now? but there don't seem to be any previews turning up now, maybe the folder needs to be there? |
The previews only show up on PRs that are from this repository and my PR was coming from my fork, because I don't have commit rights here. |
I made a PR for the version bump hoping it would make a preview |
Yes, and that also triggered the preview deletion. You can see that by the timestamp of the delete history commit in the gh-pages branch. But we didn't have a preview after my PR and after you deleted the RasterData sources from the 0.8.x docs in the gh-pages branch. I hope the situation will be much better after the next PR that is merged. |
The size of the repository that is downloaded when we
dev
the repository to 500 MB which is taken quite long on a bad internet connection.The docs are very large with a size of roughly 500 MB per doc build in the gh-pages branch. since 0.8.3 before that it was around 30MB.
I suspect the size increased by #487.
We also have some previews in the gh-pages branch laying around so that the overall size of the folder in the gh-pages branch is 11 GB uncompressed.
The text was updated successfully, but these errors were encountered: