Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | app: Fix "earily" typoalexfazakas/fix-frontend-typo | Alexandru Fazakas | 2019-07-19 | 1 | -1/+1 |
| | |||||
* | Merge branch 'tpollard/loaderror' into 'master' | bst-marge-bot | 2019-07-18 | 21 | -259/+208 |
|\ | | | | | | | | | _exceptions.py: Align LoadError() parameter ordering See merge request BuildStream/buildstream!1489 | ||||
| * | _exceptions.py: Align LoadError() parameter orderingtpollard/loaderror | Tom Pollard | 2019-07-18 | 21 | -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-bot | 2019-07-18 | 1 | -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-script | Darius Makovsky | 2019-07-18 | 1 | -1/+4 |
| | | | | | | | | Return if there is no result from parsing the element | ||||
| * | Mock BST_TEST_SUITE env when running update.py | Darius Makovsky | 2019-07-18 | 1 | -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-bot | 2019-07-17 | 2 | -3/+3 |
|\ | | | | | | | | | Fixing typos: comand corrected to command See merge request BuildStream/buildstream!1486 | ||||
| * | Fixing typos: comand corrected to command | Rebecca Grayson | 2019-07-17 | 2 | -3/+3 |
|/ | |||||
* | Merge branch 'juerg/platform' into 'master' | bst-marge-bot | 2019-07-17 | 9 | -52/+18 |
|\ | | | | | | | | | Store Platform reference in Context instance variable See merge request BuildStream/buildstream!1480 | ||||
| * | Store Platform reference in Context instance variable | Jürg Billeter | 2019-07-17 | 9 | -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-bot | 2019-07-17 | 3 | -3/+8 |
|\ | | | | | | | | | _variables: Fix reporting of missing variable See merge request BuildStream/buildstream!1485 | ||||
| * | _variables: Fix reporting of missing variable | Benjamin Schubert | 2019-07-17 | 3 | -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-bot | 2019-07-17 | 6 | -32/+85 |
|\ | | | | | | | | | Optimize downloadable sources See merge request BuildStream/buildstream!1483 | ||||
| * | downloadablefilesource: Cache 'mirror_dir' and 'default_mirror_file' | Benjamin Schubert | 2019-07-17 | 2 | -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 everytime | Benjamin Schubert | 2019-07-17 | 1 | -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 operations | Benjamin Schubert | 2019-07-17 | 1 | -7/+17 |
| | | | | | | | | This reduces further the runtime of he method by more than 50% | ||||
| * | utils: Extract 'url_directory_name' to a cython module | Benjamin Schubert | 2019-07-17 | 4 | -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-bot | 2019-07-17 | 17 | -32/+55 |
|\ | | | | | | | | | node: Add 'get_str_list' on 'MappingNode' See merge request BuildStream/buildstream!1484 | ||||
| * | node: Add 'get_str_list' on 'MappingNode' | Benjamin Schubert | 2019-07-17 | 17 | -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-bot | 2019-07-17 | 4 | -19/+170 |
|\ | | | | | | | | | Allowing `bst artifact checkout --tar` to use compression See merge request BuildStream/buildstream!1451 | ||||
| * | Allowing tar files to be compressedbecky/tar_compression | Rebecca Grayson | 2019-07-16 | 4 | -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 checks | Rebecca Grayson | 2019-07-16 | 1 | -2/+6 |
|/ | |||||
* | Merge branch 'juerg/unused-cache-keys' into 'master' | bst-marge-bot | 2019-07-16 | 2 | -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 Billeter | 2019-07-16 | 1 | -17/+0 |
| | | |||||
| * | _project.py: Remove unused _cache_key and get_cache_key() | Jürg Billeter | 2019-07-16 | 1 | -18/+0 |
|/ | |||||
* | Merge branch 'juerg/context' into 'master' | bst-marge-bot | 2019-07-16 | 15 | -678/+659 |
|\ | | | | | | | | | Make Context class a Python context manager See merge request BuildStream/buildstream!1465 | ||||
| * | tests/sourcecache: Fix typos in comments | Jürg Billeter | 2019-07-16 | 3 | -3/+3 |
| | | | | | | | | Spotted by Darius. | ||||
| * | tests/sourcecache/staging.py: Use dummy_context() | Jürg Billeter | 2019-07-16 | 1 | -62/+48 |
| | | |||||
| * | tests/sourcecache/push.py: Use dummy_context() | Jürg Billeter | 2019-07-16 | 1 | -29/+26 |
| | | |||||
| * | tests/sourcecache/fetch.py: Use dummy_context() | Jürg Billeter | 2019-07-16 | 1 | -86/+74 |
| | | |||||
| * | tests/internals/pluginloading.py: Use dummy_context() | Jürg Billeter | 2019-07-16 | 1 | -22/+19 |
| | | |||||
| * | tests/internals/loader.py: Use dummy_context() | Jürg Billeter | 2019-07-16 | 1 | -32/+17 |
| | | |||||
| * | tests/internals/context.py: Use dummy_context() | Jürg Billeter | 2019-07-16 | 1 | -4/+5 |
| | | |||||
| * | tests/format/include_composition.py: Use dummy_context() | Jürg Billeter | 2019-07-16 | 1 | -79/+84 |
| | | |||||
| * | tests/artifactcache/push.py: Use dummy_context() | Jürg Billeter | 2019-07-16 | 1 | -80/+63 |
| | | |||||
| * | tests/artifactcache/pull.py: Use dummy_context() | Jürg Billeter | 2019-07-16 | 1 | -125/+100 |
| | | |||||
| * | tests/artifactcache/config.py: Use dummy_context() | Jürg Billeter | 2019-07-16 | 1 | -10/+10 |
| | | |||||
| * | tests/testutils: Add dummy_context() helper | Jürg Billeter | 2019-07-16 | 2 | -0/+47 |
| | | |||||
| * | cli.py: Use Context as context manager | Jürg Billeter | 2019-07-16 | 1 | -23/+23 |
| | | |||||
| * | app.py: Use Context as context manager | Jürg Billeter | 2019-07-16 | 1 | -126/+129 |
| | | |||||
| * | _context.py: Make Context class a Python context manager | Jürg Billeter | 2019-07-16 | 1 | -0/+14 |
|/ | | | | This will allow reliable cleanup. | ||||
* | Merge branch 'becky/artifact_checkout_directory' into 'master' | bst-marge-bot | 2019-07-16 | 2 | -5/+24 |
|\ | | | | | | | | | | | | | Artifact checks out to default dir if no --tar or --directory Closes #1079 See merge request BuildStream/buildstream!1476 | ||||
| * | Checkout to default dir if no tar or directory: | Rebecca Grayson | 2019-07-16 | 2 | -5/+24 |
|/ | | | | | | | When neither --tar nor --directory are provided, bst artifact checkout will no longer error out. Defaults to a suitable directory, consistent with bst workspace open. Test for new feature has been added | ||||
* | Merge branch 'aevri/nodews' into 'master' | bst-marge-bot | 2019-07-16 | 1 | -53/+53 |
|\ | | | | | | | | | node.pyx: rm trailing whitespace See merge request BuildStream/buildstream!1478 | ||||
| * | node.pyx: rm trailing whitespace | Angelos Evripiotis | 2019-07-16 | 1 | -53/+53 |
|/ | |||||
* | Merge branch 'jennis/update_ready_for_runtime' into 'master' | bst-marge-bot | 2019-07-16 | 6 | -197/+221 |
|\ | | | | | | | | | Remove __update_state_recursively() See merge request BuildStream/buildstream!1449 | ||||
| * | element.py: Introduce __cached_successfully | James Ennis | 2019-07-16 | 1 | -1/+13 |
| | | | | | | | | | | | | | | | | Currently Element._cached_success() will call two functions to determine whether an Element is already cached. Now, we set __cached_successfully to True once we determine that the Element is cached for the first time. This will then short-circuit upon (very frequent) future calls. | ||||
| * | element.py: Cache whether we've resolved the initial state | James Ennis | 2019-07-16 | 2 | -1/+5 |
| | | |||||
| * | element.py: Call __update_strict_cache_key_of_rdeps() only if needed | Jürg Billeter | 2019-07-16 | 1 | -8/+8 |
| | | | | | | | | | | It's not required with strict build plans. Skip it to improve performance. | ||||
| * | element.py: Deduplicate _update_ready_for_runtime_and_cached() calls | Jürg Billeter | 2019-07-16 | 1 | -10/+5 |
| | |