TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Rewriting RubyGems.org Git History

38 点作者 arthurnn超过 10 年前

4 条评论

akerl_超过 10 年前
Obviously I&#x27;m not in their place, but in hindsight, my first thought when reading their initial issue was &quot;Why not make a container that serves the minimal subset of Rubygems stuff necessary to bootstrap Rubygems, and use that as a source in the event that the main side died and needed to be kickstarted again.<p>Docker itself used a similar strategy for their build process: the recommended build process uses containers to build the Docker binary, so they made a precompiled binary available that was crafted &quot;the hard way&quot; that could then be used for running the saner build process.
评论 #8998574 未加载
jbergknoff超过 10 年前
It would be really helpful to go into some detail on the steps taken to clean up the git history.
评论 #8998930 未加载
评论 #8998787 未加载
anton_gogolev超过 10 年前
The-other-good-DVCS-that-everyone-almost-forgot-about, Mercurial, has exactly two solutions to the problem of overly large repos which, I presume, contain a lot of BLOBs.<p>First is Streaming Clones[1], whereby Mercurial server just takes all the files from the repository and transmits them over the transport connection, significantly decreasing TTFB.<p>The second is Largefiles extension[2], which turns Mercurial into more of a CVCS, but allows for efficient storage and retrieval of large binary files.<p>[1]: <a href="https://hglabhq.com/blog/2014/6/20/working-with-mercurial-over-unreliable-connections" rel="nofollow">https:&#x2F;&#x2F;hglabhq.com&#x2F;blog&#x2F;2014&#x2F;6&#x2F;20&#x2F;working-with-mercurial-ov...</a> [2]: <a href="http://mercurial.selenic.com/wiki/LargefilesExtension" rel="nofollow">http:&#x2F;&#x2F;mercurial.selenic.com&#x2F;wiki&#x2F;LargefilesExtension</a>
apetresc超过 10 年前
I find it funny that the problem was they didn&#x27;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).
评论 #8998289 未加载
评论 #9002114 未加载