#12278 closed enhancement (fixed)
Relocate deploy_trac scripts
| Reported by: | Ryan J Ollos | Owned by: | Ryan J Ollos |
|---|---|---|---|
| Priority: | normal | Milestone: | 1.2 |
| Component: | web frontend | Version: | |
| Severity: | normal | Keywords: | |
| Cc: | Branch: | ||
| Release Notes: |
Removed scripts in |
||
| API Changes: |
Moved the |
||
| Internal Changes: | |||
Description
In [11924] (comment:3:ticket:11103) we moved admin templates associated with the ticket module from trac/admin/templates to trac/ticket/templates. Similarly, I propose to move deploy_trac.cgi, deploy_trac.wsgi and deploy_trac.fcgi from trac/admin/templates to trac/web/templates.
If the change is agreed upon, which Component in trac.web should implement ITemplateProvider? Should it be RequestDispatcher? Or perhaps a class in trac.env such as Environment, EnvironmentAdmin or EnvironmentSetup?
Also, is there any purpose to retaining the scripts in tags/trac-1.0.9/contrib/cgi-bin? The scripts are just minimal versions of the deploy_trac.* scripts that I propose to move. They were moved in [10974].
Attachments (0)
Change History (3)
comment:1 by , 10 years ago
| Owner: | set to |
|---|---|
| Status: | new → assigned |
comment:2 by , 10 years ago
| Release Notes: | modified (diff) |
|---|---|
| Resolution: | → fixed |
| Status: | assigned → closed |
Committed to trunk in [14383:14384].



Proposed changes in log:rjollos.git:t12278_relocate_deploy_trac.
I also considered putting the
deploy_trac.*scripts intrac/templatesand implementingITemplateProviderintrac.env.EnvironmentAdmin. I appreciate hearing any opinions on the best location.