Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add support for include '(@)' in project.conf and .bst files | Valentin David | 2018-08-03 | 1 | -5/+8 |
| | | | | Fixes #331. | ||||
* | Remove shebangs from python files | Gökçen Nurlu | 2018-06-19 | 8 | -8/+0 |
| | | | | Fixes #424 | ||||
* | buildstream/_options/optionpool.py: Fixing unused variables | Tristan Van Berkom | 2018-04-19 | 1 | -3/+5 |
| | |||||
* | Allow 'None' as a default_value for _yaml.node_get | Tristan Maat | 2018-04-07 | 2 | -4/+4 |
| | |||||
* | _options/option.py: Assert valid symbol names for variable exports | Tristan Van Berkom | 2018-04-06 | 1 | -0/+5 |
| | |||||
* | _options/optionpool.py: Assert valid symbol names for option names. | Tristan Van Berkom | 2018-04-06 | 1 | -1/+5 |
| | | | | These must be alphanumeric and may not contain dashes. | ||||
* | _options package: Adhere to policy on private symbols | Tristan Van Berkom | 2018-04-05 | 1 | -46/+80 |
| | | | | | | | | This also adds a couple of methods to OptionPool to avoid exposing some internals to other parts of the codebase, and calls those new methods from _project.py and _frontend/widget.py This is a part of issue #285 | ||||
* | pylint - dealt with import warnings | James Ennis | 2018-03-14 | 1 | -1/+2 |
| | |||||
* | _options: Support transform function for variable substitution | Jürg Billeter | 2018-02-08 | 5 | -7/+15 |
| | |||||
* | Remove unused imports | Gökçen Nurlu | 2017-12-07 | 2 | -2/+0 |
| | |||||
* | Issue #142: Ensure we don't append provenances twice | Tristan Maat | 2017-11-30 | 1 | -2/+9 |
| | |||||
* | _options/optionpool.py: Split load_values | Jürg Billeter | 2017-11-30 | 1 | -5/+12 |
| | | | | | Split load_values into load_yaml_values and load_cli_values to allow independent loading from multiple YAML nodes. | ||||
* | Switch old-style string formattings to new '.format()' | Gökçen Nurlu | 2017-11-17 | 1 | -1/+1 |
| | |||||
* | Refactor, remove some unused imports138-aborting-bst-push-command-causes-stack-trace | Angelos Evripiotis | 2017-11-13 | 1 | -1/+0 |
| | | | | | | | When reading element.py, I was surprised that it was importing 'inspect'. Remove that import and some other unused ones to improve readability. | ||||
* | Refactoring: Move exceptions module to be private | Tristan Van Berkom | 2017-11-06 | 4 | -4/+4 |
| | | | | Hide all of buildstream's internal exceptions from the API surface. | ||||
* | _options/optionpool.py: Be strict with evaluation of undefined variables. | Tristan Van Berkom | 2017-10-23 | 1 | -3/+7 |
| | | | | And also ensure that expression errors are reported with provenance. | ||||
* | _options/optionpool.py: Use _yaml.composite() instead of _yaml.composite_dict() | Tristan Van Berkom | 2017-10-17 | 1 | -1/+1 |
| | | | | We want the one which provides a nice LoadError | ||||
* | _options: Options can now be exported to variables in string form | Tristan Van Berkom | 2017-10-14 | 4 | -1/+28 |
| | | | | | | | | | | This patch adds a `variable` attribute to all option definitions, which if specified, can be used to override and declare variable at the project.conf level. A new `get_value()` method was added allowing implementations to create a string for the value of the option - main subclasses updated to support the string conversion with `get_value()` | ||||
* | _options/optionpool.py: Implement the (!) assertion directive | Tristan Van Berkom | 2017-10-11 | 1 | -2/+11 |
| | | | | | | These are processed inline with conditionals and before each iteration of conditional processing, ensuring that we always trigger the first assertion ever composited. | ||||
* | _options: OptionPool implementation, core project options module | Tristan Van Berkom | 2017-10-08 | 8 | -0/+649 |
This sub package includes the OptionPool which is the buildstream facing API for handling project options, loading them, evaluating expressions based on options and pre-processing loaded YAML. This also includes an abstract Option class and an implementation for each supported option type. |