Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Shotgun plugin manager #26

Open
wants to merge 33 commits into
base: master
Choose a base branch
from
Open

Conversation

digisteph
Copy link

Hello,
I modified the code to be able to control plugins from a Shotgun entity. This is done through a plugin added in the plugins folder, as I didn't want to change things a lot in the main shotgunEventDaemon.py code. It should still work as before, actually the pluginManager plugin is loaded with the 'standard' mechanism.

The main changes are

  • Allow to run without a smtp server, which is handy when doing tests.
  • Allow plugins to read settings from the main configuration file.
  • Exposed some of the Engine functionalities to plugins and callbacks through Engine methods.
  • Tried to made sure iterating over plugins is safe, even if the list is changed.
  • Added a 'autoDiscover' setting to PluginCollection to disable automatic loading of new scripts.
  • Added some debug print to understand why some events are ignored.

Happy to contribute and hope my changes are useful !

Stéphane Deverly and others added 30 commits November 30, 2012 14:14
added ability for plugins to access config file with their name
revival / retirement seems to work
still need to check script_path change CB
able to handle script path changes
added script check in init
added ignore_projects field to plugins
fixed bug when script path is empty
added a README to explain what the extra stuff is about
added ablitiy to run shotgunEventDaemon.py on a single event
added small utils to dump out the id file contents
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant