Edgewall Software

Ticket #2638 (closed enhancement: fixed)

Opened 3 years ago

Last modified 2 years ago

Central plugins directory

Reported by: bkw@… Owned by: athomas
Priority: normal Milestone: 0.10
Component: general Version: devel
Severity: normal Keywords:
Cc:

Description

I think a central directory for global plugins in $prefix/share/trac/plugins would make sense - analogue to the central config file in $prefix/share/trac/conf/trac.ini. This would allow central plugin installation without polluting (or requiring write-access to) site-packages.

Attachments

sitewide-plugins.diff (4.6 KB) - added by athomas 3 years ago.
Patch implementing of site-wide plugins against r3147

Change History

Changed 3 years ago by mgood

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

See the documentation for installing plugins for all projects.

Changed 3 years ago by mgood

  • status changed from closed to reopened
  • resolution worksforme deleted

Oh, sorry I missed that you mentioned "site-packages" above already.

Changed 3 years ago by bkw@…

Let me elaborate: We try to run our os installs as controled as possible, that means: Only package-managed installs to system-directories. In our case that means rpm packages.

While some trac plugins can be turned into rpms with setuptools, others can't without patching them. It would be acceptable to drop these into an application owned directory like $prefix/share/trac/plugins, but manually installing stuff into site-packages is just asking for trouble with the next upgrade or system migration.

Changed 3 years ago by athomas

Patch implementing of site-wide plugins against r3147

Changed 3 years ago by athomas

  • owner changed from jonas to athomas
  • status changed from reopened to new

Changed 2 years ago by athomas

  • version changed from 0.9.3 to devel
  • milestone set to 0.10

Changed 2 years ago by athomas

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

Added in r3371. Plugins in the central directory must be explicitly enabled.

Add/Change #2638 (Central plugins directory)

Author



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