Any best practices for integrated usage of svn, Jira and Bamboo? [closed]
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this questionI 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:
- The best way of branching
- The best patterns of keeping development lines
- The best ways of using Jira issues with svn commits
- ...
A good configuration management practice is the one Microsoft has pro开发者_运维知识库posed for his TFS solution. Any known set of best practices for the mentioned tools?
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.
精彩评论