Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | _plugincontext.py: Fix third party plugin loadingexternal_plugin_errors | Tristan Maat | 2017-10-12 | 1 | -15/+28 |
| | |||||
* | Add loaded plugins to log | Tristan Maat | 2017-09-14 | 1 | -1/+6 |
| | |||||
* | Add support for YAML default config loading | Tristan Maat | 2017-09-14 | 1 | -3/+17 |
| | |||||
* | _plugincontext.py: Add support for pip-installed plugins | Tristan Maat | 2017-09-14 | 1 | -5/+42 |
| | |||||
* | _plugincontext.py: Added some new assertions | Tristan Van Berkom | 2017-08-30 | 1 | -21/+43 |
| | | | | | | | | | | | | | | | | Added assertions: o Bail out with a PluginError instead of an ImportError in the case that PluginSource.load_plugin() fails to import the plugin. o Assert that the running buildstream version is new enough for any loaded plugin, otherwise bail out with a PluginError. Also changed all string formatting here to be consistent with the rest of buildstream and use "{}".format("foo") instead of "%s" % "foo". | ||||
* | _plugincontext.py: Load plugins on demand | Tristan Van Berkom | 2017-08-29 | 1 | -13/+13 |
| | | | | This fixes issue #79 | ||||
* | Fixing permissions, some random python files became executable | Tristan Van Berkom | 2017-03-06 | 1 | -0/+0 |
| | |||||
* | Remove apostrophes from grammatically incorrect instances of "it's" | Paul Sherwood | 2017-02-11 | 1 | -0/+0 |
| | |||||
* | _plugincontext.py: Removing print trace statements | Tristan Van Berkom | 2016-12-31 | 1 | -3/+0 |
| | | | | | This should be done optionally as a summary of loaded plugins in a verbose setting. | ||||
* | _plugincontext.py: Unwrap some needlessly wrapped lines | Tristan Van Berkom | 2016-12-10 | 1 | -28/+19 |
| | |||||
* | pep8 fixes in _plugincontext.py | Tristan Van Berkom | 2016-12-10 | 1 | -24/+37 |
| | |||||
* | Principle of least underscores | Tristan Van Berkom | 2016-11-15 | 1 | -1/+1 |
| | | | | | | | | | PluginContext, ElementFactory and SourceFactory reside in entirely private modules, as such they do not need a leading underscore to indicate that they are private. This makes the code nicer to read without causing private things to be considered public. | ||||
* | _plugincontext.py: Raise PluginError when plugin setup is not a function | Tristan Van Berkom | 2016-11-13 | 1 | -1/+4 |
| | |||||
* | _plugincontext.py: Raise PluginError when plugin fails to provide setup() | Tristan Van Berkom | 2016-11-13 | 1 | -2/+6 |
| | |||||
* | _plugincontext.py: Improve exception reporting strings | Tristan Van Berkom | 2016-11-13 | 1 | -4/+4 |
| | |||||
* | _plugincontext.py: Raise PluginError for two plugins with the same name | Tristan Van Berkom | 2016-11-13 | 1 | -0/+28 |
| | |||||
* | Split up factory objects and base data model objects. | Tristan Van Berkom | 2016-11-12 | 1 | -0/+94 |
Better to have a separate file for each class clearly addressing it's purpose with it's filename. Source base data model -> source.py SourceFactory -> _sourcefactory.py Element base data model -> element.py ElementFactory -> _elementfactory.py Also moved the _plugin.py to _plugincontext.py, since the object is infact _PluginContext, lets follow this rule all around for code clarity. |