Changes between Version 30 and Version 31 of CodeReviewerPlugin
- Timestamp:
- Jan 5, 2017, 1:31:41 PM (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
CodeReviewerPlugin
v30 v31 44 44 == Installation / Configuration 45 45 46 46 1. Install the plugin, after downloading and unzipping: 47 47 {{{#!sh 48 48 $ cd codereviewerplugin/0.12 … … 50 50 $ sudo cp dist/TracCodeReviewer*.egg /your/trac/location/plugins/ 51 51 }}} 52 53 52 See TracPlugins for more installation details and options. 54 55 2. Enable the plugin in your `trac.ini` file ''and'' if using the built-in {{{commit-updater}}}, disable {{{CommitTicketReferenceMacro}}}: 53 1. Enable the plugin in your `trac.ini` file ''and'' if using the built-in {{{commit-updater}}}, disable {{{CommitTicketReferenceMacro}}}: 56 54 {{{#!ini 57 55 [components] … … 60 58 tracopt.ticket.commit_updater.committicketupdater = enabled 61 59 }}} 62 63 60 You can alternatively use the Trac Web Admin GUI to enable or disable components. 64 65 3. '''Optional''': Customize the names for the three statuses and make sure there are always exactly three in the shown order of meaning:61 1. Enable [TracRepositoryAdmin#Repositorycaching repository caching] with explicit synchronization. 62 1. '''Optional''': Customize the names for the three statuses and make sure there are always exactly three in the shown order of meaning: 66 63 {{{#!ini 67 64 [codereviewer] 68 65 status_choices = REJECTED,PENDING,PASSED 69 66 }}} 70 71 4. After the above, upgrade your Trac environment: 67 1. After the above, upgrade your Trac environment: 72 68 {{{#!sh 73 69 $ sudo trac-admin /path/to/projenv upgrade 74 70 }}} 75 76 5. Resync the repository 71 1. Resync the repository 77 72 {{{#!sh 78 73 $ sudo trac-admin /path/to/projenv codreviewer resync <repos>