summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* tests: Remove unused `pytestmark` variablechandan/remove-unused-pytestmarkChandan Singh2019-03-0128-74/+0
|
* Merge branch 'aevri/unused_color' into 'master'bst-marge-bot2019-03-011-3/+3
|\ | | | | | | | | runcli: rm unused 'color' and '**extra' params See merge request BuildStream/buildstream!1198
| * runcli: rm unused 'color' and '**extra' paramsAngelos Evripiotis2019-03-011-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-bot2019-03-011-2/+3
|\ | | | | | | | | | | | | cascache: limit 'infinite' cache to volume size Closes #906 See merge request BuildStream/buildstream!1196
| * cascache: limit 'infinite' cache to volume sizeAngelos Evripiotis2019-03-011-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-bot2019-03-011-3/+3
|\ | | | | | | | | buildelement: rm unused 'cmd_name' argument See merge request BuildStream/buildstream!1197
| * buildelement: rm unused 'cmd_name' argumentAngelos Evripiotis2019-03-011-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-bot2019-03-014-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 directlyBenjamin Schubert2019-03-011-3/+1
| |
| * tests: always use host tools from sites.pyBenjamin Schubert2019-03-014-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-bot2019-03-019-151/+117
|\ | | | | | | | | _casbaseddirectory.py: Calculate directory digest lazily See merge request BuildStream/buildstream!1188
| * _casbaseddirectory.py: Do not sort source directory entries on importJürg Billeter2019-03-011-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 formJürg Billeter2019-03-012-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 lazilyJürg Billeter2019-03-012-61/+26
| | | | | | | | | | This avoids repeated directory digest recalculation on successive updates.
| * _casbaseddirectory.py: Rename `ref` field to `__digest`Jürg Billeter2019-03-011-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 Billeter2019-03-014-9/+9
| | | | | | | | `ref` was misleading.
| * Remove unneeded ref=None argument from CasBasedDirectory() callsJürg Billeter2019-03-013-3/+3
| |
| * tests/internals/storage_vdir_import.py: Use Directory._get_digest()Jürg Billeter2019-03-011-3/+4
| |
| * tests/artifactcache/push.py: Use Directory._get_digest()Jürg Billeter2019-03-011-1/+2
| | | | | | | | This is in preparation for lazy digest calculation.
| * _sandboxremote.py: Use Directory._get_digest() instead of Directory.refJürg Billeter2019-03-011-2/+2
| | | | | | | | This is in preparation for lazy digest calculation.
| * _artifactcache.py: Do not use Directory.refJürg Billeter2019-03-011-3/+0
| | | | | | | | This is in preparation for lazy digest calculation.
| * cascache.py: Use Directory._get_digest() instead of Directory.refJürg Billeter2019-03-011-1/+2
|/ | | | This is in preparation for lazy digest calculation.
* Merge branch 'aevri/dyn_minimum_cache_msg' into 'master'bst-marge-bot2019-02-281-3/+5
|\ | | | | | | | | cascache: don't hardcode 2G warning string See merge request BuildStream/buildstream!1193
| * cascache: don't hardcode 2G warning stringAngelos Evripiotis2019-02-281-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-bot2019-02-288-217/+139
|\ | | | | | | | | Use virtual artifact directory to stage and extract metadata See merge request BuildStream/buildstream!1184
| * _context.py: Cleanup old extract directoriesJürg Billeter2019-02-281-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 fieldJürg Billeter2019-02-281-4/+0
| |
| * _artifactcache.py: Remove unused extractdir fieldJürg Billeter2019-02-281-3/+0
| |
| * _artifactcache.py: Drop extract directory removal in remove()Jürg Billeter2019-02-281-19/+0
| | | | | | | | Extract directories are no longer created.
| * cascache.py: Remove unused extract() methodJürg Billeter2019-02-281-47/+0
| |
| * _artifactcache.py: Remove unused extract() methodJürg Billeter2019-02-281-30/+0
| |
| * element.py: Remove unused __extract() methodJürg Billeter2019-02-281-19/+0
| |
| * element.py: Use virtual artifact directory for metadataJürg Billeter2019-02-281-20/+23
| |
| * _casbaseddirectory.py: Add _exists() methodJürg Billeter2019-02-281-0/+7
| |
| * _casbaseddirectory.py: Add _objpath() methodJürg Billeter2019-02-281-0/+5
| |
| * element.py: Use virtual artifact directory to compute manifestJürg Billeter2019-02-281-7/+3
| |
| * element.py: Use virtual artifact directory to stage buildtreeJürg Billeter2019-02-281-3/+3
| |
| * element.py: Use virtual artifact directory to stage dependenciesJürg Billeter2019-02-281-5/+4
| |
| * tests/integration/artifact.py: Do not rely on extract directoriesJürg Billeter2019-02-281-22/+31
| |
| * tests/integration/pullbuildtrees.py: Remove extract directory checksJürg Billeter2019-02-281-10/+24
| | | | | | | | The following commits will remove extract directories.
| * tests/artifactcache/expiry.py: Remove test_extract_expiry()Jürg Billeter2019-02-281-50/+0
| | | | | | | | The following commits will remove extract directories.
| * element.py: Add __get_artifact_directory() methodJürg Billeter2019-02-281-0/+19
| |
| * _artifactcache.py: Add get_artifact_directory() methodJürg Billeter2019-02-281-0/+21
| |
| * element.py: Add __get_extract_key() methodJürg Billeter2019-02-281-7/+20
|/
* Merge branch 'mablanch/799-RE-optional-TLS' into 'master'Jürg Billeter2019-02-283-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. exampleMartin Blanchard2019-02-282-6/+2
| | | | | | | | https://gitlab.com/BuildStream/buildstream/issues/799
| * _sandboxremote.py: Make TLS for storage service optionalMartin Blanchard2019-02-281-37/+33
|/ | | | https://gitlab.com/BuildStream/buildstream/issues/799
* Merge branch 'juerg/directory-import' into 'master'Jürg Billeter2019-02-272-134/+175
|\ | | | | | | | | Directory.import_files() improvements See merge request BuildStream/buildstream!1183
| * _filebaseddirectory.py: Support importing files from CASjuerg/directory-importJürg Billeter2019-02-271-12/+82
| |
| * _filebaseddirectory.py: Add _get_filetype() methodJürg Billeter2019-02-271-0/+16
| |