Edgewall Software

Ticket #4690 (closed enhancement: wontfix)

Opened 2 years ago

Last modified 2 years ago

It would be useful to have info about other trac projects available to the templates

Reported by: douglas@… Owned by: jonas
Priority: normal Milestone:
Component: general Version: 0.10.3
Severity: normal Keywords: multiple projects
Cc:

Description

When there are multiple trac projects on the same server, there is an index page that is built from a list of projects. It would be useful to have this same info available for custom templates.

Attachments

trac.patch (1.1 KB) - added by douglas@… 2 years ago.
Patch against trac/web/main.py that makes the projects variable available to templates

Change History

Changed 2 years ago by douglas@…

Patch against trac/web/main.py that makes the projects variable available to templates

Changed 2 years ago by cboos

  • status changed from new to closed
  • resolution set to wontfix

Thanks for the patch, but I'm afraid we can't integrate it.

A while ago, when I introduced support for InterTrac links, I did something like that as well, but it was noted that opening all the environments for each request was too costly, mainly in term of db connections (see trac-dev:159).

Another reason is that 0.10-stable is now in bug fixing mode and we're getting reluctant to introduce new features there, especially when they are related to ClearSilver which is being phased out.

The good news is that we're probably seeing multi-project support sooner than expected (see #130), and that when this happens, an index of all projects (within the same TracEnvironment) will of course be available.

Add/Change #4690 (It would be useful to have info about other trac projects available to the templates)

Author



Change Properties
<Author field>
Action
as closed
Next status will be 'reopened'
to The owner will change from jonas. Next status will be 'closed'
 
Note: See TracTickets for help on using tickets.