Giter Site home page Giter Site logo

The repo is too large about scikit-ued HOT 6 CLOSED

laurentrdc avatar laurentrdc commented on May 24, 2024
The repo is too large

from scikit-ued.

Comments (6)

LaurentRDC avatar LaurentRDC commented on May 24, 2024

Good catch, I had not noticed it became this big until I cloned it yesterday. It was foolish of me to include all those wheels, but it was before scikit-ued was available on conda-forge.

I'm going through the BFG website. Seems like a good tool. Once I have successfully rewritten the history, I will let you know.

from scikit-ued.

LaurentRDC avatar LaurentRDC commented on May 24, 2024

@KOLANICH Thanks to your suggestions, I was able to remove all wheels from the git history. Cloning a fresh version of the repo confirms that the size (of the .git folder) has been reduced from 180MiB down to 20MiB.

from scikit-ued.

KOLANICH avatar KOLANICH commented on May 24, 2024

You still have binaries in the repo, for example https://github.com/LaurentRDC/scikit-ued/tree/master/docs/source/_themes/sphinx_rtd_theme/static/fonts and https://github.com/LaurentRDC/scikit-ued/blob/master/external/cif2cell-1.2.10/PyCifRW-3.3.tar.gz, pdf and I remember there were some images somewhere. Binaries should be handled by LFS.

from scikit-ued.

LaurentRDC avatar LaurentRDC commented on May 24, 2024

I switched the large files to LFS, but then the CI stopped working. I've decided against this complication. I might try this down the road, but right now it isn't worth the trouble.

from scikit-ued.

KOLANICH avatar KOLANICH commented on May 24, 2024

Thank you for the clarification.

switched the large files to LFS

LFS is not for large files, it is for any binary files which are treated by git inefficiently.

but then the CI stopped working.

It requires git-lfs be preinstalled in the build environment. Or you can install it manually and then manually get the objects.

from scikit-ued.

KOLANICH avatar KOLANICH commented on May 24, 2024

-.md filter=lfs diff=lfs merge=lfs -text
-
.sh filter=lfs diff=lfs merge=lfs -text
-*.rst filter=lfs diff=lfs merge=lfs -text

You are doing it wrong. LFS is only for binary (non-text) files like jpeg, png and bmp images (but svg and vrml are text formats, so shouldn't be handled by lfs), wav sound, archives and other files which don't diff well .... Text files (source code, markdown, svg, OpenSCAD) are handled by git itself well. Using LFS for them is waste of resources and probably troubles with merging.

from scikit-ued.

Related Issues (10)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.