Add ability to install 3rd party plugins

Depending on the situation, a user might have third party plugins that
are needed for their XO setup. We're using a mysql auth plugin, but
github has a handful of other third party plugins.

Added: config setting ADDITIONAL_PLUGINS to specify git repo URLs.
Added: InstallAdditionalXOPlugins function to download/update these
       repos and add them to the XO source tree before building.
This commit is contained in:
Andreas Thienemann
2021-06-28 22:28:41 +02:00
parent 780d8bd280
commit c7a90a2de0
2 changed files with 46 additions and 0 deletions

View File

@@ -28,6 +28,9 @@ BRANCH="master"
# (default) all plugins will be installed
PLUGINS="all"
# Additional 3rd-party plugins to fetch
#ADDITIONAL_PLUGINS="https://github.com/user/repo.git,https://github.com/user/repo2.git"
# NodeJS and Yarn are automatically updated when running update/install. Can be disabled but not recommended (installation might fail because of too old node.js or yarn)
# Note that if nodejs is updated when script's update feature is used, it might not be possible to use rollback option anymore without manually downgrading nodejs version to previous one
AUTOUPDATE="true"