Changes between Version 9 and Version 10 of TracSvnPoliciesPlugin
- Timestamp:
- Jun 7, 2015, 9:38:33 AM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TracSvnPoliciesPlugin
v9 v10 1 = Svn Policy Plugin = 1 [[PageOutline(2-5,Contents,pullout)]] 2 2 3 = = Description ==3 = Svn Policy Plugin 4 4 5 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. 5 == Description 6 6 7 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: 8 * add the email addresses to which the svn commit mails to be sent; 9 * enforce a svn log message format; 10 * enable the control of tickets from the svn commit messages; 11 * control the svn properties set for revisions; 12 * set the svn repository as readonly; 13 * write custom scripts to run at post-commit and pre-commit. 7 This plugin offers a visual interface for adding svn hooks to the projects managed through Trac. The plugin is scalable for installations with multiple Trac environments. 8 9 Key features: 10 * Add the email addresses to which the svn commit mails to be sent. 11 * Enforce a svn log message format. 12 * Enable the control of tickets from the svn commit messages. 13 * Control the svn properties set for revisions. 14 * Set the svn repository as readonly. 15 * Write custom scripts to run at post-commit and pre-commit. 14 16 15 17 The plugin has a settings file '''svnpolicy.conf''' that must be configured before deployment. 16 18 17 == Bugs/Feature Requests ==19 == Bugs/Feature Requests 18 20 19 21 Existing bugs and feature requests for TracSvnPoliciesPlugin are … … 21 23 22 24 If you have any issues, create a 23 [ http://trac-hacks.org/newticket?component=TracSvnPoliciesPlugin&owner=doki_pen new ticket].25 [/newticket?component=TracSvnPoliciesPlugin new ticket]. 24 26 25 == Download == 27 [[TicketQuery(component=TracSvnPoliciesPlugin,group=type,format=progress)]] 28 29 == Download 26 30 27 31 Download the zipped source from [download:tracsvnpoliciesplugin here]. 28 32 29 == Source ==33 == Source 30 34 31 35 You can check out TracSvnPoliciesPlugin from [http://trac-hacks.org/svn/tracsvnpoliciesplugin here] using Subversion, or [source:tracsvnpoliciesplugin browse the source] with Trac. 32 36 33 == Install == 34 * get a archive with the plugin on your computer from [download:tracsvnpoliciesplugin here] 35 * edit the '''svnpolicy.conf''' configuration file - below are explained all the configurations 36 * install the plugin with easy_install 37 * add in the ini file under the components section 38 {{{ 37 == Installation 38 39 * Get a archive with the plugin on your computer from [download:tracsvnpoliciesplugin here] 40 * Edit the '''svnpolicy.conf''' configuration file - below are explained all the configurations 41 * Install the plugin with easy_install 42 * Add in your `trac.ini` file under the components section the following: 43 {{{#!ini 44 [components] 39 45 svnpolicies.* = enabled 40 46 }}} 41 * add PROJECT_ADMIN permission to the user that you want to see this admin panel47 * Add PROJECT_ADMIN permission to the user that you want to see this admin panel 42 48 {{{ 43 49 trac-admin /var/trac/svnpolicyexample/ permission add andrei PROJECT_ADMIN 44 50 }}} 45 == Configurations == 51 52 == Configuration 46 53 47 54 The configuration file has the following settings: 48 55 * 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. 49 * AUTHOR_URL_TEMPLATE - this string is used to create the URL at which the author of the commit has it 's profile.56 * AUTHOR_URL_TEMPLATE - this string is used to create the URL at which the author of the commit has its profile. 50 57 * CHANGESET_URL - this string is used to create the URL at which the chageset with the commit can be found. 51 58 * SVNNOTIFY - path on the file system where the '''svnnotify''' script can be found. … … 55 62 * SMTP_PASSWORD - the password with whom the trac authenticates to the mail server. 56 63 57 == Screenshots == 64 == Screenshots 65 58 66 [[Image(log.jpg, width=600px)]] 59 67 … … 64 72 [[Image(readonly.jpg, width=600px)]] 65 73 66 == Recent Changes ==74 == Recent Changes 67 75 68 76 [[ChangeLog(tracsvnpoliciesplugin, 3)]] 69 77 70 == Author/Contributors ==78 == Author/Contributors 71 79 72 80 '''Author:''' [wiki:andrei2102] [[BR]] 73 '''Maintainer:''' [ wiki:doki_pen] [[BR]]81 '''Maintainer:''' [[Maintainer]] [[BR]] 74 82 '''Contributors:'''