Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Switch old-style string formattings to new '.format()' | Gökçen Nurlu | 2017-11-17 | 1 | -2/+2 |
| | |||||
* | Make node_get_member pass default values as positional args | Jonathan Maw | 2017-11-14 | 1 | -2/+2 |
| | | | | | It is functionally similar to dict.get() and fulfills the same role, so it should be used that way. | ||||
* | buildelement.py: Fixed doc string link.exceptions-refactor | Tristan Van Berkom | 2017-11-06 | 1 | -1/+1 |
| | |||||
* | buildelement.py: Issue #121 - Remove traces of pre-/post- commands | Tristan Van Berkom | 2017-11-06 | 1 | -34/+29 |
| | |||||
* | Add warnings when staging to /buildstream/build74-prevent-artifacts-from-containing-files-in-buildstream-build | Tristan Maat | 2017-10-19 | 1 | -0/+13 |
| | |||||
* | Add element plugin node validations | Tristan Maat | 2017-09-14 | 1 | -4/+8 |
| | |||||
* | buildelement.py: Log commands run by source-bundle scripts | Sam Thursfield | 2017-07-05 | 1 | -1/+1 |
| | | | | | | | | | | | | This makes the log output more useful, as you see output like this for each command that is run + ./configure --prefix=/usr ...configure output... + make ...make output... etc. | ||||
* | Fix accidental permission changes | Tristan Maat | 2017-06-28 | 1 | -0/+0 |
| | |||||
* | buildelement.py: Implement generate_script | Tristan Maat | 2017-06-28 | 1 | -0/+12 |
| | |||||
* | buildelement.py: Adapt to Element and Sandbox API churn | Tristan Van Berkom | 2017-06-12 | 1 | -19/+19 |
| | |||||
* | buildelement.py: Dont silence integration command messages | Tristan Van Berkom | 2017-05-21 | 1 | -1/+1 |
| | | | | This are nice to see, however need to be improved (see issue #34) | ||||
* | buildelement.py: Support for `command-subdir` var + docs | Tristan Van Berkom | 2017-05-15 | 1 | -11/+93 |
| | | | | | | | Documented the operations of how BuildElement works in general as this was missing, also restructured the assemble() method to not hard code the /buildstream/build and /buildstream/install paths now that we have Element.get_variable() | ||||
* | element.py: Added stage_dependencies() convenience function. | Tristan Van Berkom | 2017-03-15 | 1 | -2/+1 |
| | | | | | | | | | | | | This iterates over the elements dependencies and stages them somewhere in a sandbox. This is especially interesting because of the added warnings it gives you about the file overlaps and ignored files which would otherwise overwrite non-empty directories. Also updated build and compose elements to use this in place of manually looping. | ||||
* | buildelement.py: Adapt to cleaned up sandbox API | Tristan Van Berkom | 2017-03-08 | 1 | -10/+10 |
| | |||||
* | buildelement.py: Use read-only root when running build commands | Tristan Van Berkom | 2017-02-24 | 1 | -0/+4 |
| | |||||
* | buildelement.py: Better output | Tristan Van Berkom | 2017-02-24 | 1 | -2/+5 |
| | | | | | Only time one category of command at a time, and status messages for each command in a group. | ||||
* | buildelement.py: Timed activity for staging dependencies and running integration | Tristan Van Berkom | 2017-02-23 | 1 | -4/+6 |
| | |||||
* | build-element.bst: Append newline to build commands run in sandbox | Tristan Van Berkom | 2017-02-23 | 1 | -1/+1 |
| | | | | | | They are loaded with stripped whitespace, but when launching the command sometimes having a newline can make a difference (especially when doing cat > file << EOF ... EOF, the final EOF must have a newline) | ||||
* | buildelement.py: Explicitly consider 'notparallel' in cache key resolution | Tristan Van Berkom | 2017-02-22 | 1 | -0/+8 |
| | | | | Only really applies to build elements. | ||||
* | buildelement.py: Run the shell with 'sh', and pass -e | Tristan Van Berkom | 2017-02-22 | 1 | -1/+5 |
| | |||||
* | buildelement.py: Ensure build & install dirs exist | Tristan Van Berkom | 2017-02-21 | 1 | -5/+7 |
| | | | | | | We were not creating the install directory, and it happened that most elements dont require it already exist, untill we met e2fsprogs.bst :) | ||||
* | buildelement.py: Use 'sh' instead of '/bin/sh' for running shell scripts | Tristan Van Berkom | 2017-02-03 | 1 | -1/+1 |
| | | | | Matches ybd more closely, but probably doesnt make much difference. | ||||
* | buildelement: Ensure build directory exists | Tristan Van Berkom | 2017-02-03 | 1 | -0/+7 |
| | |||||
* | buildelement.py: Run Element.integrate() on all staged dependencies. | Tristan Van Berkom | 2017-01-25 | 1 | -0/+5 |
| | | | | | Ensure that caches are updated and system is runnable before running any shell commands. | ||||
* | buildelement.py: Implement assemble() | Tristan Van Berkom | 2017-01-18 | 1 | -1/+28 |
| | | | | | This class implements the running of commands for all of the subtype plugins which derive it (manual, autotools, cmake, ...) | ||||
* | buildelement.py: No need to report a sorted unique key | Tristan Van Berkom | 2017-01-09 | 1 | -1/+1 |
| | | | | The core will sort it for us. | ||||
* | buildelement.py: Use a sorted dict and not an ordered one. | Tristan Van Berkom | 2017-01-09 | 1 | -4/+2 |
| | | | | | | | | | | This change causes cache keys to be stable (without this they are different every time due to some random order). The input of the element does not change if you specify the install commands before the build commands, and in any case I dont think we can rely on knowing the order dict members were specified in a yaml file. | ||||
* | buildelement.py: Use new node accessor utilities with variable substitution | Tristan Van Berkom | 2017-01-07 | 1 | -3/+2 |
| | |||||
* | Adding new built-in BuildElement | Tristan Van Berkom | 2016-12-31 | 1 | -0/+70 |
This abstraction allows easily implementing various subclasses by just installing a config file for their defaults. It's handy to have it in the core so that one can easily subclass it in custom plugins. |