bloodhound-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j...@apache.org
Subject svn commit: r1453379 - /incubator/bloodhound/branches/bep_0003_multiproduct/installer/bloodhound_setup.py
Date Wed, 06 Mar 2013 15:20:05 GMT
Author: jure
Date: Wed Mar  6 15:20:04 2013
New Revision: 1453379

URL: http://svn.apache.org/r1453379
Log:
#357 follow up, properly configure request factory during setup


Modified:
    incubator/bloodhound/branches/bep_0003_multiproduct/installer/bloodhound_setup.py

Modified: incubator/bloodhound/branches/bep_0003_multiproduct/installer/bloodhound_setup.py
URL: http://svn.apache.org/viewvc/incubator/bloodhound/branches/bep_0003_multiproduct/installer/bloodhound_setup.py?rev=1453379&r1=1453378&r2=1453379&view=diff
==============================================================================
--- incubator/bloodhound/branches/bep_0003_multiproduct/installer/bloodhound_setup.py (original)
+++ incubator/bloodhound/branches/bep_0003_multiproduct/installer/bloodhound_setup.py Wed
Mar  6 15:20:04 2013
@@ -77,7 +77,8 @@ BASE_CONFIG = {'components': {'bhtheme.*
                'trac': {'mainnav': ','.join(['dashboard', 'wiki', 'browser',
                                              'tickets', 'newticket', 'timeline',
                                              'roadmap', 'search', 'admin']),
-                        'environment_factory': '',},
+                        'environment_factory': '',
+                        'request_factory': '',},
                'project': {'footer': ('Visit Apache Bloodhound at<br />'
                                       '<a href="%(site)s">%(site)s</a>'
                                       % {'site': BH_PROJECT_SITE,}),},
@@ -220,7 +221,12 @@ class BloodhoundSetup(object):
                                       os.path.normpath(
                                           os.path.join(options['sourcedir'],
                                                                'bloodhound_multiproduct/multiproduct/hooks.py')))
+        request_factory_path = os.path.abspath(
+                                   os.path.normpath(
+                                       os.path.join(options['sourcedir'],
+                                                            'bloodhound_multiproduct/multiproduct/hooks.py')))
         base_config['trac']['environment_factory'] = environment_factory_path
+        base_config['trac']['request_factory'] = request_factory_path
 
         self.writeconfig(baseini, [base_config, accounts_config])
 



Mime
View raw message