Code Monkey home page Code Monkey logo

Comments (9)

s4cha avatar s4cha commented on May 8, 2024

Hi @crarau,

Using a beta version of the cocoapods gem to publish the library temporarily changed the remote as discussed here : CocoaPods/CocoaPods#5771

This happened at the same time this issue occurred and we never pushed files that big, the project is supposed to be a few megabytes tops.

So this leads me to believe that somehow a part of the Cocoapods repo got imported into the git :/ Indeed the large part of the repo is found in .git/objects/File.pack. I've tried lots of approaches till now to no avail :/ This is kinda making me crazy at the moment :)

Side note : This also happened locally on my machine on other repos, but I realised this before syncing and could delete my local project before propagating this issue.

In the meantime, you can get the bundle via the release page here :https://github.com/freshOS/then/releases

I'm very sorry for the inconvenience,

@maxkonovalov If you have any ideas ^^ In the meantime I'm going to try and reproduce what happened to try to understand how we can reverse it :/

from then.

maxkonovalov avatar maxkonovalov commented on May 8, 2024

I think I had a similar issue in one of my projects, somehow git started tracking Cocoapods remote instead of my repo. I fixed this by removing all remotes and re-adding them afterwards. Not sure if it's the same thing here though.

@s4cha maybe the large size of the repo can also be connected to the included zip-archive releases?

from then.

s4cha avatar s4cha commented on May 8, 2024

This is really weird.
ykyouhei forked 5 commits ago https://github.com/ykyouhei/then and doesn't have the issue.
So it validates that it happened in the meantime but the commits in between are mostly readme updates...

Using https://rtyley.github.io/bfg-repo-cleaner/ I have tried to no avail
the 400Mb packfile is transformed into a 200Mb one which is still way too big for such a project :/

java -jar bfg.jar --strip-blobs-bigger-than 2M the
// then
git reflog expire --expire=now --all && git gc --prune=now --aggressive

from then.

s4cha avatar s4cha commented on May 8, 2024

running

git log --all --full-history -- Specs

Finds commits that are on the Cocoapods repo
for ex:

commit 94fe92aee6163817fde73a488a99ee650e8f70e8
Author: noppefoxwolf <[email protected]>
Date:   Tue Nov 8 02:41:57 2016 -0500

    [Add] ZappingKit 0.1.6

Something is very wrong here...

from then.

crarau avatar crarau commented on May 8, 2024

I've made a fork and I'm no longer having the issue: https://github.com/crarau/then The clone of the fork is as expected, fast.

from then.

s4cha avatar s4cha commented on May 8, 2024

Thanks to @Ptr-mat precious help, this issue is now solved!!!
2 tags from Cocoapods were copied into then repo. So deleting them removed the 450MG commits!!

from then.

s4cha avatar s4cha commented on May 8, 2024

@crarau if you can validate we'll close the issue :)

from then.

crarau avatar crarau commented on May 8, 2024

All good now!

from then.

s4cha avatar s4cha commented on May 8, 2024

:)

from then.

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.