Description

In 1.9 we can't use the Package Installer to install theme files by CopyThemeFile. In the past that was only possible for the standalone server.

Component selection

Details

MoinMoin Version

1.9 beta2

OS and Version

Python Version

Server Setup

Server Details

Language you are using the wiki in (set in the browser/UserPreferences)

Workaround

Discussion

I think we should solve this issue in general by adding a new var to wikiconfig.py which points to a directory the user can install theme files for plugins. Afterward he can talk to his admin to set an alias definition in the webservers config to this dir. Or he can ask him to move these files to the htdocs dir. I think we should not skip this feature from the package installer.

(!) Could be data/plugin/htdocs/ so no new config var is needed to point at the filesystem location (or, if we make on, it can automatically default to this value). What we will need is a url_prefix_plugin var that has the URL for this stuff, could default to /moin_staticVVV_plugin.

Implemented to use the MoinMoin/web/static/htdocs dir. Please note for 2.0 we will have some refactoring because of Admin2009. This will remove the dependency to this dir.

18:59 < dreimark> xorAxAx: ThomasWaldmann me dislikes to remove do_copythemefile from packages. What
                  alternatives do we have?
18:59 < xorAxAx> dreimark: why? if moin new the path, it would work (given correct permissions). so why
                 remove it?
19:01 < dreimark> xorAxAx: where do I get the path from?
19:01 < xorAxAx> dreimark: from the config ... the new installer would need to store it somewhere
                 anywhere
19:01 < dreimark> at least the cod needs to be changed because sa = getattr(self.request, "sareq", None)
                  won't work in 1.9
19:02 < xorAxAx> yes, then it should be changed
19:03 < dreimark> with the new installer it will work again but what can we do for 1.9

19:03 < xorAxAx> well, i dont know how the refactoring looks like
19:03 < xorAxAx> that killed sareq

Plan


CategoryMoinMoinBugFixed

MoinMoin: MoinMoinBugs/1.9PackageInstaller (last edited 2009-05-03 18:46:17 by ReimarBauer)