Friday, May 15, 2009

Closing the Loop - Version Control and Issue Tracker Integration

If you are a developer on an open source project hosted on Google Code, and you are committing a change that fixes a known defect or adds a requested enhancement, you will want to update the associated issue. You could do that by first committing the change, and then using the web UI to update the issue. But, now there is a more convenient way to close the loop: you can update an issue by putting an issue tracker command in your commit-log message.

There are commit-log commands to:
  • Easily set an issue's status to Fixed.
  • Update any aspect of the issue, and add a comment.
  • Enter a new issue.
  • Request a code review.
The most common case is to close the issue as Fixed. For example, your commit-log message might be:


Now, your commit links to the issues, the issues are closed, and a back-link is added from each issue to the revision.

Updating an issue, without closing it, can be useful when a commit partially resolves the issue. And, opening a new issue is useful when you know that follow-up work will be needed. For more information and examples, see our issue tracker documentation.

7 comments:

  1. Are there plans for this to integrate with Subversion's bugtraq properties?

    ReplyDelete
  2. Awesome feature. Thanks for the update. It sure will keep me productive.

    ReplyDelete
  3. I like the Google Code interface and feature set. Any chance, now or in the future I could use it for non-open source projects?

    If it was included as an option to Google Apps I would gladly upgrade my Google Apps account for this feature. Think this is a possibility?

    ReplyDelete
  4. Yeah im also up for using it for non-open source projects.

    ReplyDelete
  5. I'd also use it for non-open source projects. Wish it were available.

    ReplyDelete
  6. You may try SCM Anywhere, which is a SQL Server-based software configuration management (SCM) tool with fully integrated version control, bug tracking and build automation.
    http://www.scmsoftwareconfigurationmanagement.com

    ReplyDelete
  7. I welcome for your updating...

    ReplyDelete