summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Bump coverage requirement to something >= 5.0jjardon/update_coverageJavier Jardón2020-04-052-2/+2
| | | | | | | | Following https://coverage.readthedocs.io/en/coverage-5.0.4/changes.html#changes: - Only 5.0a2 pass all python3.8 tests - Multiprocessing support in Python 3.8 was fixed in 5.0a6
* Merge branch 'juerg/buildbox' into 'master'bst-marge-bot2020-04-043-13/+21
|\ | | | | | | | | Update BuildBox components to 0.0.7 See merge request BuildStream/buildstream!1852
| * tests/integration/script.py: Drop read-only root xfail for buildbox-runJürg Billeter2020-04-041-4/+0
| | | | | | | | buildbox-fuse now supports SubtreeReadOnly.
| * tests/integration/build-uid.py: Don't skip tests with buildbox-runJürg Billeter2020-04-041-4/+16
| | | | | | | | buildbox-run-bubblewrap now supports custom uid/gid.
| * .gitlab-ci.yml: Update BuildBox components to 0.0.7Jürg Billeter2020-04-041-5/+5
|/
* Merge branch 'juerg/python-3.6' into 'master'Jürg Billeter2020-04-045-38/+33
|\ | | | | | | | | Require Python >= 3.6 See merge request BuildStream/buildstream!1850
| * NEWS: Add note about requiring Python >= 3.6juerg/python-3.6Jürg Billeter2020-04-021-0/+5
| |
| * tests/format/junctions.py: Drop Python 3.5 compatibilityJürg Billeter2020-04-021-6/+3
| |
| * setup.py: Require Python >= 3.6Jürg Billeter2020-04-021-3/+3
| |
| * tox.ini: Drop Python 3.5 environmentsJürg Billeter2020-04-021-18/+18
| |
| * .gitlab-ci.yml: Do not use Python 3.5 tox environmentsJürg Billeter2020-04-021-4/+4
| |
| * .gitlab-ci.yml: Drop tests-debian-9 jobJürg Billeter2020-04-021-7/+0
|/ | | | | Debian 9 uses Python 3.5. As part of dropping support for Python 3.5, drop the CI job for Debian 9.
* Merge branch 'juerg/buildbox-run-error' into 'master'Jürg Billeter2020-04-011-2/+6
|\ | | | | | | | | _sandboxbuildboxrun.py: Check for buildbox-run initialization errors See merge request BuildStream/buildstream!1848
| * _sandboxbuildboxrun.py: Check for buildbox-run initialization errorsjuerg/buildbox-run-errorJürg Billeter2020-03-311-2/+6
|/ | | | | | If `buildbox-run --capabilities` reports an error, we should consider the sandbox to be unavailable, forwarding the error message from buildbox-run.
* Merge branch 'abderrahim/fuse3' into 'master'Abderrahim Kitouni2020-03-301-1/+1
|\ | | | | | | | | mount: don't pass nonempty option See merge request BuildStream/buildstream!1834
| * mount: don't pass nonempty optionabderrahim/fuse3Abderrahim Kitouni2020-03-281-1/+1
|/ | | | | fusermount3 doesn't support it, and this prevents buildstream from working in systems that have fuse 3
* Merge branch 'bschubert/fix-overnight' into 'master'Benjamin Schubert2020-03-251-4/+7
|\ | | | | | | | | .gitlab-ci.yml: install requirements from git instead of pipy See merge request BuildStream/buildstream!1839
| * .gitlab-ci.yml: install requirements from git instead of pipybschubert152020-03-251-4/+7
|/
* Merge branch 'bschubert/stricter-cas-soc' into 'master'Benjamin Schubert2020-03-247-21/+36
|\ | | | | | | | | Don't create Buildstream-related directories in the cas - owned directory See merge request BuildStream/buildstream!1832
| * cascache.py: remove creation of the 'cas/objects' directorybschubert/stricter-cas-socbschubert152020-03-241-1/+0
| | | | | | | | | | | | buildbox-casd should handle the creation of its own directories. This is especially needed when buildbox-casd and buildstream don't run under the same user.
| * cascache.py: Create cas logs in the buildstream cache directorybschubert152020-03-247-20/+36
|/ | | | | | This moves the cas logs outside of the cas directory. Since BuildStream is responsible for creating and handling the logs, it should not be in the cas directory.
* Merge branch 'abderrahim/etag' into 'master'Abderrahim Kitouni2020-03-241-1/+5
|\ | | | | | | | | _downloadablefilesource.py: don't download the file if etag matches See merge request BuildStream/buildstream!1833
| * _downloadablefilesource.py: don't download the file if etag matchesabderrahim/etagAbderrahim Kitouni2020-03-211-1/+5
|/ | | | | Some servers don't honor the 'If-None-Match' header and send the file even with matching etag
* Merge branch 'tlater/node-exceptions' into 'master'Benjamin Schubert2020-03-201-0/+4
|\ | | | | | | | | node.pyx: Add note on node exceptions in plugins See merge request BuildStream/buildstream!1791
| * node.pyx: Add note on node exceptions in pluginstlater/node-exceptionsTristan Maat2020-03-201-0/+4
|/
* Merge branch 'juerg/reapi' into 'master'Jürg Billeter2020-03-1615-296/+279
|\ | | | | | | | | Update remote_execution.proto See merge request BuildStream/buildstream!1831
| * _protos: Update remote_execution.protojuerg/reapiJürg Billeter2020-03-164-132/+139
| | | | | | | | Move output_node_properties from Action to Command.
| * _protos: Rebuild with latest protobufJürg Billeter2020-03-1612-165/+141
|/
* Merge branch 'juerg/vdirectory' into 'master'Jürg Billeter2020-03-107-52/+140
|\ | | | | | | | | Improve `Directory` API See merge request BuildStream/buildstream!1827
| * storage: Add generic Directory._create_empty_file() methodJürg Billeter2020-03-103-12/+4
| | | | | | | | | | This reimplements `_create_empty_file()` using the new `open_file()` method.
| * storage: Add Directory.open_file() methodJürg Billeter2020-03-103-0/+53
| | | | | | | | | | This is the virtual directory API equivalent to Python's built-in `open()` function.
| * utils.py: Add mode and encoding parameters to _tempnamedfile()Jürg Billeter2020-03-101-2/+4
| |
| * storage: Add public Directory.exists() methodJürg Billeter2020-03-106-23/+35
| |
| * _filebaseddirectory.py: Improve _exists() methodJürg Billeter2020-03-102-8/+15
| | | | | | | | | | | | Use similar implementation as in `CasBasedDirectory`. This fixes following symlinks to avoid the host filesystem and adds support for `follow_symlinks=False`.
| * _filebaseddirectory.py: Support follow_symlinks in descend()Jürg Billeter2020-03-101-8/+31
| |
| * _casbaseddirectory.py: Mark find_root() method internalJürg Billeter2020-03-101-10/+10
| | | | | | | | | | It's not defined in the abstract `Directory` class and is not expected to be needed by plugins.
| * _casbaseddirectory.py: Tweak _add_file() parametersJürg Billeter2020-03-101-6/+5
|/ | | | Separate `name` from `path` to allow adding temporary files.
* Merge branch 'juerg/reapi-platform' into 'master'Jürg Billeter2020-03-092-12/+20
|\ | | | | | | | | _sandboxreapi.py: Sort platform properties by name See merge request BuildStream/buildstream!1828
| * _sandboxreapi.py: Sort platform properties by nameJürg Billeter2020-03-092-12/+20
|/ | | | This is required by the REAPI specification.
* Merge branch 'chandan/fix-bst-show-formatting' into 'master'Chandan Singh2020-03-041-6/+5
|\ | | | | | | | | | | | | _frontend/cli.py: Fix formatting for `bst show` help text Closes #323 See merge request BuildStream/buildstream!1824
| * _frontend/cli.py: Fix formatting for `bst show` help textChandan Singh2020-03-041-6/+5
|/ | | | | | | | | | | | | | * Sphinx does not allow sections within docstrings so convert the "FORMAT" heading into bold text. See https://sphinx-dev.narkive.com/7rqrxjgL/headings-in-docstrings for some related discussion on this issue. * Sphinx uses double backticks for code samples so fix that for CLI options. * Fix a typo. Fixes #323.
* Merge branch 'juerg/buildbox-signals' into 'master'Jürg Billeter2020-03-031-2/+17
|\ | | | | | | | | _sandboxbuildboxrun.py: Fix signal handling See merge request BuildStream/buildstream!1826
| * _sandboxbuildboxrun.py: Fix signal handlingjuerg/buildbox-signalsJürg Billeter2020-03-021-2/+17
|/ | | | | This fixes resume in non-interactive mode and job control in interactive shells, matching the behavior of `SandboxBwrap`.
* Merge branch 'juerg/reapi-readonly' into 'master'Jürg Billeter2020-02-272-11/+48
|\ | | | | | | | | _sandboxreapi.py: Support read-only root See merge request BuildStream/buildstream!1825
| * _sandboxreapi.py: Support read-only rootjuerg/reapi-readonlyJürg Billeter2020-02-271-3/+10
| |
| * _sandboxreapi.py: Ensure mount points existJürg Billeter2020-02-271-4/+18
| |
| * _casbaseddirectory.py: Add _set_subtree_read_only() methodJürg Billeter2020-02-271-0/+9
| |
| * _casbaseddirectory.py: Add support for directory node propertiesJürg Billeter2020-02-271-0/+7
| |
| * _casbaseddirectory.py: Fix _create_empty_file()Jürg Billeter2020-02-271-1/+1
| |
| * _casbaseddirectory.py: Fix _exists()Jürg Billeter2020-02-271-3/+3
|/ | | | It should return True for directories and symlinks as well.