3 ms·
Ask HN: Enterprise wide source code library
Hello,
I'm thinking about building a source code library to be reused by several teams.
Here's the scenario:
* There is a piece of software we'll call feature 1.
* Team A works on product X, which needs of feature 1 with some minor changes.
* Team B works on product Z, which needs of feature 1 as well, but with other set of changes. Some may overlap with those required by product X.
Feature 1 is a piece of software that is used and improved by both teams, and updated accordingly to fit each product requirements. Take into consideration that a modification introduced for a product might not fit other product's requirements.
Of course, feature 1 must be stored in a repository (I'll go with git, having a centralized bare repository), but I'm not sure as to which kind of problems may arise from this. Probably branches would be the way to go in order to keep each team's modifications isolated, and getting an integrator to cherry-pick changes from each branch into a master unified general branch.
Also consider that we will have several such reusable pieces of software with their particular documentation. That documentation must be updated as well along with the software.
Has anyone attempted to build such a thing, and provide me with useful tips and recommendations?
Thank you.