Modify

Opened 17 years ago

Closed 8 years ago

#1881 closed enhancement (wontfix)

[PATCH] Pull projects list from the database

Reported by: mpalmer@… Owned by:
Priority: normal Component: TracForgePlugin
Severity: normal Keywords:
Cc: Trac Release: 0.10

Description

As a sort-of followon from a previous ticket, I've modified the project index to consult the master environment's database of projects instead of just grovelling around on the filesystem. This is better because:

  • If you have a bunch of projects in some directory that don't go into the projects list (because they're not Tracforge projects), like I've got at the moment, the project index is noticably slower;
  • You can scatter your Trac projects hither and yon on the filesystem while still being able to get them all into the project index.

the patch is a little ugly, since I couldn't work out how to get the master_env variable set correctly inside _send_index -- it would keep complaining about how objects of type Option or EnvironmentOption (depending on what I was trying to use at the time) lacked methods. Which is strange, because all I frigging wanted was a frigging string. Gah, Python confuses me.

Attachments (0)

Change History (2)

comment:1 Changed 10 years ago by Ryan J Ollos

Owner: Noah Kantrowitz deleted

comment:2 Changed 8 years ago by Ryan J Ollos

Resolution: wontfix
Status: newclosed

Plugin is deprecated.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The ticket will remain with no owner.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.