Use Branching to Share Code and Binaries that Require Integration Testing

- J.D. Meier, Jason Taylor, Alex Mackman, Prashant Bansode

Managing shared code or binaries involves two steps:
  1. Determine a location in which to store the dependency.
  2. Branch the dependency into your project.
  1. Determine a location in which to store the dependency.
Options for storing:
  • If the shared dependency is clearly owned by a particular team, store it in that team’s team project.
  • If the shared dependency has no clear ownership, create a team project specifically for the shared code.
  1. Branch the dependency into your project.
Once you have stored the dependency, branch the shared source or binaries into your project. Every time you perform a merge from shared to consuming project, you will pick up the latest source. This allows you to pick up changes on a regular schedule and to perform integration testing before impacting your main source tree.

Additional Resources

Last edited Jul 26, 2007 at 10:36 AM by prashantbansode, version 4

Comments

No comments yet.