Opened 9 years ago

Closed 5 months 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


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 21 months ago by rjollos

  • Owner coderanger deleted

comment:2 Changed 5 months ago by rjollos

  • Resolution set to wontfix
  • Status changed from new to closed

Plugin is deprecated.

Add Comment

Modify Ticket

as closed The ticket will remain with no owner.
The resolution will be deleted. Next status will be 'reopened'.

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

Note: See TracTickets for help on using tickets.