Skip to content

Work across several plugin repositories

How to work on several plugin repositories at once. No project uses git submodules; plugins are copies or links, and the originals live in their own repositories. This page describes the manual way; the internal EasyCLI can automate it.

Example: you want the platform with:

  1. Modification plugin modification_easy
  2. RYS plugin easy_risk_management

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 plugins

Link the plugin into the platform:

ln -s "$(pwd)/external_plugins/modification_easy" APP_ROOT/plugins/easyproject/easy_plugins/modification_easy

Optionally hide it from git status by adding this line to APP_ROOT/.git/info/exclude:

plugins/easyproject/easy_plugins/modification_easy

RYS plugins

A RYS is a gem, so Bundler manages it. Add it to Gemfile.local with the path option, or point Bundler at the local copy:

bundle config local.easy_risk_management external_plugins/easy_risk_management
bundle install