summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| * 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
| |
| * tests/internals/pluginloading.py: Use dummy_context()Jürg Billeter2019-07-161-22/+19
| |
| * tests/internals/loader.py: Use dummy_context()Jürg Billeter2019-07-161-32/+17
| |
| * tests/internals/context.py: Use dummy_context()Jürg Billeter2019-07-161-4/+5
| |
| * tests/format/include_composition.py: Use dummy_context()Jürg Billeter2019-07-161-79/+84
| |
| * tests/artifactcache/push.py: Use dummy_context()Jürg Billeter2019-07-161-80/+63
| |
| * tests/artifactcache/pull.py: Use dummy_context()Jürg Billeter2019-07-161-125/+100
| |
| * tests/artifactcache/config.py: Use dummy_context()Jürg Billeter2019-07-161-10/+10
| |
| * tests/testutils: Add dummy_context() helperJürg Billeter2019-07-162-0/+47
| |
| * cli.py: Use Context as context managerJürg Billeter2019-07-161-23/+23
| |
| * app.py: Use Context as context managerJürg Billeter2019-07-161-126/+129
| |
| * _context.py: Make Context class a Python context managerJürg Billeter2019-07-161-0/+14
|/ | | | This will allow reliable cleanup.
* Merge branch 'becky/artifact_checkout_directory' into 'master'bst-marge-bot2019-07-162-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 Grayson2019-07-162-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-bot2019-07-161-53/+53
|\ | | | | | | | | node.pyx: rm trailing whitespace See merge request BuildStream/buildstream!1478
| * node.pyx: rm trailing whitespaceAngelos Evripiotis2019-07-161-53/+53
|/
* Merge branch 'jennis/update_ready_for_runtime' into 'master'bst-marge-bot2019-07-166-197/+221
|\ | | | | | | | | Remove __update_state_recursively() See merge request BuildStream/buildstream!1449
| * element.py: Introduce __cached_successfullyJames Ennis2019-07-161-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 stateJames Ennis2019-07-162-1/+5
| |
| * element.py: Call __update_strict_cache_key_of_rdeps() only if neededJürg Billeter2019-07-161-8/+8
| | | | | | | | | | It's not required with strict build plans. Skip it to improve performance.
| * element.py: Deduplicate _update_ready_for_runtime_and_cached() callsJürg Billeter2019-07-161-10/+5
| |