Rev | Line | |
---|
[16] | 1 | = Installing = |
---|
| 2 | # Checkout the source. |
---|
[17] | 3 | $ svn co <url> mergebot-0.11 |
---|
| 4 | $ cd mergebot-0.11 |
---|
[24] | 5 | $ python setup.py bdist_rpm |
---|
[17] | 6 | $ su -c "rpm --install dist/TracMergeBot*.noarch.rpm" |
---|
[16] | 7 | # Create the mergebot work area |
---|
| 8 | $ mkdir <mytracenv>/mergebot |
---|
| 9 | $ chown <webserver>:<webserver> <mytracenv>/mergebot |
---|
| 10 | |
---|
[17] | 11 | Enable mergebot in the [components] section: |
---|
| 12 | mergebot.web_ui.* = enabled |
---|
[16] | 13 | |
---|
[17] | 14 | If you want to use the ticket workflow features you will also need to change |
---|
| 15 | [components] |
---|
| 16 | mergebot.ticket_actions.* = enabled |
---|
| 17 | [ticket] |
---|
| 18 | workflow = ConfigurableTicketWorkflow,MergebotActionController |
---|
| 19 | Restart your webserver. |
---|
| 20 | And then use "mergebot" in the .operations section of the relevant ticket actions. |
---|
[16] | 21 | |
---|
[17] | 22 | # Add needed entries to trac.ini: |
---|
| 23 | $ trac-admin <mytracenv> upgrade |
---|
| 24 | Then edit <mytracenv>/conf/trac.ini again. |
---|
| 25 | In particular, look for the [mergebot] section that the upgrade added, and be sure the repository_url is set. |
---|
| 26 | Give MERGEBOT_* permissions to your users. |
---|
[16] | 27 | |
---|
[17] | 28 | Be sure you have a version named 'trunk' -- and you will likely want to make that the default. |
---|
| 29 | Mergebot assumes that each component is the name of a top-level directory in the svn repository, and that the versions are 'trunk', a ticket number with a preceeding '#', or a release name with a corresponding 'branches/release-XYZ' directory. |
---|
| 30 | |
---|
Note: See
TracBrowser
for help on using the repository browser.