Opened 7 years ago
Last modified 4 years ago
#12891 closed defect
Refactor do_initenv method — at Initial Version
Reported by: | Ryan J Ollos | Owned by: | Ryan J Ollos |
---|---|---|---|
Priority: | normal | Milestone: | 1.3.3 |
Component: | admin/console | Version: | |
Severity: | normal | Keywords: | initenv |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
IEnvironmentSetupParticipant.environment_created
is used to do some of the work in creating an environment:
- tags/trac-1.3.2/trac/ticket/default_workflow.py@:140#L138
- tags/trac-1.3.2/trac/ticket/notification.py@:45#L43
- tags/trac-1.3.2/trac/web/chrome.py@:688#L686
However, there is an inconsistency in that other module-specific operations are done in console.py:
- Loading default pages
- Synchronizing the default repository
- Adding default values for
[mainnav]
and[metanav]
sections
It seems like that work should be moved to IEnvironmentSetupParticipant
implementations.
Note:
See TracTickets
for help on using tickets.