Managing 3rd party sources and binaries used by code under source control

后端 未结 3 968
爱一瞬间的悲伤
爱一瞬间的悲伤 2020-12-13 19:07

I have a large code base under source control (was subversion, now git). To compile the code and run the tests I use a set of 3rd party libraries. These libraries can be div

3条回答
  •  臣服心动
    2020-12-13 19:26

    We have gone for a variant of your option 3. Option 1 seems to me to be equivalent to Option 3, but with more implementation/testing effort on your part and hence more potential to go wrong.

    Ultimately, if you want to be able to exactly re-create a build, you'll need your externals (including binaries) to be versioned along with the code itself and hosted locally. And git submodules will do a good job of doing this for you.

提交回复
热议问题