gandalf
gandalf copied to clipboard
Shrink the repo
Maybe my old issue got deleted... So: Look here: http://stevelorek.com/how-to-shrink-a-git-repository.html You know it's dangerous. Backup your repo via git pull & move it to an other e.g. HDD / Stick before doing such a big thing. Don't do it now: gandalf.app is crashing (maybe get older gandalf.app)
But I'm not the only one ;-)
The only plausible way is recreating the repo actually.
I think there's a way. Version control, at this point, is working against us. We've rearranged so much, renamed so much, etc. There's a thousand versions of everything.
There is way to shrink the repo. But the safest way imho is recreating it.
@EthanRDoesMC Look here: https://github.com/ann0see/Gandalf4Cydia Cloned my branch, deleted .git folder, made a new git repo and uploaded it. It's much smaller. But around 200 MB. It's because the app is "so big"
We should include a .gitignore with blocks the upload of .debs in Gandalf/*.deb I think the main "problem" is that the app was and now is not very small. Now after every commit the .debs will be recreated & saved via git-> every commit ~ 20 MB ? more
Some dirty options: https://gist.github.com/weijianwen/d58b8a465f4a47431096 https://confluence.atlassian.com/bitbucket/reduce-repository-size-321848262.html https://stackoverflow.com/questions/33110114/how-to-shrink-git-repo-and-better-manage-large-files
I don't know if Ethan could make a fresh clone, delete the .git folder, delete the repo on GitHub, re init the repo via commandline, recreate repo on GitHub & repush. -> @1Conan 's comment. We all must delete all our forks and our local clones, and we should inform /r/jailbrea, ah yes: we must make sure, that everything works and we should discuss all issues + PR's
That's my plan actually. It's a nice way to tie up the long-awaited refurbishment I finally got around to starting.
We could use BFG: https://rtyley.github.io/bfg-repo-cleaner/ here. But I don't think anybody cares anymore...