Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Managing large external dependencies using mercurial

I am working on a project which makes use of several large 3rd party libraries such as boost, tbb and ACE. I would like to control exactly which versions of these 3rd party libraries are used in my project rather than rely on whatever is available in the build machine. I have done this sort of thing in the past by adding these libraries to my projects repository. This works fine but it does slow mercurial down forcing it to track a couple orders of magnitude more files than what my project contains. Is there a better to way to manage external dependencies?

Thanks in advance

like image 331
Samwise Avatar asked Jan 28 '26 22:01

Samwise


1 Answers

If you can find Mercurial, git, or svn repos for those libraries, you can make them subrepositories of your project. Subrepos don't point to a repo in general, but rather point to a specific version of a specfiic repo, so it meets your goal on that.

like image 146
Ry4an Brase Avatar answered Jan 30 '26 14:01

Ry4an Brase



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!