summaryrefslogtreecommitdiff
path: root/buildstream/_options/optionflags.py
Commit message (Collapse)AuthorAgeFilesLines
* Remove shebangs from python filesGökçen Nurlu2018-06-191-1/+0
| | | | Fixes #424
* _options: Support transform function for variable substitutionJürg Billeter2018-02-081-1/+3
|
* Refactoring: Move exceptions module to be privateTristan Van Berkom2017-11-061-1/+1
| | | | Hide all of buildstream's internal exceptions from the API surface.
* _options: Options can now be exported to variables in string formTristan Van Berkom2017-10-141-0/+3
| | | | | | | | | | 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 implementation, core project options moduleTristan Van Berkom2017-10-081-0/+82
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.