GithubHelp home page GithubHelp logo

Git repo weighs 160 MB about distributions HOT 10 CLOSED

ipfs avatar ipfs commented on July 4, 2024
Git repo weighs 160 MB

from distributions.

Comments (10)

jbenet avatar jbenet commented on July 4, 2024

i thought i orphaned them. github may not be gc-ing.

from distributions.

jbenet avatar jbenet commented on July 4, 2024

(or i may not have succeeded)

from distributions.

jbenet avatar jbenet commented on July 4, 2024

yeah this sucks. maybe they're still referenced by some object somewhere.

from distributions.

dignifiedquire avatar dignifiedquire commented on July 4, 2024

Not seeing this in new clones anymore.

from distributions.

 avatar commented on July 4, 2024

Just saw it again:

lars@biham:~$ git clone https://github.com/ipfs/distributions.git
Cloning into 'distributions'...
remote: Counting objects: 834, done.
remote: Total 834 (delta 0), reused 0 (delta 0), pack-reused 834
Receiving objects: 100% (834/834), 162.10 MiB | 29.87 MiB/s, done.
Resolving deltas: 100% (399/399), done.
Checking connectivity... done.

from distributions.

dignifiedquire avatar dignifiedquire commented on July 4, 2024

@lgierth any idea how to fix this?

from distributions.

Kubuxu avatar Kubuxu commented on July 4, 2024

Problem is with gen-webpage page which still links old commit chain.

To fix it run following. It will REMOVE gen-webpage branch from existence.

git push origin :gen-webpage # this alone might be enough for GH to figure out gc pattern but future steps ensure that and will remove 160MB from local repo
git reflog expire --expire=now --all
git fsck --full --unreachable
git repack -A -d
git gc --aggressive --prune=now
git push

from distributions.

dignifiedquire avatar dignifiedquire commented on July 4, 2024

@diasdavid can we just delete the gen-webpage branch? or is there anything relevant you still need on there?

from distributions.

daviddias avatar daviddias commented on July 4, 2024

@dignifiedquire feel free to delete :)

from distributions.

 avatar commented on July 4, 2024

The branch is removed and I think this is fixed now.

> git clone [email protected]:ipfs/distributions.git
Cloning into 'distributions'...
remote: Counting objects: 902, done.
remote: Total 902 (delta 0), reused 0 (delta 0), pack-reused 902
Receiving objects: 100% (902/902), 2.30 MiB | 1.05 MiB/s, done.
Resolving deltas: 100% (477/477), done.
Checking connectivity... done.

from distributions.

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.