Search code examples
svnintegrationticket-system

SVN integration with Bug tracking/ticketing software


I was wondering is there any software, that integrates ticketing system(or bug tracking) with SVN, but in a specific way. I want to prohibit any code changes, that does not have ticket (or bug id).

For example:

  1. Each developer has read-only access to SVN - he can update sources, but can not commit.
  2. Each commit must contain Bug/ticket id
  3. Even for optimization tasks, developer must create ticket for himself and then implement some stuff

I know there are some tools like Mylyn, that helps with ticketing system/SVN integration, but developer can always commit the sources.

I don't have any environments for ticketing system (I can use Trac as well as BugZilla or any other), but there must use SVN as a code repository.

Do you have any ideas how to integrate these services this way?


Solution

  • For this kind of policy you have to write a Hook Script which checks if there is a ticket id in the log message and of course check if the ticket id belongs to the appropriate project. Furthermore you can use things like Redmine as a ticket system.