Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | wiptraveltissues/1176 | Darius Makovsky | 2019-10-22 | 1 | -0/+1 |
| | |||||
* | WIP! | Darius Makovsky | 2019-10-21 | 1 | -355/+1 |
| | |||||
* | cascache.py: instantiate usage monitor early | Darius Makovsky | 2019-10-21 | 2 | -8/+9 |
| | | | | tests: manually close channels when interacting with the cache | ||||
* | Merge branch 'aevri/enable_spawn_ci_2' into 'master' | bst-marge-bot | 2019-10-21 | 2 | -7/+22 |
|\ | | | | | | | | | jobpickler: also pickle Digest protos See merge request BuildStream/buildstream!1652 | ||||
| * | gitlab: spawn tests, enable internals, sourcecacheaevri/enable_spawn_ci_2 | Angelos Evripiotis | 2019-10-21 | 1 | -1/+1 |
| | | | | | | | | Now that more tests are passing, enable them. | ||||
| * | jobpickler: also pickle DigestProto | Angelos Evripiotis | 2019-10-21 | 1 | -6/+21 |
|/ | | | | | This is now required by some code paths. Also make a generic routine for pickling / unpickling, as we may be doing more of this. | ||||
* | Merge branch 'aevri/enable_spawn_ci' into 'master' | bst-marge-bot | 2019-10-18 | 4 | -10/+61 |
|\ | | | | | | | | | Enable a subset of `tests-spawn-multiprocessing-start-method` See merge request BuildStream/buildstream!1650 | ||||
| * | .gitlab-ci.yml: disable most spawn testsaevri/enable_spawn_ci | Angelos Evripiotis | 2019-10-18 | 1 | -0/+6 |
| | | |||||
| * | cli: BST_FORCE_START_METHOD only sets if necessary | Angelos Evripiotis | 2019-10-18 | 1 | -10/+39 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | Allow situations where the start method is already set, this enables us to use this in testing situations. Also, print a diagnostic if it's already set to something we didn't want. Now this block got more complex, split out into a new function. Now we're using this string a lot, extract it to a variable, to make sure we're spelling it correctly everywhere. | ||||
| * | tests/conftest: implement BST_FORCE_START_METHOD | Angelos Evripiotis | 2019-10-18 | 1 | -0/+15 |
| | | |||||
| * | tox.ini: pass through BST_FORCE_START_METHOD | Angelos Evripiotis | 2019-10-18 | 1 | -0/+1 |
|/ | | | | Otherwise we won't actually be testing the spawn code path. | ||||
* | Merge branch 'traveltissues/fix' into 'master' | bst-marge-bot | 2019-10-18 | 1 | -3/+0 |
|\ | | | | | | | | | element.py: remove unused variable See merge request BuildStream/buildstream!1658 | ||||
| * | element.py: remove unused variable | Darius Makovsky | 2019-10-18 | 1 | -3/+0 |
|/ | |||||
* | Merge branch 'bschubert/bump-bst-experimental-version' into 'master' | bst-marge-bot | 2019-10-18 | 2 | -2/+2 |
|\ | | | | | | | | | | | | | .gitlab-ci.yml: Update bst-plugins-experimental version Closes #1174 See merge request BuildStream/buildstream!1656 | ||||
| * | .gitlab-ci.yml: Update bst-plugins-experimental versionbschubert/bump-bst-experimental-version | Benjamin Schubert | 2019-10-18 | 2 | -2/+2 |
|/ | | | | Update to the plugins to work with the new YAML updates. | ||||
* | Merge branch 'traveltissues/notes' into 'master' | bst-marge-bot | 2019-10-18 | 3 | -48/+21 |
|\ | | | | | | | | | workspaces via sourcecache MR2.5 See merge request BuildStream/buildstream!1653 | ||||
| * | Remove special loading for workspacestraveltissues/notes | Darius Makovsky | 2019-10-17 | 3 | -48/+21 |
|/ | | | | | WorkspaceSource.init_workspace raises an exception so it is no longer necessary to retain the original source objects of the loaded element. | ||||
* | Merge branch 'traveltissues/1172' into 'master' | bst-marge-bot | 2019-10-17 | 1 | -1/+1 |
|\ | | | | | | | | | | | | | tox.ini: pin mypy 0.730 Closes #1172 See merge request BuildStream/buildstream!1649 | ||||
| * | tox.ini: pin mypy 0.730traveltissues/1172 | Darius Makovsky | 2019-10-17 | 1 | -1/+1 |
|/ | |||||
* | Merge branch 'traveltissues/1140-softreset' into 'master' | bst-marge-bot | 2019-10-16 | 7 | -54/+101 |
|\ | | | | | | | | | | | | | Workspaces via sourcecache MR 2 Closes #1140 See merge request BuildStream/buildstream!1640 | ||||
| * | tests: add test for soft workspace resettraveltissues/1140-softreset | Darius Makovsky | 2019-10-16 | 1 | -0/+52 |
| | | |||||
| * | Use workspace_close and workspace_open to reset workspaces | Darius Makovsky | 2019-10-16 | 4 | -46/+42 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | * tracking not needed in reset * support workspace opening for already open workspaces remove existing files to preserve behaviour Add ignore_workspaces kwarg to element loading via Stream().load Setting this to true will ignore special handling of sources for open workspaces and load the sources specified rather than a workspace source. This avoids having to reload elements when re-opening workspaces. | ||||
| * | _basecache.py: early return if remotes are setup | Darius Makovsky | 2019-10-16 | 1 | -1/+3 |
| | | |||||
| * | workspace.py: raise AssertionError on init_workspace | Darius Makovsky | 2019-10-16 | 1 | -7/+4 |
|/ | |||||
* | Merge branch 'bschubert/1.91.1' into 'master'1.91.1 | bst-marge-bot | 2019-10-16 | 1 | -0/+8 |
|\ | | | | | | | | | NEWS: update release notes for version 1.91.1 See merge request BuildStream/buildstream!1646 | ||||
| * | NEWS: update release notes for version 1.91.1 | Benjamin Schubert | 2019-10-16 | 1 | -0/+8 |
|/ | |||||
* | Merge branch 'bschubert/yaml-tidying' into 'master' | bst-marge-bot | 2019-10-16 | 16 | -86/+77 |
|\ | | | | | | | | | Some tidying up of our yaml API See merge request BuildStream/buildstream!1644 | ||||
| * | NEWS: add info about new YAML breaking changes | Benjamin Schubert | 2019-10-16 | 1 | -0/+11 |
| | | |||||
| * | node.pyx: Make 'strip_node_info' public | Benjamin Schubert | 2019-10-16 | 8 | -31/+31 |
| | | | | | | | | | | 'strip_node_info' would be useful for multiple plugins. We should therefore allow users to use it. | ||||
| * | element.py: Rework 'node_subst_list' to take the sequence directly | Benjamin Schubert | 2019-10-16 | 2 | -8/+7 |
| | | | | | | | | Also rename it to 'node_subst_sequence_vars' to mimic 'node_subst_vars'. | ||||
| * | element.py: remove 'node_subst_member' and replace with 'node_susbst_vars' | Benjamin Schubert | 2019-10-16 | 3 | -37/+7 |
| | | |||||
| * | element.py: Remove '_subst_string' | Benjamin Schubert | 2019-10-16 | 1 | -15/+0 |
| | | | | | | | | This is now unused. An alternative is 'node_subst_vars'. | ||||
| * | _options/option.py: Pass the node instead of the str to 'transform' | Benjamin Schubert | 2019-10-16 | 4 | -6/+9 |
| | | | | | | | | | | | | | | This is in order to consolidate how we substitute variables. _project: use 'node_subst_vars' instead of '_subst_list' as the first one expects a node. | ||||
| * | element.py: change 'substitute_variables' to take a 'ScalarNode' and rename | Benjamin Schubert | 2019-10-16 | 2 | -7/+30 |
|/ | | | | | | | | | Previously 'substitute_variable' would take a str, which would prevent us from doing nice error reporting. Using a 'ScalarNode' allows us to get our errors nicely. - rename it to 'node_subst_vars'. - add a nicer try-except around it in order to get nicer error reporting to users. | ||||
* | Merge branch 'aevri/oldgit' into 'master' | bst-marge-bot | 2019-10-16 | 1 | -1/+3 |
|\ | | | | | | | | | testing/.../site: windows-friendly HAVE_OLD_GIT See merge request BuildStream/buildstream!1643 | ||||
| * | testing/.../site: windows-friendly HAVE_OLD_GITaevri/oldgit | Angelos Evripiotis | 2019-10-15 | 1 | -1/+3 |
|/ | |||||
* | Merge branch 'juerg/prepare-fork' into 'master' | bst-marge-bot | 2019-10-15 | 9 | -61/+45 |
|\ | | | | | | | | | Replace is_fork_allowed() with prepare_fork() See merge request BuildStream/buildstream!1641 | ||||
| * | workspace.py: Do not close gRPC channels | Jürg Billeter | 2019-10-15 | 2 | -5/+0 |
| | | | | | | | | This is now handled in Context.prepare_fork(). | ||||
| * | _remote.py: Do not use subprocess to check remote | Jürg Billeter | 2019-10-15 | 1 | -37/+6 |
| | | | | | | | | This is no longer required as gRPC connections are closed before fork. | ||||
| * | _context.py: Replace is_fork_allowed() with prepare_fork() | Jürg Billeter | 2019-10-15 | 2 | -13/+10 |
| | | |||||
| * | scheduler.py: Call is_fork_allowed() right before spawning jobs | Jürg Billeter | 2019-10-15 | 1 | -2/+7 |
| | | | | | | | | | | gRPC channels might be opened after the scheduler has already been started. Make sure channels are closed right before spawning jobs. | ||||
| * | _basecache.py: Add close_grpc_channels() method | Jürg Billeter | 2019-10-15 | 1 | -3/+10 |
| | | |||||
| * | cascache.py: Rename close_channel() to close_grpc_channels() | Jürg Billeter | 2019-10-15 | 3 | -5/+5 |
| | | | | | | | | This aligns the method name with has_open_grpc_channels(). | ||||
| * | cascache.py: Reset _casd_cas in close_channel() | Jürg Billeter | 2019-10-15 | 1 | -0/+1 |
| | | |||||
| * | _remote.py: Reset _initialized in close() | Jürg Billeter | 2019-10-15 | 1 | -0/+2 |
| | | |||||
| * | _sourcecache.py: Reset source_service in SourceRemote.close() | Jürg Billeter | 2019-10-15 | 1 | -0/+4 |
| | | |||||
| * | _artifactcache.py: Reset artifact_service in ArtifactRemote.close() | Jürg Billeter | 2019-10-15 | 1 | -0/+4 |
|/ | |||||
* | Merge branch 'aevri/platform_win32' into 'master' | bst-marge-bot | 2019-10-14 | 2 | -0/+63 |
|\ | | | | | | | | | win32: _platform/win32: add support for win32 See merge request BuildStream/buildstream!1624 | ||||
| * | win32: _platform/win32: add support for win32 | Angelos Evripiotis | 2019-10-14 | 2 | -0/+63 |
|/ | | | | | | Copy the approach of 'Darwin' and provide a SandboxDummy. This enables us to run 'bst workspace list' on Windows. | ||||
* | Merge branch 'tlater/progress-tests' into 'master' | bst-marge-bot | 2019-10-10 | 11 | -59/+204 |
|\ | | | | | | | | | | | | | Improve assertions around element loading progress reporting Closes #1094 See merge request BuildStream/buildstream!1608 |