-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Closed
Closed
Copy link
Labels
EnhancementFor new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc.For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc.
Description
Hi,
The new feature allowing different folders for plugins using the MATOMO_PLUGIN_DIRS
env is great.
But is it possible to copy downloaded plugins from Marketplace UI also into declared directories in addition to Matomo /plugins
folder.
Download logic copies extracted .zip file to '/plugins' folder and it's not using new getPluginsDirectories
function
public function installOrUpdatePluginFromMarketplace($pluginName) |
$this->copyPluginToDestination($tmpPluginFolder); |
private function copyPluginToDestination($tmpPluginFolder) |
$pluginsDir = Manager::getPluginsDirectory(); |
The goal is to easily "track" all the added/deleted plugins so creating new Matomo deployment becomes much easier.
This is useful with Kubernetes because i can define MATOMO_PLUGIN_DIRS
folder to point to a Persistent Volume path shared between many PODs
Metadata
Metadata
Assignees
Labels
EnhancementFor new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc.For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc.