I am looking at how/if I should make the switch from svn to git.
I currently have a multi-layered set of projects in svn which are layered such that D uses C which uses B which uses A. Actual deployed projects like X,Y,Z use any of the common libraries A-D. The aim is for future projects and other teams to share the base libraries (A-D) and to enable better branching control.
In svn if we wish to allow other teams to use library C without getting involved with X,Y,Z then it is simple, they just check out the C bit of the svn tree, if that leads to them wanting to patch B, then ditto. They never touch X,Y,Z even if they are in the same actual repo. It is not so obvious what happens with git.
If I wish to set something up using git, how would you suggest I set it up and what are the upsides/downsides with your suggested setup.
Features I am looking for are:
- Simple tagging (if possible) so can tag the state of the whole codebase easily (simple with a common svn root or a single git repo)
- Easy for others to integrate/reuse the common libraries A-D
- Simple for them to give us back suggested fixes/patches which we can choose to take or ignore (one of the main things I want from git).
- Teams to have effectively private ownership features available for shared libraries (so they can tag them and fix them for themselves on their own timelines)
Git seems to offer what I want, I am just not sure how to deal with the single vs multiple repos problem.