summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* Merge branch 'juerg/reapi-platform' into 'master'Jürg Billeter2020-02-2733-41/+72
|\ | | | | | | | | _sandboxreapi.py: Set platform properties See merge request BuildStream/buildstream!1823
| * _sandboxreapi.py: Support optional network accessJürg Billeter2020-02-272-1/+4
| | | | | | | | This is used by `bst shell`.
| * _sandboxreapi.py: Set unixUID and unixGID platform propertiesJürg Billeter2020-02-272-6/+20
| |
| * _sandboxreapi.py: Set OSFamily and ISA platform propertiesJürg Billeter2020-02-271-1/+6
| |
| * .gitlab-ci/buildgrid-compose.yml: Set platform propertiesJürg Billeter2020-02-271-1/+1
| | | | | | | | The worker needs to advertise the supported OSFamily and ISA.
| * Canonicalize OS nameJürg Billeter2020-02-2730-33/+42
|/ | | | This matches the REAPI platform lexicon.
* Merge branch 'willsalmon/directorynote' into 'master'Jürg Billeter2020-02-261-0/+6
|\ | | | | | | | | Add doc note about directories See merge request BuildStream/buildstream!1822
| * Docs: Add doc note about directories to core pluginswillsalmon/directorynoteWilliam Salmon2020-02-261-0/+6
|/
* Merge branch 'juerg/reapi-log' into 'master'Jürg Billeter2020-02-204-10/+30
|\ | | | | | | | | _sandboxremote.py: Support stdout and stderr digests See merge request BuildStream/buildstream!1821
| * _sandboxremote.py: Support stdout and stderr digestsjuerg/reapi-logJürg Billeter2020-02-201-2/+12
| | | | | | | | Fetch blobs from remote CAS and then forward them to the sandbox output.
| * sandbox: Move log forwarding from SandboxREAPI to SandboxRemoteJürg Billeter2020-02-202-9/+10
| | | | | | | | | | SandboxBuildBoxRun doesn't require log forwarding as we use stdout and stderr of the buildbox-run process.
| * cascache.py: Don't trip up on empty digests in fetch_blobs()Jürg Billeter2020-02-201-1/+2
| |
| * tests/integration/autotools.py: Check build logJürg Billeter2020-02-201-0/+8
|/
* Merge branch 'abderrahim/simple-host-files' into 'master'Jürg Billeter2020-02-202-5/+8
|\ | | | | | | | | _project.py: fix the case where a simple string is passed to host-files See merge request BuildStream/buildstream!1820
| * _project.py: fix the case where a simple string is passed to host-filesabderrahim/simple-host-filesAbderrahim Kitouni2020-02-172-5/+8
|/ | | | also add a test