summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Expect descend raises VirtualDirectoryErrortraveltissues/raisesDarius Makovsky2019-07-251-15/+8
|
* News: Added a news item for the new BuildBox sandboxWilliam Salmon2019-07-241-0/+4
|
* New test stage to use the buildbox sandboxWilliam Salmon2019-07-241-0/+33
| | | | | | | | | 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-244-1/+284
|
* Mark buildbox tests as xfail if they require non implemented featuresWilliam Salmon2019-07-2418-19/+68
|
* Test that commands can be found on PATH when links are presentWilliam Salmon2019-07-243-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-242-4/+17
|
* Fix descend can not follow symlinksWilliam Salmon2019-07-244-8/+207
|
* Implmented export_to_tar for casbaseddirectoryWilliam Salmon2019-07-236-1/+79
|
* Fix infinite recursion in _partial_import_cas_into_casWilliam Salmon2019-07-231-2/+7
|
* 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
| * _variables: Fix reporting of missing variableBenjamin Schubert2019-07-173-3/+8
|/ | | | | | | When the missing variable was not defined, we would get an exception as a string doesn't contain provenance information. - Add a test to prevent regression
* Merge branch 'bschubert/optimize-downloadable-sources' into 'master'bst-marge-bot2019-07-176-32/+85
|\ | | | | | | | | Optimize downloadable sources See merge request BuildStream/buildstream!1483
| * downloadablefilesource: Cache 'mirror_dir' and 'default_mirror_file'Benjamin Schubert2019-07-172-9/+17
| | | | | | | | | | This allows faster access to those two files and reduces the time spent in their getters by more than 50%, which can be 2-3s on medium projects
| * source: Cache mirror_directory instead of computing it everytimeBenjamin Schubert2019-07-171-5/+10
| | | | | | | | | | This variable is accessed multiple times per run and can be slow on slow file systems.
| * _utils: Refactor 'url_directory_name' for more efficient C operationsBenjamin Schubert2019-07-171-7/+17
| | | | | | | | This reduces further the runtime of he method by more than 50%
| * utils: Extract 'url_directory_name' to a cython moduleBenjamin Schubert2019-07-174-18/+48
|/ | | | | `url_directory_name` is heavily called from any downloadable source plugin, and moving it to cython gives a more than 10x speedup
* Merge branch 'bschubert/api-improvements' into 'master'bst-marge-bot2019-07-1717-32/+55
|\ | | | | | | | | node: Add 'get_str_list' on 'MappingNode' See merge request BuildStream/buildstream!1484
| * node: Add 'get_str_list' on 'MappingNode'Benjamin Schubert2019-07-1717-32/+55
|/ | | | | | `mapping.get_sequence(...).as_str_list()` is a very common pattern seen both in plugins and the core. Adding a helper to reduce the number of operations will make usage smoother
* Merge branch 'becky/tar_compression' into 'master'bst-marge-bot2019-07-174-19/+170
|\ | | | | | | | | Allowing `bst artifact checkout --tar` to use compression See merge request BuildStream/buildstream!1451
| * Allowing tar files to be compressedbecky/tar_compressionRebecca Grayson2019-07-164-21/+168
| | | | | | | | | | | | | | Changes made to cli.py and _stream.py in order to support tar compression. Compression flag has been added, which overrides any file extensions given. Where no compression or file extension provided, default to uncompressed .tar.
| * cli.py: change is/is not None checksRebecca Grayson2019-07-161-2/+6
|/
* Merge branch 'juerg/unused-cache-keys' into 'master'bst-marge-bot2019-07-162-35/+0
|\ | | | | | | | | Remove unused _cache_key variables and get_cache_key() methods See merge request BuildStream/buildstream!1481
| * _context.py: Remove unused _cache_key and get_cache_key()Jürg Billeter2019-07-161-17/+0
| |
| * _project.py: Remove unused _cache_key and get_cache_key()Jürg Billeter2019-07-161-18/+0
|/
* Merge branch 'juerg/context' into 'master'bst-marge-bot2019-07-1615-678/+659
|\ | | | | | | | | Make Context class a Python context manager See merge request BuildStream/buildstream!1465
| * tests/sourcecache: Fix typos in commentsJürg Billeter2019-07-163-3/+3
| | | | | | | | Spotted by Darius.
| * tests/sourcecache/staging.py: Use dummy_context()Jürg Billeter2019-07-161-62/+48
| |
| * tests/sourcecache/push.py: Use dummy_context()Jürg Billeter2019-07-161-29/+26
| |
| * tests/sourcecache/fetch.py: Use dummy_context()Jürg Billeter2019-07-161-86/+74
| |