-
- Downloads
source.py, element.py, _pipeline.py: Streamling preflighting.
Instead of having the pipeline preflight all sources separately from elements, have the element preflight it's sources. This is in order to simplify the shared code path for the pipeline and the loader to use for instantiating elements. Also updated tests to expect the new ElementError and SourceError instead of the PipelineError which was raised for preflighting before.
parent
7c2a43d1
No related branches found
No related tags found
Showing
- buildstream/_pipeline.py 2 additions, 11 deletionsbuildstream/_pipeline.py
- buildstream/element.py 11 additions, 2 deletionsbuildstream/element.py
- buildstream/source.py 9 additions, 0 deletionsbuildstream/source.py
- tests/pipeline/preflight.py 1 addition, 1 deletiontests/pipeline/preflight.py
- tests/plugins/filter.py 4 additions, 4 deletionstests/plugins/filter.py
- tests/sources/local.py 1 addition, 1 deletiontests/sources/local.py
- tests/sources/patch.py 2 additions, 2 deletionstests/sources/patch.py
Loading
Please register or sign in to comment