Edgewall Software
Modify

Opened 16 years ago

Closed 15 years ago

#2638 closed enhancement (fixed)

Central plugins directory

Reported by: bkw@… Owned by: Alec Thomas
Priority: normal Milestone: 0.10
Component: general Version: devel
Severity: normal Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

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 (1)

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

Download all attachments as: .zip

Change History (7)

comment:1 by Matthew Good, 16 years ago

Resolution: worksforme
Status: newclosed

See the documentation for installing plugins for all projects.

comment:2 by Matthew Good, 16 years ago

Resolution: worksforme
Status: closedreopened

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

comment:3 by bkw@…, 16 years ago

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.

by Alec Thomas, 16 years ago

Attachment: sitewide-plugins.diff added

Patch implementing of site-wide plugins against r3147

comment:4 by Alec Thomas, 16 years ago

Owner: changed from Jonas Borgström to Alec Thomas
Status: reopenednew

comment:5 by Alec Thomas, 15 years ago

Milestone: 0.10
Version: 0.9.3devel

comment:6 by Alec Thomas, 15 years ago

Resolution: fixed
Status: newclosed

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

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Alec Thomas.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Alec Thomas to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.