Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | tests: Remove unused `pytestmark` variablechandan/remove-unused-pytestmark | Chandan Singh | 2019-03-01 | 28 | -74/+0 |
| | |||||
* | Merge branch 'aevri/unused_color' into 'master' | bst-marge-bot | 2019-03-01 | 1 | -3/+3 |
|\ | | | | | | | | | runcli: rm unused 'color' and '**extra' params See merge request BuildStream/buildstream!1198 | ||||
| * | runcli: rm unused 'color' and '**extra' params | Angelos Evripiotis | 2019-03-01 | 1 | -3/+3 |
|/ | | | | | | | | | | | The only customer for 'invoke' is the 'run' method on the same class. Make it private and simplify it's interface. Avoid disappointment by removing unused 'color' and 'extra' parameters from 'invoke'. These appear to have been here to mirror the interface of click.testing.CliRunner.invoke(), which this class replaced. | ||||
* | Merge branch 'aevri/nonecach2' into 'master' | bst-marge-bot | 2019-03-01 | 1 | -2/+3 |
|\ | | | | | | | | | | | | | cascache: limit 'infinite' cache to volume size Closes #906 See merge request BuildStream/buildstream!1196 | ||||
| * | cascache: limit 'infinite' cache to volume size | Angelos Evripiotis | 2019-03-01 | 1 | -2/+3 |
|/ | | | | | | | | | | | Make sure we don't exceed the size of the volume when calculating an 'unlimited' quota. Note that at present, cache_size is an estimate that will be the same as the cache_size or larger. In my own case, I have a volume dedicated to the cache, so it was easy for the cache_quota to exceed this. This prevented me from running BuildStream, although I had plenty of free space. | ||||
* | Merge branch 'aevri/unused_commandname' into 'master' | bst-marge-bot | 2019-03-01 | 1 | -3/+3 |
|\ | | | | | | | | | buildelement: rm unused 'cmd_name' argument See merge request BuildStream/buildstream!1197 | ||||
| * | buildelement: rm unused 'cmd_name' argument | Angelos Evripiotis | 2019-03-01 | 1 | -3/+3 |
|/ | | | | | | We're not using the cmd_name parameter to __run_command, and it's redundant given that the enclosing scope already uses it in the label. Remove it to slightly improve readability. | ||||
* | Merge branch 'bschubert/fix-test-paths' into 'master' | bst-marge-bot | 2019-03-01 | 4 | -18/+18 |
|\ | | | | | | | | | | | | | store full host tools command in sites.py variables check. Closes #936 See merge request BuildStream/buildstream!1194 | ||||
| * | tests/testutils/repo/git.py: Use _run_git wrapper instead of git directly | Benjamin Schubert | 2019-03-01 | 1 | -3/+1 |
| | | |||||
| * | tests: always use host tools from sites.py | Benjamin Schubert | 2019-03-01 | 4 | -15/+17 |
|/ | | | | | | | | This allows tests importing them to have access to the commands directly and removes the need from calling this multiple times This also fixes multiple bugs where the paths of the tests runners might not be canonical and tools would not get found correctly | ||||
* | Merge branch 'juerg/lazy-directory-digest' into 'master' | bst-marge-bot | 2019-03-01 | 9 | -151/+117 |
|\ | | | | | | | | | _casbaseddirectory.py: Calculate directory digest lazily See merge request BuildStream/buildstream!1188 | ||||
| * | _casbaseddirectory.py: Do not sort source directory entries on import | Jürg Billeter | 2019-03-01 | 1 | -2/+2 |
| | | | | | | | | | | | | _get_digest() now ensures that the created Directory protos are in canonical form. This eliminates the need to sort source directory entries in import_files(). | ||||
| * | _casbaseddirectory.py: Create Directory proto objects in canonical form | Jürg Billeter | 2019-03-01 | 2 | -71/+72 |
| | | | | | | | | | | | | Create Directory proto objects as part of lazy digest calculation instead of keeping them up-to-date. This is required to create Directory proto objects in canonical form (sorted directory entries). | ||||
| * | _casbaseddirectory.py: Calculate directory digest lazily | Jürg Billeter | 2019-03-01 | 2 | -61/+26 |
| | | | | | | | | | | This avoids repeated directory digest recalculation on successive updates. | ||||
| * | _casbaseddirectory.py: Rename `ref` field to `__digest` | Jürg Billeter | 2019-03-01 | 1 | -7/+7 |
| | | | | | | | | | | External access should use `_get_digest()`. This is in preparation for lazy digest calculation. | ||||
| * | _casbaseddirectory.py: Rename `ref` constructor parameter to `digest` | Jürg Billeter | 2019-03-01 | 4 | -9/+9 |
| | | | | | | | | `ref` was misleading. | ||||
| * | Remove unneeded ref=None argument from CasBasedDirectory() calls | Jürg Billeter | 2019-03-01 | 3 | -3/+3 |
| | | |||||
| * | tests/internals/storage_vdir_import.py: Use Directory._get_digest() | Jürg Billeter | 2019-03-01 | 1 | -3/+4 |
| | | |||||
| * | tests/artifactcache/push.py: Use Directory._get_digest() | Jürg Billeter | 2019-03-01 | 1 | -1/+2 |
| | | | | | | | | This is in preparation for lazy digest calculation. | ||||
| * | _sandboxremote.py: Use Directory._get_digest() instead of Directory.ref | Jürg Billeter | 2019-03-01 | 1 | -2/+2 |
| | | | | | | | | This is in preparation for lazy digest calculation. | ||||
| * | _artifactcache.py: Do not use Directory.ref | Jürg Billeter | 2019-03-01 | 1 | -3/+0 |
| | | | | | | | | This is in preparation for lazy digest calculation. | ||||
| * | cascache.py: Use Directory._get_digest() instead of Directory.ref | Jürg Billeter | 2019-03-01 | 1 | -1/+2 |
|/ | | | | This is in preparation for lazy digest calculation. | ||||
* | Merge branch 'aevri/dyn_minimum_cache_msg' into 'master' | bst-marge-bot | 2019-02-28 | 1 | -3/+5 |
|\ | | | | | | | | | cascache: don't hardcode 2G warning string See merge request BuildStream/buildstream!1193 | ||||
| * | cascache: don't hardcode 2G warning string | Angelos Evripiotis | 2019-02-28 | 1 | -3/+5 |
|/ | | | | | Use _pretty_size to format the 'cache bigger than headroom' error, in case it changes in future. | ||||
* | Merge branch 'juerg/virtual-artifact-directory' into 'master' | bst-marge-bot | 2019-02-28 | 8 | -217/+139 |
|\ | | | | | | | | | Use virtual artifact directory to stage and extract metadata See merge request BuildStream/buildstream!1184 | ||||
| * | _context.py: Cleanup old extract directories | Jürg Billeter | 2019-02-28 | 1 | -0/+8 |
| | | | | | | | | | | Extract directories are no longer used or created. This deletes extract directories from older versions of BuildStream on startup. | ||||
| * | _context.py: Remove unused extractdir field | Jürg Billeter | 2019-02-28 | 1 | -4/+0 |
| | | |||||
| * | _artifactcache.py: Remove unused extractdir field | Jürg Billeter | 2019-02-28 | 1 | -3/+0 |
| | | |||||
| * | _artifactcache.py: Drop extract directory removal in remove() | Jürg Billeter | 2019-02-28 | 1 | -19/+0 |
| | | | | | | | | Extract directories are no longer created. | ||||
| * | cascache.py: Remove unused extract() method | Jürg Billeter | 2019-02-28 | 1 | -47/+0 |
| | | |||||
| * | _artifactcache.py: Remove unused extract() method | Jürg Billeter | 2019-02-28 | 1 | -30/+0 |
| | | |||||
| * | element.py: Remove unused __extract() method | Jürg Billeter | 2019-02-28 | 1 | -19/+0 |
| | | |||||
| * | element.py: Use virtual artifact directory for metadata | Jürg Billeter | 2019-02-28 | 1 | -20/+23 |
| | | |||||
| * | _casbaseddirectory.py: Add _exists() method | Jürg Billeter | 2019-02-28 | 1 | -0/+7 |
| | | |||||
| * | _casbaseddirectory.py: Add _objpath() method | Jürg Billeter | 2019-02-28 | 1 | -0/+5 |
| | | |||||
| * | element.py: Use virtual artifact directory to compute manifest | Jürg Billeter | 2019-02-28 | 1 | -7/+3 |
| | | |||||
| * | element.py: Use virtual artifact directory to stage buildtree | Jürg Billeter | 2019-02-28 | 1 | -3/+3 |
| | | |||||
| * | element.py: Use virtual artifact directory to stage dependencies | Jürg Billeter | 2019-02-28 | 1 | -5/+4 |
| | | |||||
| * | tests/integration/artifact.py: Do not rely on extract directories | Jürg Billeter | 2019-02-28 | 1 | -22/+31 |
| | | |||||
| * | tests/integration/pullbuildtrees.py: Remove extract directory checks | Jürg Billeter | 2019-02-28 | 1 | -10/+24 |
| | | | | | | | | The following commits will remove extract directories. | ||||
| * | tests/artifactcache/expiry.py: Remove test_extract_expiry() | Jürg Billeter | 2019-02-28 | 1 | -50/+0 |
| | | | | | | | | The following commits will remove extract directories. | ||||
| * | element.py: Add __get_artifact_directory() method | Jürg Billeter | 2019-02-28 | 1 | -0/+19 |
| | | |||||
| * | _artifactcache.py: Add get_artifact_directory() method | Jürg Billeter | 2019-02-28 | 1 | -0/+21 |
| | | |||||
| * | element.py: Add __get_extract_key() method | Jürg Billeter | 2019-02-28 | 1 | -7/+20 |
|/ | |||||
* | Merge branch 'mablanch/799-RE-optional-TLS' into 'master' | Jürg Billeter | 2019-02-28 | 3 | -43/+35 |
|\ | | | | | | | | | | | | | Optional TLS support for remote-execution storage service Closes #799 See merge request BuildStream/buildstream!1186 | ||||
| * | doc: Show a non-TLS remote-execution config. example | Martin Blanchard | 2019-02-28 | 2 | -6/+2 |
| | | | | | | | | https://gitlab.com/BuildStream/buildstream/issues/799 | ||||
| * | _sandboxremote.py: Make TLS for storage service optional | Martin Blanchard | 2019-02-28 | 1 | -37/+33 |
|/ | | | | https://gitlab.com/BuildStream/buildstream/issues/799 | ||||
* | Merge branch 'juerg/directory-import' into 'master' | Jürg Billeter | 2019-02-27 | 2 | -134/+175 |
|\ | | | | | | | | | Directory.import_files() improvements See merge request BuildStream/buildstream!1183 | ||||
| * | _filebaseddirectory.py: Support importing files from CASjuerg/directory-import | Jürg Billeter | 2019-02-27 | 1 | -12/+82 |
| | | |||||
| * | _filebaseddirectory.py: Add _get_filetype() method | Jürg Billeter | 2019-02-27 | 1 | -0/+16 |
| | |