Changeset 17 for mergebot/trunk/README.txt
- Timestamp:
- Jun 8, 2009 3:07:47 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
mergebot/trunk/README.txt
r16 r17 1 1 = Installing = 2 2 # Checkout the source. 3 $ svn co <url> mergebot-0.1 04 $ cd mergebot-0.1 05 $ python setup.py bdist_egg6 $ cp dist/TracMergeBot*.egg <mytracenv>/plugins/3 $ svn co <url> mergebot-0.11 4 $ cd mergebot-0.11 5 $ ./rpm/makerpm 6 $ su -c "rpm --install dist/TracMergeBot*.noarch.rpm" 7 7 # Create the mergebot work area 8 8 $ mkdir <mytracenv>/mergebot 9 9 $ chown <webserver>:<webserver> <mytracenv>/mergebot 10 10 11 # Add to trac.ini: 12 [mergebot] 13 work_dir = /var/www/trac/mytracenv/mergebot 14 repository_url = http://servername/repos 11 Enable mergebot in the [components] section: 12 mergebot.web_ui.* = enabled 15 13 16 [ticket-custom] 17 mergebotstate = select 18 mergebotstate.label = MergeBotState 19 mergebotstate.options = | tomerge | merged | tobranch | branched | conflicts 20 mergebotstate.value = 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. 21 21 22 # Give MERGEBOT_* permissions to your users. 23 # Make sure you have a version for 'trunk' 24 # Make sure you have your Subversion directory structure setup as 25 # <component>/trunk 26 # <component>/tags 27 # <component>/branches 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. 28 27 29 # Restart your webserver 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 TracChangeset
for help on using the changeset viewer.