子存储库的投资回报率是多少? [英] What's the ROI of Sub-Repositories?
问题描述
我知道子存储库可以为您节省团队时间,但是它们的投资回报率是多少?
I know that sub-repositories save you an your team time, but what is the ROI on them?
https://www.mercurial-scm.org/wiki/subrepos
推荐答案
如果您具有与主项目一起开发的依赖项,则subrepos是最合适的IMO.在这种情况下,我已经使用subrepos已有一段时间了,它们可以节省很多精力.我觉得它们对开源项目特别有用,因为对于那些在第一时间检查代码的人来说,获得构建项目所需的所有依赖项可能会很痛苦:subrepos使此过程完全自动化.
If you have a dependency which is developed by you along with the main project then subrepos are a perfect fit IMO. I've been using subrepos in these circumstances for a while now and they save a lot of effort. I feel they're particularly beneficial for open-source projects, where getting all dependencies required to build your project can be a pain for someone checking out the code for the firs time: subrepos make this completely automatic.
如果您的依赖项具有自己单独的不同版本和/或由第三方开发,那么我无法评论使用子仓库有多容易.
I can't comment on how easy subrepos are to use if your dependency has its own separate distinct releases and/or is developed by a third party.
这篇关于子存储库的投资回报率是多少?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!