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

Bloated project size #270

Open
fredshone opened this issue Mar 25, 2024 · 1 comment
Open

Bloated project size #270

fredshone opened this issue Mar 25, 2024 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@fredshone
Copy link
Collaborator

What can be improved?

Project size is up to 250M. .git/ represents the vast majority of this (224M).

I took a look at the commits using this script, and can see some particularly egregious files lurking in history that we don't need...

642749c02fc3   16MiB examples/data/example_data/hk_zones.geojson
f262b44596a4   17MiB examples/data/example_data/hk_facilities_epsg_4326.geojson
8f019e221b4c   20MiB examples/data/londinium_facilities_epsg_27700.geojson
515bfe0fbc4b   20MiB examples/data/londinium_facilities_epsg_27700.geojson

These are no longer in use. So i think safe to remove from history via BFG.

However, you will need to then need all contributing users to make a fresh clone to prevent pushing them back into history. I am not sure how feasible this is now. But it will only get harder...

Version

v0.3.0

@brynpickering
Copy link
Contributor

I would extend this to:

7ca30ee07cc6 3694558 examples/AK_test.ipynb
9599fc0cadcd 3826931 examples/AK_test.ipynb
9e529d1a79ac 4149741 examples/04_Example-Create-Population-Londinium.ipynb
d52d29205006 4149748 examples/04_Example-Create-Population-Londinium.ipynb
39965de28c9a 6676924 notebooks/Example-Create-Population-Londinium.ipynb
ca60e0ee8975 6679080 notebooks/Example-Create-Population-Londinium.ipynb
2a93286cbb82 6682550 examples/04_Example-Create-Population-Londinium.ipynb
642749c02fc3 17017366 examples/data/example_data/hk_zones.geojson
f262b44596a4 17455220 examples/data/example_data/hk_facilities_epsg_4326.geojson
8f019e221b4c 20524282 examples/data/londinium_facilities_epsg_27700.geojson
515bfe0fbc4b 20546490 examples/data/londinium_facilities_epsg_27700.geojson

That's ~105MB.

The gh-pages branch is going to continue to bloat the repo. Ideally we could move our documentation to readthedocs.org, but we have had issues in the past with that domain being randomly blocked by the Arup firewall...

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

No branches or pull requests

3 participants