Tips on managing dependencies for a release?

Posted by Andrew Murray on Stack Overflow See other posts from Stack Overflow or by Andrew Murray
Published on 2010-05-24T15:22:09Z Indexed on 2010/05/24 17:11 UTC
Read the original article Hit count: 386

Our system comprises many .NET websites, class libraries, and a MSSQL database. We use SVN for source control and TeamCity to automatically build to a Test server.

Our team is normally working on 4 or 5 projects at a time. We try to lump many changes into a largish rollout every 2-4 weeks.

My problem is with keeping track of all the dependencies for a rollout. Example:

Website A cannot go live until we've rolled out Branch X of Class library B, built in turn against the Trunk of Class library C, which needs Config Updates Y and Z and Database Update D, which needs Migration Script E...

It gets even more complex - like making sure each developer's project is actually compatible with the others and are building against the same versions. Yes, this is a management issue as much as a technical issue.

Currently our non-optimal solution is:

  • a whiteboard listing features that haven't gone live yet
  • relying on our memory and intuition when planning the rollout, until we're pretty sure we've thought of everything...
  • a dry-run on our Staging environment. It's a good indication but we're often not sure if Staging is 100% in sync with Live - part of the problem I'm hoping to solve.
  • some amount of winging it on rollout day.

So far so good, minus a few close calls. But as our system grows, I'd like a more scientific release management system allowing for more flexibility, like being able to roll out a single change or bugfix on it's own, safe in the knowledge that it won't break anything else.

I'm guessing the best solution involves some sort of version numbering system, and perhaps using a project management tool. We're a start-up, so we're not too hot on religiously sticking to rigid processes, but we're happy to start, providing it doesn't add more overhead than it's worth.

I'd love to hear advice from other teams who have solved this problem.

© Stack Overflow or respective owner

Related posts about dependencies

Related posts about versioning