Giter Site home page Giter Site logo

Comments (9)

scottyhq avatar scottyhq commented on July 29, 2024 1

Thanks @piyushrpt, note that the large files are still there in the hidden ".git" folder. See the last 3 commands above for how to remove them. The releases don't have the .git/ folder and as a result are much smaller.

from isce2.

piyushrpt avatar piyushrpt commented on July 29, 2024

We are working on this. We would like to do this before making a release, to allow ports and other package managers to build with the smaller repo.

from isce2.

piyushrpt avatar piyushrpt commented on July 29, 2024

Should be done now. There is a separate repo for docs now https://github.com/isce-framework/isce2-docs .

from isce2.

piyushrpt avatar piyushrpt commented on July 29, 2024

Looking into it.

from isce2.

rtburns-jpl avatar rtburns-jpl commented on July 29, 2024

You can avoid having to download the large files as of 9ede3f0 by shallow cloning e.g. with --depth=1. But if we're open to changing the commit history it's probably a good idea to nip this one in the bud.

from isce2.

piyushrpt avatar piyushrpt commented on July 29, 2024

I agree. If the repo cloning is for deployment, using depth significantly reduces the size. I'm not able to reduce the size below 140MB. Will need to look deeper.

from isce2.

rtburns-jpl avatar rtburns-jpl commented on July 29, 2024

Filter-branch wasn't working for me so I eventually just went with bfg.

git clone --mirror git://github.com/isce-framework/isce2
curl https://repo1.maven.org/maven2/com/madgag/bfg/1.13.0/bfg-1.13.0.jar > bfg.jar
java -jar bfg.jar --delete-folders docs isce2.git
cd isce2.git
git gc --prune=all

You can then force push the local mirror. It should be about 29MB when cloned.

from isce2.

piyushrpt avatar piyushrpt commented on July 29, 2024

Looks like this should be done now? You might have to refork. Can you test this?

from isce2.

scottyhq avatar scottyhq commented on July 29, 2024

Looks good. down to 29Mb

from isce2.

Related Issues (20)

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.