Proposal: Clean-up ODM repo

The ODM repo, although the source code is only a few dozen MB, weighs an astonishing 1.05GB.

I propose at the next release we run a tool such as https://rtyley.github.io/bfg-repo-cleaner/ to remove whatever blobs of binary data might be taking so much space.

This has the downside that people will have to make a fresh clone of the repository.

Thoughts?

5 Likes

go for it! re-cloning is pretty easy :slight_smile: - would that also fix the huge blob which docker pulls download? seems about the same size…

1 Like

Yes, I think so. Also: ODM is going to the next major release, so this seems to be the moment…

3 Likes

The docker pulls will still be large; we just have lots of dependencies and it’s really tricky to optimize this kind of stuff.

We don’t include the git repo in the docker images.

But this is still something we should do.

3 Likes

That’s right. That got fixed a while back. The docker images are a bit optimized already relative to the repo.

2 Likes