-
Notifications
You must be signed in to change notification settings - Fork 123
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
Repo size is huge! #389
Comments
It's the gh-pages branch which stores all of the documentation. We've been working on cutting it down but have not had complete success with that. |
I see. I suppose there is no way around it other than to softly warn people of the fetch size if they do normal |
Sure, pointing to cloning |
Not a bad idea. I'll put something similar in the Developer Documentation. |
After some discussion in projectmesa/mesa-geo#101, we concluded that example videos for Mesa-Geo can be put in a separate GH repo containing just the videos. And the tutorial can simply link to the raw files of this repo. Maybe this method can be used to streamline the |
https://juliadynamics.github.io/Agents.jl/stable/devdocs/#Cloning-the-repository-1 At the moment we simply advise people that want to get into the development of Agents.jl to just do a shallow clone. All the video files are in a different branch I prefer this approach much more. Linking videos defies one of (my) principles of good documentation: examples must be run, not written. Letting the code put them where they should be is more future proof and will lead to less broken pages. |
I'm aware of that devdocs content, and hence I mentioned it.
This is, however, a gotcha. Most other projects are cloned without the |
To clarify, most people would do a vanilla |
Yes, of course, everything you say is valid! One has to make a decision about this trade-off: future stability of documentation and less development effort to create the docs, or the users that don't see this dev page (which is the majority) downloading a large repo. |
(I should say, I used to have several repos that followed this approach: upload videos elsewhere and link them. It really became a pain in the ass over time to maintain this.) |
For an unknown reason, the
.git/
objects are huge, ~263 MB. But the files elsewhere that are not in.git/
amount to probably about ~2 MB at most. Why is this the case? It took me a while to clone the repo. Is it possible to rewrite the history of this repo to remove the huge object? I don't know what it is.The text was updated successfully, but these errors were encountered: