[openstreetmap/openstreetmap-website] How can we reduce the size of this repository? (Issue #3849)

Andy Allan notifications at github.com
Wed Dec 21 11:46:12 UTC 2022


> I don’t quite see the need to upload the full history. Can’t you create a zip file without the .git directory and upload that instead?

Sure, there are workarounds. But by default, Heroku (and perhaps other similar systems) work by doing a `git push` and pushing to an empty remote repository involves transferring the entire git history.

> Overall, I think of 400MB more as 0.4GB, or maybe even the size of a Denmark extract. It’s not the biggest concern to me.

Personally I think it's ~~madness~~ surprising for a repository with a few dozen code files to have hundreds of megabytes of historical baggage dragged around with them wherever they are needed. Perhaps we don't notice it because we've already run `git clone` once and have forgotten having to twiddle our thumbs while all that stuff was downloaded, never to be needed.

But in general, it seems like given @tomhughes is against fixing the history and it's not a concern to @mmd-osm then I'll file this under "nice to have, but there are more important things to work on" and close this issue.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/3849#issuecomment-1361213590
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/openstreetmap-website/issues/3849/1361213590 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20221221/ae14e73f/attachment.htm>


More information about the rails-dev mailing list