News for hackers. Stuff that matters.
Re:Show HN: Yesterday I open sourced StratusGFX, a realtime ... by ktstephano on Thursday March 30, 2023 @07:37AM (#35371108)
That's something I'm trying to figure out. I had an earlier version of the readme that had one, but I ran into an old issue where GitHub complains that the repo is over its storage quota. Even after downscaling the image to less than 1mb it still complained so I think I have an issue leftover from an older version of the codebase (I used to store demo assets in the repo).
Re:Show HN: Yesterday I open sourced StratusGFX, a realtime ... by password4321 on Thursday March 30, 2023 @08:20AM (#35371484)
https://rtyley.github.io/bfg-repo-cleaner/ (Java) seems to be the favored tool; there's also https://github.com/xoofx/git-rocket-filter (.NET) and the built-in commands: https://stackoverflow.com/questions/2100907/how-to-remove-de...

You'll have to unprotect the branch to force push to GitHub, and anyone who has already cloned the repo may not appreciate basically having to start over, so better to get it over with ASAP!

Re:Show HN: Yesterday I open sourced StratusGFX, a realtime ... by orra on Thursday March 30, 2023 @08:30AM (#35371607)
Curious. This script[1] lists the blobs in your repo, which includes deleted files. It seems the deleted resources directory takes up 364MB. That isn't tiny, but it isn't supermassive either.

I wonder if GitHub support would be helpful. I don't know if asking them to do a 're-pack' would be beneficial.

P.S. thanks for open sourcing this!

[1] https://stackoverflow.com/a/42544963

Re:Show HN: Yesterday I open sourced StratusGFX, a realtime ... by Cthulhu_ on Thursday March 30, 2023 @10:00AM (#35372834)
When I removed an old commited and then removed node_modules folder, I had to do a git filter-branch and a force push; it's doable for your own projects if you don't object to changing the history a bit.