Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Any best practices for integrated usage of svn, Jira and Bamboo? [closed]

Tags:

svn

jira

bamboo

I currently have focused setting up a software configuration management process using svn, Jira and Bamboo. Unfortunately, I cannot find any defined or standard practices using the mentioned tools. I exactly looking for a set of best practices including:

  1. The best way of branching
  2. The best patterns of keeping development lines
  3. The best ways of using Jira issues with svn commits
  4. ...

A good configuration management practice is the one Microsoft has proposed for his TFS solution. Any known set of best practices for the mentioned tools?

like image 550
Gupta Avatar asked Aug 18 '11 12:08

Gupta


1 Answers

I recommend you read through the on line Subversion book which includes lots of stuff about the best practices in using Subversion.

I also recommend the book Practical Perforce. Perforce is another version control system, but it is very similar to Subversion, and the book has some excellent ideas on how branching and coding should be done. It is all very applicable to Subversion.

As for Jira, the best advice is to keep it simple: Really, really simple. Jira works best for developers and not for an overall corporate organization. Workflows should be kept simple.

There's no good book on Jira, but if you've never used Jira, please understand that certain fields have very special meanings, and you should respect their meaning:

  • Resolution is used to mark an issue as open or closed (and not the state). If an issue has a resolution, it's closed. Period. This is used for many of the built in reports, thus should be respected.
  • The heart of each Jira project is the version number -- another very special concept. Defects are tracked by the version they're reported in and the version they're fixed in.
  • The status field cannot be changed except by transitioning to another state. Thus, I recommend you have a backflow that can reset an issue to a previous state. Someone is going to transition the wrong issue, and you'll have to fix it.
  • Use a continuous integration system like Jenkins or Bamboo. Jenkins and Bamboo integrates with Jira quite nicely. In fact, I'll argue it's a much more important integration than the direct Subversion to Jira integration. Almost no one ever bothered looking up the source code directly from Jira, but the QA people loved the fact they could look at the Jira issue and see which build it was fixed in.
  • If you're going to be looking at Atlassian products, consider Fisheye while you're at it. It provides a way of browsing code via the web, and showing diffs. It integrates nicely with Bamboo and Jenkins. This is where developers usually look to see code diffs, etc. A good Fisheye substitute is Sventon. Jira integrates with Sventon, and so does Jenkins. I don't know if Bamboo does.
  • Join the Subversion User mailing list. The discussions there can help. Plus, the people on that list tend to be very helpful.
like image 185
David W. Avatar answered Oct 17 '22 21:10

David W.