ioda-net / geo-api3

Backend from geoadmin/mf-chsdi3
Other
2 stars 0 forks source link

chsdi/static/images/legends/ carry more than 128 MB of specific data #3

Closed tigerfoot closed 9 years ago

tigerfoot commented 9 years ago

There's 2047 files totalising 128MB of legend data, which are specific to swisstopo/admin.ch Those need to be purged. Question : how to clean up .git at the same time.

Jenselme commented 9 years ago

Cleaning the image isn't hard: git rm -r <folder>.

It is possible to clean a repo using git filter-branch --tree-filter. However, as I stated here, the history gets rewritten and commits get a new hash. This means, we won't be able to do pull requests (you can test on a fresh fork if you wish). In theory, we could export the commits we want as patches and then apply them in the public fork and do likewise to get the latest modifications from upstream but this is incredibly unpractical.

tigerfoot commented 9 years ago

Let's us ask this question with upstream. Better if the cleanup is done there.