Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | man: Updated man pages for new `--max-jobs` CLI optiontristan/config-max-jobs | Tristan Van Berkom | 2019-07-15 | 22 | -67/+70 |
| | |||||
* | tests/frontend/show.py: Test proper resolution of max-jobs | Tristan Van Berkom | 2019-07-15 | 1 | -0/+51 |
| | | | | | | | | This tests that the resolution of the `max-jobs` automatic variable is properly controlled by the new user configuration and command line option, including the default automatic '0' value. Regression test for #1033 | ||||
* | _project.py: Use the user specified max-jobs | Tristan Van Berkom | 2019-07-15 | 1 | -2/+7 |
| | | | | | | | Only use automatic max-jobs by default if the user has not requested a specific value for max-jobs. This is a part of #1033 | ||||
* | _frontend: Added toplevel `--max-jobs` configuration | Tristan Van Berkom | 2019-07-15 | 3 | -0/+4 |
| | | | | | | | | | | | | | | | | While this is currently only relevant for `bst build`, it is a current implementation detail that user configuration which gets overridden by command line options must use toplevel options. This patch allows invocations such as the following to override the max-jobs: bst --max-jobs 16 build target.bst This also updates the completions test to expect the new toplevel option. This is a part of #1033 | ||||
* | _context.py: Added max-jobs configuration | Tristan Van Berkom | 2019-07-15 | 2 | -1/+23 |
| | | | | | | | | This loads the configuration of the max-jobs variable from the user configuration, where the default is 0 (meaning use the maximum number of cores with a limit of 8). This is a part of #1033 | ||||
* | Merge branch 'chandan/fix-fuse-check' into 'master' | bst-marge-bot | 2019-07-15 | 1 | -1/+6 |
|\ | | | | | | | | | | | | | sandbox/_sandboxbwrap.py: Fix fuse import issue Closes #1081 See merge request BuildStream/buildstream!1475 | ||||
| * | sandbox/_sandboxbwrap.py: Fix fuse import issuechandan/fix-fuse-check | Chandan Singh | 2019-07-14 | 1 | -1/+6 |
|/ | | | | | | | This will fix an issue where BuildStream currently throws an exception when running on Linux without fuse. Fixes #1081. | ||||
* | Merge branch 'raoul/994-further-re-testing' into 'master' | bst-marge-bot | 2019-07-12 | 12 | -0/+369 |
|\ | | | | | | | | | | | | | Further RE testing Closes #994 See merge request BuildStream/buildstream!1452 | ||||
| * | tests: Add RE test for builds that fail | Raoul Hidalgo Charman | 2019-07-12 | 1 | -0/+75 |
| | | | | | | | | Part of #994 | ||||
| * | Fix scriptelement to set output directory | Raoul Hidalgo Charman | 2019-07-12 | 1 | -0/+3 |
| | | | | | | | | | | This is important for sandboxremote which uses this to process the job outputs after a remote build. | ||||
| * | tests: pulling buildtrees in remote execution | Raoul Hidalgo Charman | 2019-07-12 | 3 | -0/+105 |
| | | | | | | | | Part of #994 | ||||
| * | tests: Add remote execution junction test | Raoul Hidalgo Charman | 2019-07-12 | 7 | -0/+186 |
|/ | | | | Part of #994 | ||||
* | Merge branch 'traveltissues/cache-key-changes' into 'master' | bst-marge-bot | 2019-07-12 | 29 | -37/+34 |
|\ | | | | | | | | | element.py: changes to __cache_key_dict See merge request BuildStream/buildstream!1466 | ||||
| * | element.py: change cache key dict fieldstraveltissues/cache-key-changes | Darius Makovsky | 2019-07-12 | 29 | -37/+34 |
|/ | | | | relates to #1073 | ||||
* | Merge branch 'willsalmon/platformRefactor' into 'master' | bst-marge-bot | 2019-07-12 | 25 | -214/+585 |
|\ | | | | | | | | | Refactor Platform and Sandboxes See merge request BuildStream/buildstream!1429 | ||||
| * | test for BST_FORCE_SANDBOX and BST_FORCE_BACKENDwillsalmon/platformRefactor | William Salmon | 2019-07-12 | 7 | -0/+231 |
| | | |||||
| * | Refactor of Platform and Sandbox | William Salmon | 2019-07-12 | 18 | -214/+354 |
|/ | |||||
* | Merge branch 'raoul/1043-disabling-blob-fetching' into 'master' | bst-marge-bot | 2019-07-11 | 5 | -12/+43 |
|\ | | | | | | | | | | | | | Configuration option for disabling blob fetching with RE Closes #1043 See merge request BuildStream/buildstream!1402 | ||||
| * | doc/source/using_config.rst: Add pull-artifact-files option | Raoul Hidalgo Charman | 2019-07-11 | 1 | -2/+6 |
| | | | | | | | | Part of #1043 | ||||
| * | tests/remoteexecution/partial.py: Parametrize for pull artifact files | Raoul Hidalgo Charman | 2019-07-11 | 1 | -5/+12 |
| | | | | | | | | Part of #1043 | ||||
| * | Add pull-artifact-files configuration option for remote execution | Raoul Hidalgo Charman | 2019-07-11 | 2 | -3/+21 |
| | | | | | | | | | | | | | | This decides whether to fetch the file blobs of remote execution built artifacts. Part of #1043 | ||||
| * | _stream.py: Use build_all to determine required artifact files with RE | Raoul Hidalgo Charman | 2019-07-11 | 1 | -1/+3 |
| | | | | | | | | Part of #1043 | ||||
| * | element.py: Add scope to _set_artifact_files_required | Raoul Hidalgo Charman | 2019-07-11 | 1 | -3/+3 |
|/ | | | | Part of #1043 | ||||
* | Merge branch 'tristan/exit-on-nonblock-terminal' into 'master' | bst-marge-bot | 2019-07-10 | 1 | -0/+12 |
|\ | | | | | | | | | | | | | _frontend/cli.py: Exit with error if output streams are set to nonblocking Closes #929 See merge request BuildStream/buildstream!1411 | ||||
| * | _frontend/cli.py: Exit with error if output streams are set to nonblocking | Tristan Van Berkom | 2019-07-10 | 1 | -0/+12 |
|/ | | | | | | | This is better than raising a stack trace later on when logging gets intense with a BlockingIOError. This fixes #929 | ||||
* | Merge branch 'aevri/vulture' into 'master' | bst-marge-bot | 2019-07-09 | 13 | -139/+21 |
|\ | | | | | | | | | Remove some unused code See merge request BuildStream/buildstream!1455 | ||||
| * | Option: rm unused self.description | Angelos Evripiotis | 2019-07-09 | 1 | -2/+5 |
| | | |||||
| * | _casbaseddirectory: rm unused methods | Angelos Evripiotis | 2019-07-09 | 1 | -26/+0 |
| | | |||||
| * | _casbaseddirectory: fix '_mark_changed' spelling | Angelos Evripiotis | 2019-07-09 | 1 | -1/+1 |
| | | | | | | | | | | Override the base-class method '_mark_changed', instead of declaring a new unused method that only raises NotImplementedError. | ||||
| * | _casbaseddirectory: rm unused exception classes | Angelos Evripiotis | 2019-07-09 | 1 | -29/+0 |
| | | |||||
| * | source: rm unused _cache(), __source_cache | Angelos Evripiotis | 2019-07-09 | 1 | -6/+0 |
| | | |||||
| * | element: rm unused __tracking_done | Angelos Evripiotis | 2019-07-09 | 1 | -2/+0 |
| | | |||||
| * | _stream: rm unused _collect_sources() | Angelos Evripiotis | 2019-07-09 | 1 | -11/+0 |
| | | |||||
| * | _sourcecache: rm unused required_sources | Angelos Evripiotis | 2019-07-09 | 1 | -12/+0 |
| | | |||||
| * | scheduler: rm unused _exclusive_* members | Angelos Evripiotis | 2019-07-09 | 1 | -9/+0 |
| | | | | | | | | The {,un}register_exclusive_interest() mechanism is used for this now. | ||||
| * | _plugincontext: rm unused self._dependencies | Angelos Evripiotis | 2019-07-09 | 1 | -3/+3 |
| | | | | | | | | Also document the pre-existing format_versions parameter. | ||||
| * | _plugincontext: simplify if statement | Angelos Evripiotis | 2019-07-09 | 1 | -3/+4 |
| | | | | | | | | | | Add shortened local vars to make this statement easier to read and fit onto one line. | ||||
| * | _loader/loadelement: rm unused 'deps' member | Angelos Evripiotis | 2019-07-09 | 1 | -1/+0 |
| | | |||||
| * | _frontend: rm unused _line_length and Space widget | Angelos Evripiotis | 2019-07-09 | 2 | -10/+0 |
| | | |||||
| * | _exceptions: rm unused OSTREE ErrorDomain entry | Angelos Evripiotis | 2019-07-09 | 1 | -9/+8 |
| | | |||||
| * | cascache: rm unused link_ref(), available_space | Angelos Evripiotis | 2019-07-09 | 1 | -15/+0 |
|/ | |||||
* | Merge branch 'jonathan/frontend-separation' into 'master' | bst-marge-bot | 2019-07-09 | 13 | -155/+548 |
|\ | | | | | | | | | Separate frontend state handling from core state See merge request BuildStream/buildstream!1409 | ||||
| * | Store core state for the frontend separately | Jonathan Maw | 2019-07-09 | 12 | -143/+503 |
| | | |||||
| * | Pipeline: Add a helper for adding lists of elements together | Jonathan Maw | 2019-07-09 | 2 | -1/+18 |
| | | | | | | | | | | | | | | Lists of elements should never contain duplicate elements. This commit also uses the helper to calculate the list of elements when pulling missing elements in `bst shell` | ||||
| * | Stream: Fix the existence of duplicate queues | Jonathan Maw | 2019-07-09 | 2 | -8/+24 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It was possible for multiple Queues of the same type to exist. Currently, there is no desired reason for this to happen. These changes add an explicit function call to the Scheduler that destroys the queues, to be used before constructing the next list of queues to pass into the Scheduler. It also calls this in all the places before we construct the queues. Further, it alters Stream.fetch_subprojects because there is currently no reason why we'd want to preserve the Stream's list of queues before running. | ||||
| * | Queue: Make queues store counts of the number of skipped/processed elements | Jonathan Maw | 2019-07-09 | 3 | -15/+15 |
|/ | | | | | | | | We only seen to generate the list so we can get its length, so it is more efficient to only store a count of skipped/processed elements. failed_elements needs to remain a list for the moment, as it's used to retry a failed element job. | ||||
* | Merge branch 'aevri/rm_artifacts' into 'master' | bst-marge-bot | 2019-07-09 | 1 | -1/+0 |
|\ | | | | | | | | | _artifact: rm unused _artifacts member See merge request BuildStream/buildstream!1454 | ||||
| * | _artifact: rm unused _artifacts memberaevri/rm_artifacts | Angelos Evripiotis | 2019-07-09 | 1 | -1/+0 |
|/ | |||||
* | Merge branch 'aevri/win32_tempfilename' into 'master' | bst-marge-bot | 2019-07-09 | 2 | -6/+65 |
|\ | | | | | | | | | _artifact: use win32-compatible named temp file See merge request BuildStream/buildstream!1440 | ||||
| * | _artifact.py: use utils._tempnamedfile_name | Angelos Evripiotis | 2019-07-09 | 1 | -4/+3 |
| | | | | | | | | | | We are only using the filename of the temporary file here, so use the wrapper for this use-case. |