clone 311821 -1 retitle -1 please allow to install extensions in a FHS-compatible way severity 311821 important thanks
On Thu, May 06, 2010 at 09:10:55AM -0500, Romain Beauxis wrote:
> I totally second this bug report. Reading things like:
>
> Currently plugins and themes need to be dropped in by root into:
> /usr/share/wordpress/wp-content
>
> Is not really serious I believe..
>
> The usual thing done in other webapp package I maintain (mediawiki,
> spip and roundcube), is to split the directories and files that have
> to be modified and move then to /var.
I think there are two different aspects that got intermixed in this bug
report:
1) whether wordpress itself should be allowed, via its "peculiar"
automatic installation mechanism over the web / ftp to install
extensions
2) whether the machine sysadm has a way to install local extensions
(which is badly needed, especially if (1) does not work) in some
FHS-compatible way. Doing so directly under /usr/share/wordpress/ is
a vary bad idea. Shipping symlinks there pointing to other locations
(as README.Debian suggests) is only a bit better, but still a bad
idea
I could live without (1), but I'm very surprised to discover that (2) is
not supported. The new bug I'm creating is meant to track (2) alone.
I guess supporting (2) might be non entirely trivial, especially if
wordpress expect all plugins to be located in a single directory, rather
than being able to look them up following some kind of $PATH. So if you
want to both ship a plugin with the package (like akismet) and allow
users to install other extensions, you've a dilemma. But it's really
badly needed, in order to allow people to manage wordpress sites in a
more Debian-ic way.
Thanks for maintaining wordpress in Debian!
Cheers.
--
Stefano Zacchiroli zack@{upsilon.cc,pps.jussieu.fr,debian.org} . o .
Maître de conférences ...... http://upsilon.cc/zack ...... . . o
Debian Project Leader ....... @zack on identi.ca ....... o o o
« the first rule of tautology club is the first rule of tautology club »
signature.asc
Description: Digital signature

