You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@bloodhound.apache.org by Apache Bloodhound <bl...@incubator.apache.org> on 2013/01/02 07:41:13 UTC

[Apache Bloodhound] #322: Add support for environment factory configurable through trac.ini

#322: Add support for environment factory configurable through trac.ini
-----------------------------------+------------------
 Reporter:  jure                   |      Owner:  jure
     Type:  enhancement            |     Status:  new
 Priority:  major                  |  Milestone:
Component:  multiproduct           |    Version:
 Keywords:  bep-0003 multiproduct  |
-----------------------------------+------------------
 This is required for #115 integration (product environments). Currently
 open_environment is called from trac.main.dispatch_request to instantiate
 global environment. dispatch_request should be modified to invoke either
 configured (trac.ini) custom environment factory or default method
 (open_environment). This will allow bloodhound_multiproduct plugin to
 provide factory that would instantiate product environment (#115) based on
 the request URL.

-- 
Ticket URL: <https://issues.apache.org/bloodhound/ticket/322>
Apache Bloodhound <https://issues.apache.org/bloodhound/>
The Apache Bloodhound (incubating) issue tracker

Re: [Apache Bloodhound] #322: Add support for environment factory configurable through trac.ini

Posted by Apache Bloodhound <bl...@incubator.apache.org>.
#322: Add support for environment factory configurable through trac.ini
---------------------------+-----------------------------------
  Reporter:  jure          |      Owner:  jure
      Type:  enhancement   |     Status:  closed
  Priority:  major         |  Milestone:  Release 6
 Component:  multiproduct  |    Version:
Resolution:  fixed         |   Keywords:  bep-0003 multiproduct
---------------------------+-----------------------------------
Changes (by olemis):

 * milestone:   => Release 6


-- 
Ticket URL: <https://issues.apache.org/bloodhound/ticket/322#comment:4>
Apache Bloodhound <https://issues.apache.org/bloodhound/>
The Apache Bloodhound (incubating) issue tracker

Re: [Apache Bloodhound] #322: Add support for environment factory configurable through trac.ini

Posted by Apache Bloodhound <bl...@incubator.apache.org>.
#322: Add support for environment factory configurable through trac.ini
---------------------------+-----------------------------------
  Reporter:  jure          |      Owner:  jure
      Type:  enhancement   |     Status:  closed
  Priority:  major         |  Milestone:
 Component:  multiproduct  |    Version:
Resolution:  fixed         |   Keywords:  bep-0003 multiproduct
---------------------------+-----------------------------------
Changes (by jure):

 * status:  assigned => closed
 * resolution:   => fixed


-- 
Ticket URL: <https://issues.apache.org/bloodhound/ticket/322#comment:3>
Apache Bloodhound <https://issues.apache.org/bloodhound/>
The Apache Bloodhound (incubating) issue tracker

Re: [Apache Bloodhound] #322: Add support for environment factory configurable through trac.ini

Posted by Apache Bloodhound <bl...@incubator.apache.org>.
#322: Add support for environment factory configurable through trac.ini
---------------------------+-----------------------------------
  Reporter:  jure          |      Owner:  jure
      Type:  enhancement   |     Status:  assigned
  Priority:  major         |  Milestone:
 Component:  multiproduct  |    Version:
Resolution:                |   Keywords:  bep-0003 multiproduct
---------------------------+-----------------------------------
Changes (by jure):

 * status:  new => assigned


-- 
Ticket URL: <https://issues.apache.org/bloodhound/ticket/322#comment:1>
Apache Bloodhound <https://issues.apache.org/bloodhound/>
The Apache Bloodhound (incubating) issue tracker

Re: [Apache Bloodhound] #322: Add support for environment factory configurable through trac.ini

Posted by Apache Bloodhound <bl...@incubator.apache.org>.
#322: Add support for environment factory configurable through trac.ini
---------------------------+-----------------------------------
  Reporter:  jure          |      Owner:  jure
      Type:  enhancement   |     Status:  assigned
  Priority:  major         |  Milestone:
 Component:  multiproduct  |    Version:
Resolution:                |   Keywords:  bep-0003 multiproduct
---------------------------+-----------------------------------

Comment (by jure):

 This has been implemented on bep_0003_multiproduct branch. Trac code has
 been modified to provide customizable environment factory support (within
 `trac.web.main.dispatch_request`). Current implementation firstly creates
 global environment and then invokes (if configured) custom environment
 factory with global environment being passed as a parameter to the
 factory. This allows for custom factory to instantiate product environment
 (with the global environment being it's parent) for example.
 `trac/environment_factory` configuration option is used to configure
 custom python module that implements the environment factory. Custom
 environment factory must be implemented by subclassing
 `trac.hooks.EnvironmentFactoryBase` class and providing
 `open_environment` method.

-- 
Ticket URL: <https://issues.apache.org/bloodhound/ticket/322#comment:2>
Apache Bloodhound <https://issues.apache.org/bloodhound/>
The Apache Bloodhound (incubating) issue tracker