This guide will walk you through the steps required to update the Tiki diagram version in Tiki. Follow these instructions carefully to ensure a smooth update process.
To use Tiki Diagram you need first to go to Control Panel > Advanced > Packages and install the Tiki diagram package from the list, before activating the wikiplugin_diagram.
The mirroring process is handled by the package wiki-builder https://gitlab.com/tikiwiki/tikiwiki-diagram-builder , and TikiBot manages this process by automatically updating the Diagram https://gitlab.com/tikiwiki/diagram to the latest version, so no manual intervention is needed.
Before updating to a new version of tiki/diagram, test its integration with Tiki. If the integration doesn’t work well, you may need to make manual code changes to fix bugs.
Tiki packages are obtained from two servers:
Ensure that your desired package version is present on the canonical server (https://composer.tiki.org). For this you need to:
https://gitlab.com/tikiwiki/tiki/-/blob/master/doc/devtools/satis.json
After the MR is merged, the package will become available on https://composer.tiki.org.
Once the package is available, update the package version in:
lib/core/Tiki/Package/ComposerPackages.yml
You have to test the package locally before pushing it to GitLab and for that, you need to:
"canonical": true
from:
vendor_bundled/composer.json
"url": "https://composer.tiki.org"
with:
"url": "https://asset-packagist.org"
Test the diagram functionalities, If you find the package version is well integrated in tiki, you can create the MR with the version update.
By following these steps, you can successfully update the Tiki diagram version in Tiki.