= Svn Policy Plugin = == Description == This plugin tries to offer a visual interface for adding svn hooks to the projects managed through trac. The plugin is scalable for installations with multiple trac environments. The plugin implements the most used features now in production servers and other features nice to have. From this plugin the administrator of the project can: * add the email addresses to which the svn commit mails to be sent; * enforce a svn log message format; * enable the control of tickets from the svn commit messages; * control the svn properties set for revisions; * set the svn repository as readonly; * write custom scripts to run at post-commit and pre-commit. The plugin has a settings file '''svnpolicy.conf''' that must be configured before deployment. == Bugs/Feature Requests == Existing bugs and feature requests for TracSvnPoliciesPlugin are [report:9?COMPONENT=TracSvnPoliciesPlugin here]. If you have any issues, create a [http://trac-hacks.org/newticket?component=TracSvnPoliciesPlugin&owner=andrei2102 new ticket]. == Download == Download the zipped source from [download:tracsvnpoliciesplugin here]. == Source == You can check out TracSvnPoliciesPlugin from [http://trac-hacks.org/svn/tracsvnpoliciesplugin here] using Subversion, or [source:tracsvnpoliciesplugin browse the source] with Trac. == Example == The configuration file has the following settings: * TRAC_CODE_PATH - the path to the directory in which the trac code is stored. This setting is used to find on the file system the trac-post-commit-hook file, from the contrib directory. * AUTHOR_URL_TEMPLATE - this string is used to create the URL at which the author of the commit has it's profile. * CHANGESET_URL - this string is used to create the URL at which the chageset with the commit can be found. * SVNNOTIFY - path on the file system where the '''svnnotify''' script can be found. * SVNLOOK - - path on the file system where the '''svnlook''' script can be found. * SMTP_HOST - the server that sends emails for trac. * SMTP_USER - the user with whom the trac authenticates to the mail server. * SMTP_PASSWORD - the password with whom the trac authenticates to the mail server. == Screenshots == [[Image(log.jpg, width=400px)]] [[Image(notifications.jpg, width=400px)]][[BR]] [[Image(advanced.jpg, width=400px)]] [[Image(readonly.jpg, width=400px)]] == Recent Changes == [[ChangeLog(tracsvnpoliciesplugin, 3)]] == Author/Contributors == '''Author:''' [wiki:andrei2102] [[BR]] '''Contributors:'''