Skip to content

Managing Changes Across Multiple Plugins

This section is about a situation when you need to change multiple plugins from multiple repositories (currently no project is using git submodules).

At the same time, these plugins can be copied/attached to your repository. However, they are just copies, the originals are somewhere else.

This page describes the manual way of how to do this. You can also use EasyCLI to make this easier, but it's important to know how it works.

For example:

You want the platform with:

  1. Modification plugin modification_easy
  2. RYS plugin easy_risk_management

First, you must clone everything:

# Platform
git clone PLATFORM apps/platform

# Plugins
git clone MODIFICATION_EASY external_plugins/modification_easy
git clone EASY_RISK_MANAGEMENT external_plugins/easy_risk_management

Easy Modification plugins

Link the new ones
ln -s external_plugins/modification_easy APP_ROOT/plugins/easyproject/easy_plugins
Remove from git status (optional)
# APP_ROOT/.git/info/exclude

APP_ROOT/plugins/easyproject/easy_plugins/modification_easy

RYS plugins

Since a RYS is a gem and gem dependencies are managed by a bundler, all you need to do is add it to your Gemfile.local using a path option or:

bundle config local.easy_wbs external_plugins/easy_wbs
bundle install