Warning: Can't synchronize with repository "(default)" (Unsupported version control system "svn": No module named svn). Look in the Trac log for more information.

Ticket #2206 (closed enhancement: migrated)

Opened 10 years ago

Last modified 8 years ago

Query setuptools entry points for plugins

Reported by: Felix.Schwarz Owned by: faide
Priority: normal Milestone: 2.2
Component: TurboGears Version: trunk
Severity: normal Keywords:
Cc:

Description

In TurboGears 1.x plugins which use a specific entry point have a chance to do specific actions on startup/shutdown. For TurboMail? it would be very nice to have this functionality in 2.0.

Unnecessary resource usage for plugins the user does not want: It should be encouraged for plugin writers to have a special flag like 'mail.on' in the configuration. If that flag is not set to True, the plugin must not do anything so no memory wasted :-)

While I don't have the time to provide you with code and unit tests, I can write the docs if the feature goes in.

Change History

comment:1 Changed 10 years ago by mramm

  • Milestone changed from 2.0rc1 to 2.1

comment:2 Changed 9 years ago by mramm

  • Milestone changed from 2.1 to 2.2

comment:3 Changed 8 years ago by pedersen

  • Status changed from new to closed
  • Resolution set to migrated
Note: See TracTickets for help on using tickets.