3 ms·
How do the monolithic repository companies handle dependencies on external source code? Are libraries and large projects e.g. RDBMS generally vendored/forked i
by jfkw 11y ago
How do the monolithic repository companies handle dependencies on external source code?
Are libraries and large projects e.g. RDBMS generally vendored/forked into the monolithic repositories, regardless of whether the initial intent is to make significant changes?
- jpollock 11y agoThere's typically a subdirectory called third_party, with subdirectories for each vendor, product and version. If the team is smart, they will also enact a rule saying "only one version". If you're really, really smart, local changes are kept as a set of patches, keeping them separate from the imported tar file. So, for source deliveries: third_party/apache/httpd/2.4/release.tgz /patch.tgz /Makefile (or other config) third_party/apache/httpd/2.2/release.tgz /patch.tgz ...
- cpeterso 11y agoFor example, here is Chromium's third_party directory: https://chromium.googlesource.com/chromium/src.git/+/master/third_party/ https://chromium.googlesource.com/chromium/src.git/+/master/...