New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Removes CustomVariables plugin from core #16090
Conversation
ed3bd8e
to
30b56dc
Compare
@sgiehl lets keep the tracking code in piwik.js for now and create an issue to move it to the plugin in Matomo 5. This should ensure we keep the update to Matomo 4 easier in case some people don't have the matomo.js writable etc. |
Note: There are still some parts left in core (like tracking or configuring custom variables in tracking code generator) |
@sgiehl looks generally good to merge once the tests pass (they currently don't by the looks).
|
@tsteur I've applied your feedback. Most tests should work correctly now. Currently failing are: Some submodule plugin tests, a mysqli fail (see #16108) and a lot of UI tests, as they changed a lot due to the removed plugin. How shall we proceed? Should I update all tests, so we can merge this PR and later include the plugin as submodule plugin, which is disabled by default in tests? Or we merge #16104 into this one (after it and matomo-org/plugin-CustomVariables#1 was reviewed), which should fix all failing tests, but would have the plugin as enabled in tests (like Bandwidth and others) |
sounds good |
* Adds CustomVariables as submodule * Revert "[TEMP] remove custom variables from system test output" This reverts commit 30b56dc. * use submodule branch * test changes due to loading CustomVariables as submodule (plugin order) * updates some expected screenshots * improve test fixture
@sgiehl one more fixture to update otherwise good to merge 👍 I suppose this test failure is unrelated https://builds-artifacts.matomo.org/matomo-org/matomo/4.x-dev/41362/UIIntegrationTest_email_reports_editor.png |
Will update and merge that now |
This PR aims to remove the CustomVariables plugins from core. In a later PR we will readd it as submodule. But as it will no longer be bundled with core, we need to ensure Matomo 4 runs correctly with the plugin removed (completely)
Note: There are still a lot hard requirements for CustomVariables in core. I will try to remove them if they are not needed or move them to the new plugin repo step by step until the tests are running again.
@tsteur Shall we move the custom variables part of
piwik.js
to the plugin as well? Or should that remain in core?This PR needs to be reviewed together with #16104
refs #11524