Re:Rewriting RubyGems.org Git History
by apetresc on Wednesday February 04, 2015 @12:41PM
(#8998240)
I find it funny that the problem was they didn't think enough people know about the `--depth 1` flag to git clone, so the solution is to use submodules (which far fewer people know how to use properly).
[ Parent
| on HN ]
Re:Rewriting RubyGems.org Git History
by Xylakant on Wednesday February 04, 2015 @12:47PM
(#8998289)
You can check for a missing submodule (folder) in your setup script and print helpful advice, but you can't do the same for the large repo: the damage is already done by the time you get to print instructions. In this case things are even easier: the submodule is just a backup for the thing that bundler will do anyways when running "bundle install".