This is a static dump of issues in the old "Flyspray" bugtracker for DokuWiki. Bugs and feature requests
are now tracked at the issue tracker at Github.
Open
This task was never closed in our old bug tracker.
Feel free to open a new task at Github if you feel this is still relevant.
FS#2594 Plugin manager doesn't delete old plugin files
Plugins
2012-09-14Michitux
When updating a plugin, the plugin manager only copies the files that are in the plugin archive but does not delete existing files that are no longer in the plugin, for example the tag plugin provided an admin interface in previous versions which was removed in the current version, when users update the plugin the admin interface still exists.
2014-02-16Michitux
Plugins are also using their plugin directory for storing data (even though imho they shouldn't) so simply deleting all files that are not in the new version will delete user data which is definitely not desirable. From a discussion at the hackfest in summer 2013 (?, might have been somewhere else) I remember two options:
1) include a list of deleted files that are deleted by the extension manager
2) add a property e.g. in the info.txt file that tells the extension manager that it should delete all files that are not in the new version
I would prefer the second option as it is easier to use for the plugins I maintain but the first option is of course more flexible for plugins that have files that should be deleted and also have user data in the plugin directory.