Skip to content
Snippets Groups Projects

Change strategy for modules registration to the ModuleRepository

Merged Stéphane Del Pino requested to merge feature/pluggins into develop
Compare changes
  • Side-by-side
  • Inline
Files
7
  • 16dc7bcf
    Add plugin loading mechanism · 16dc7bcf
    Stéphane Del Pino authored
    Plugins are loaded through environment variables. Two environment
    variables are read: PUGS_PLUGIN and PUGS_PLUGIN_DIR
    
    - PUGS_PLUGIN is a string literal that contains the filename of the
    dynamic library that contains plugins. One can provide multiple
    filename using semicolumn separators.
      ex. PUGS_PLUGIN="/path/to/my/libplugin1.so;/anotherpath/to/another/libplugin2.so"
    
    - PUGS_PLUGIN_DIR is a string literal that contains directory path
    where plugins (dynamic libraries) are.  One can provide multiple path
    using semicolumn separators. All the dynamic libraries present at the
    locations are loaded!
      ex. PUGS_PLUGIN="/path/to/a/plugin/list/;/anotherpath/to/another/plugin/list/"
Loading