How do you store third party libraries in your source control?

后端 未结 15 1567
太阳男子
太阳男子 2020-12-13 03:19

How do you store third party libraries that you use in your project in your source control?

When would you store binaries in your source control?

When would

15条回答
  •  Happy的楠姐
    2020-12-13 03:41

    On source code and compiled libraries (most likely standalone):

    If I don't use the third party components (compiled libraries) or provided source to build inhouse software components, I simply take them off the shelf and install them as prescribed (which might include a compile, pl/sql code for example). I would not install them in a dependency management repo or any source control system for the simple reason that I don't want them incorporated accidently or otherwise in components I'm building and I don't want to track them in any software cycle. This is an asset (software asset) that should be tracked with other tools. If I'm not using them for software development, I don't and shouldn't see them in tools I use for software development.

    If I depend on them for building my own software, I would store them all day long.

提交回复
热议问题