Subversion
Environment
Subversion resides on server svn0.uits.uconn.edu and has a custom UConn front end interface created by Jon Rifkin.
Current version: 1.6
Configure Access Rights: see SVN
Pre-commit hooks
https://studio.plugins.atlassian.com/wiki/display/CMMT/JIRA+Commit+Acceptance
Script configuration:
- jira-client.py is installed on the /srv/svn/<repo-name>/hooks folder
- Add jiraBaseURL, Login (api_user username), Password, and Project Key(s)
- Rename pre-commit.sh to pre-commit and modify the script to point to the correct location
- On the JIRA side the plugin must be configured on a project basis with rules (simple) use 'administration' -> 'commit acceptance'
Unfortunately it messes up John Rifkin's SVN front-end application a bit. When you create a new project from the svn0.uits.uconn.edu/admin interface it will fail at doing the initial import because the hook is on the repo level.
Workaround:
svn import file: ///srv/svn/kuali/<PROJECT_NAME> -m "SVN-9 <PROJECT_NAME>, first import" |