Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | _variables.py: Fix lint issue in `find_recursive_variable` | Daniel Silverstone | 2018-10-25 | 1 | -2/+2 |
| | | | | | | | | The python `for`/`else` construct only makes sense if the `for` loop body has a `break` statement. Otherwise the use of `else` causes pylint to raise an error. Signed-off-by: Daniel Silverstone <daniel.silverstone@codethink.co.uk> | ||||
* | Add cyclic check within variable resolution | Josh Smith | 2018-08-29 | 1 | -4/+28 |
| | | | | | This aims to address #600, this will raise an exception when a resolved variable contains a reference to the variable. | ||||
* | Remove shebangs from python files | Gökçen Nurlu | 2018-06-19 | 1 | -1/+0 |
| | | | | Fixes #424 | ||||
* | Fix provenance in error message for undefined variables. | Valentin David | 2018-05-06 | 1 | -1/+1 |
| | |||||
* | _variables.py: Adhere to policy on private symbols | Tristan Van Berkom | 2018-04-04 | 1 | -10/+10 |
| | | | | This is a part of issue #285 | ||||
* | pylint - dealt with len-as-condition warning | James Ennis | 2018-03-14 | 1 | -1/+1 |
| | |||||
* | _yaml.py: Prevent ruamel from removing underscores | Phillip Smyth | 2018-02-15 | 1 | -1/+2 |
| | | | | | | | | | | The ruamel parser interprets values such as 1_2_3 as numbers, ignoring the underscores. However, for `track` we need the value as a verbatim string. This change configures ruamel to parse all values as strings, leaving potential conversions to node_get() with the `expected_type` parameter. This fixes #166 and adds tests | ||||
* | Switch old-style string formattings to new '.format()' | Gökçen Nurlu | 2017-11-17 | 1 | -1/+1 |
| | |||||
* | Refactoring: Move exceptions module to be private | Tristan Van Berkom | 2017-11-06 | 1 | -1/+1 |
| | | | | Hide all of buildstream's internal exceptions from the API surface. | ||||
* | Use _yaml.node_items() across the board, instead of casing _yaml.PROVENANCE_KEY | Tristan Van Berkom | 2017-10-01 | 1 | -7/+3 |
| | | | | | Consequently improved _yaml.node_sanitize() to omit a crazy lambda which had no effect at all on the outcome of the function. | ||||
* | Fixing permissions, some random python files became executable | Tristan Van Berkom | 2017-03-06 | 1 | -0/+0 |
| | |||||
* | _variables.py: Special case to set max-jobs to 1 if notparallel was specified | Tristan Van Berkom | 2017-02-22 | 1 | -0/+6 |
| | |||||
* | Remove apostrophes from grammatically incorrect instances of "it's" | Paul Sherwood | 2017-02-11 | 1 | -1/+1 |
| | |||||
* | _variables.py: Fix variable resolution to convert to strings | Tristan Van Berkom | 2017-01-27 | 1 | -0/+3 |
| | | | | | Not stringish values in variable resolution were not being converted to strings automatically. | ||||
* | _variables.py: A new helper object for variable contexts | Tristan Van Berkom | 2017-01-06 | 1 | -0/+170 |
A helper object for resolving a loaded and composited dictionary of variables so that variable values themselves are expanded and errors properly detected. Object provides a subst() method allowing strings to be substituted with the variable context. |