summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'jonathan/job-progress' into 'master'fetch-committersbst-marge-bot2019-07-269-61/+410
|\ | | | | | | | | Render progress information for loading and processing elements See merge request BuildStream/buildstream!1482
| * _messenger: Fix complex objects leaking into child jobsJonathan Maw2019-07-261-0/+7
| |
| * tests: Check that progress tallies are correct, including across junctionsJonathan Maw2019-07-261-0/+44
| |
| * Render progress information for loading and processing elementsJonathan Maw2019-07-268-61/+359
|/
* Merge branch 'bschubert/optimize-loader' into 'master'bst-marge-bot2019-07-265-211/+246
|\ | | | | | | | | Optimize loader See merge request BuildStream/buildstream!1493
| * loader: Move sort_dependencies to loadelement as a cython methodbschubert/optimize-loaderBenjamin Schubert2019-07-262-75/+78
| |
| * loadelement: Move loadelement to CythonBenjamin Schubert2019-07-264-29/+56
| |
| * loader: Don't pickle caches for child jobs, they are not needed thereDaniel Silverstone2019-07-261-0/+5
|/ | | | Signed-off-by: Daniel Silverstone <daniel.silverstone@codethink.co.uk>
* Merge branch 'buildbox' into 'master'bst-marge-bot2019-07-2545-34/+842
|\ | | | | | | | | Add BuildBox backend for sandboxing See merge request BuildStream/buildstream!951
| * News: Added a news item for the new BuildBox sandboxbuildboxWilliam Salmon2019-07-251-0/+4
| |
| * New test stage to use the buildbox sandboxWilliam Salmon2019-07-251-0/+32
| | | | | | | | | | | | | | | | | | This test stage should only be needed while we transistion to the BuildBox sand box. Once the other test stages switch to use buildbox from bubble rap then this test stage will be removed. These test do not include the integration test as thery are not working correctly in CI.
| * sandbox: Add initial SandboxBuildBoxJürg Billeter2019-07-254-1/+289
| |
| * Mark xfail test that only fail in CIWilliam Salmon2019-07-2522-3/+113
| |
| * Mark buildbox tests as xfail if they require non implemented featuresWilliam Salmon2019-07-2518-19/+68
| |
| * Test that commands can be found on PATH when links are presentWilliam Salmon2019-07-253-0/+42
| | | | | | | | | | This test reflects functionality that freedesktop-SDK use's but that bst was not testing.
| * Update sandbox to use virtual directoriesWilliam Salmon2019-07-252-4/+17
| |
| * Fix descend can not follow symlinksWilliam Salmon2019-07-254-7/+194
| |
| * Implmented export_to_tar for casbaseddirectoryWilliam Salmon2019-07-256-1/+79
| |
| * Fix infinite recursion in _partial_import_cas_into_casWilliam Salmon2019-07-251-2/+7
|/
* Merge branch 'aevri/pickle' into 'master'bst-marge-bot2019-07-2418-55/+454
|\ | | | | | | | | Make ChildJobs and friends picklable See merge request BuildStream/buildstream!1463
| * job: try pickling child jobs if BST_TEST_SUITEaevri/pickleAngelos Evripiotis2019-07-241-0/+7
| | | | | | | | | | | | | | | | If we're running BuildStream tests then pickle child jobs. This ensures that we keep things picklable, whilst we work towards being able to support platforms that need to use the 'spawn' method of starting processes.
| * Make ChildJobs and friends picklableAngelos Evripiotis2019-07-249-1/+352
| | | | | | | | | | | | | | | | | | Pave the way toward supporting the 'spawn' method of creating jobs, by adding support for pickling ChildJobs. Introduce a new 'jobpickler' module that provides an entrypoint for this functionality. This also makes replays of jobs possible, which has made the debugging of plugins much easier for me.
| * node: picklable {Scalar,Mapping,Sequence}NodeAngelos Evripiotis2019-07-241-0/+18
| | | | | | | | | | Make ScalarNode, MappingNode, and SequenceNode pickable by implementing `__reduce__` for them.
| * optionpool: make OptionPool picklableAngelos Evripiotis2019-07-241-3/+18
| | | | | | | | | | In order to enable the 'spawn' method of creating jobs, make sure that OptionPool is pickable, otherwise it cannot be sent to the job process.
| * _platform: make picklable, no nested methodsAngelos Evripiotis2019-07-243-49/+53
| | | | | | | | | | Make the _platform implementations pickable by moving the nested _setup_*_sandbox methods up into their enclosing classes.
| * _context, cascache: mv BST_TEST_SUITE to ContextAngelos Evripiotis2019-07-242-1/+5
| | | | | | | | | | | | | | Store the result of checking for BST_TEST_SUITE in the environment into the Context. This feels less weird than checking the environment every time. Note that this cannot replace every instance, as not everything should have access to the Context.
| * _exceptions: fix 'BuildSream' typoAngelos Evripiotis2019-07-241-1/+1
|/
* Merge branch 'jjardon/overnigth_yaml_bst2_chanches' into 'master'Javier Jardón2019-07-241-1/+1
|\ | | | | | | | | | | | | .gitlab-ci.yml: Use new freedesktop-sdk with bst2 YAML API changes Closes #1090 See merge request BuildStream/buildstream!1498
| * .gitlab-ci.yml: Use new freedesktop-sdk with bst2 YAML API changesJavier Jardón2019-07-241-1/+1
|/ | | | See https://gitlab.com/freedesktop-sdk/freedesktop-sdk/merge_requests/1560
* Merge branch 'traveltissues/cache-key-changes-2' into 'master'bst-marge-bot2019-07-2231-34/+49
|\ | | | | | | | | workspace clobbers sources See merge request BuildStream/buildstream!1470
| * Reset cache data if a workspace build is pendingDarius Makovsky2019-07-221-0/+4
| | | | | | | | | | | | This reverts one of the changes in https://gitlab.com/BuildStream/buildstream/commit/fa70a4299bc97b1f723a8602f6fad1bcc013f17a#11743b796594142e47df22054b99d263d52e28aa_1151_1152 and will be followed in a new issue.
| * Remove recalculate kwarg from Workspace.get_key()Darius Makovsky2019-07-221-2/+2
| | | | | | | | This is only used following key invalidation
| * element.py: clobber sources with workspaceDarius Makovsky2019-07-2230-32/+43
|/ | | | add name to sources in cache key dict
* Merge branch 'chandan/workspace-force-no-checkout' into 'master'traveltissues/benchmark-1088bst-marge-bot2019-07-193-2/+27
|\ | | | | | | | | | | | | Don't remove workspace directory when `--no-checkout` option is given Closes #1086 See merge request BuildStream/buildstream!1490
| * tests: Add regression test for issue #1086Chandan Singh2019-07-192-0/+25
| | | | | | | | | | | | Ensure that any changes made by user in an open workspace are not overridden when calling `bst workspace open` again with `--force` and `--no-checkout` options.
| * Don't remove workspace directory when `--no-checkout` option is givenChandan Singh2019-07-191-2/+2
|/ | | | | | | | | | | | | When `--no-checkout` flag is used, BuildStream assumes that the target destination already contain the sources (potentially edited already). Hence BuildStream must not remove its contents. Fixes #1086. --- Also, fix a minor typo in the file that probably doesn't need a commit of its own.
* Merge branch 'chandan/fix-source-checkout-1083' into 'master'bst-marge-bot2019-07-191-2/+1
|\ | | | | | | | | | | | | stream.py: Don't checkout sources in the parent of the location Closes #1083 See merge request BuildStream/buildstream!1491
| * stream.py: Don't checkout sources in the parent of the locationChandan Singh2019-07-191-2/+1
|/ | | | | | | | | It is incorrect to assume that BuildStream will have write access to the parent directory of the specified destination. Instead of that, use the temporary directory of the current context for checking out sources temporarily. Fixes #1083.
* Merge branch 'alexfazakas/fix-frontend-typo' into 'master'bst-marge-bot2019-07-191-1/+1
|\ | | | | | | | | app: Fix "earily" typo See merge request BuildStream/buildstream!1488
| * app: Fix "earily" typoalexfazakas/fix-frontend-typoAlexandru Fazakas2019-07-191-1/+1
|/
* Merge branch 'tpollard/loaderror' into 'master'bst-marge-bot2019-07-1821-259/+208
|\ | | | | | | | | _exceptions.py: Align LoadError() parameter ordering See merge request BuildStream/buildstream!1489
| * _exceptions.py: Align LoadError() parameter orderingtpollard/loaderrorTom Pollard2019-07-1821-259/+208
|/ | | | | | All of the errors which subclass from BstError have their first positional argument as message, LoadError should follow this ordering for consistency.
* Merge branch 'traveltissues/fix-update-script' into 'master'bst-marge-bot2019-07-181-2/+11
|\ | | | | | | | | | | | | Mock BST_TEST_SUITE env when running update.py Closes #1074 See merge request BuildStream/buildstream!1468
| * Make the Cli verbose for updatingtraveltissues/fix-update-scriptDarius Makovsky2019-07-181-1/+4
| | | | | | | | Return if there is no result from parsing the element
| * Mock BST_TEST_SUITE env when running update.pyDarius Makovsky2019-07-181-1/+7
|/ | | | | If this is not present in the env the cli will throw an exception closes #1074
* Merge branch 'becky/fix_comand_typos' into 'master'bst-marge-bot2019-07-172-3/+3
|\ | | | | | | | | Fixing typos: comand corrected to command See merge request BuildStream/buildstream!1486
| * Fixing typos: comand corrected to commandRebecca Grayson2019-07-172-3/+3
|/
* Merge branch 'juerg/platform' into 'master'bst-marge-bot2019-07-179-52/+18
|\ | | | | | | | | Store Platform reference in Context instance variable See merge request BuildStream/buildstream!1480
| * Store Platform reference in Context instance variableJürg Billeter2019-07-179-52/+18
|/ | | | | This allows us to remove the platform reset helpers in tests/conftest.py.
* Merge branch 'bschubert/fix-missing-variable-provenance' into 'master'bst-marge-bot2019-07-173-3/+8
|\ | | | | | | | | _variables: Fix reporting of missing variable See merge request BuildStream/buildstream!1485