Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | _sandboxbuildboxrun.py: Fix signal handlingjuerg/buildbox-signals | Jürg Billeter | 2020-03-02 | 1 | -2/+17 |
| | | | | | This fixes resume in non-interactive mode and job control in interactive shells, matching the behavior of `SandboxBwrap`. | ||||
* | _sandboxreapi.py: Support read-only rootjuerg/reapi-readonly | Jürg Billeter | 2020-02-27 | 1 | -3/+10 |
| | |||||
* | _sandboxreapi.py: Ensure mount points exist | Jürg Billeter | 2020-02-27 | 1 | -4/+18 |
| | |||||
* | _casbaseddirectory.py: Add _set_subtree_read_only() method | Jürg Billeter | 2020-02-27 | 1 | -0/+9 |
| | |||||
* | _casbaseddirectory.py: Add support for directory node properties | Jürg Billeter | 2020-02-27 | 1 | -0/+7 |
| | |||||
* | _casbaseddirectory.py: Fix _create_empty_file() | Jürg Billeter | 2020-02-27 | 1 | -1/+1 |
| | |||||
* | _casbaseddirectory.py: Fix _exists() | Jürg Billeter | 2020-02-27 | 1 | -3/+3 |
| | | | | It should return True for directories and symlinks as well. | ||||
* | _sandboxreapi.py: Support optional network access | Jürg Billeter | 2020-02-27 | 2 | -1/+4 |
| | | | | This is used by `bst shell`. | ||||
* | _sandboxreapi.py: Set unixUID and unixGID platform properties | Jürg Billeter | 2020-02-27 | 2 | -6/+20 |
| | |||||
* | _sandboxreapi.py: Set OSFamily and ISA platform properties | Jürg Billeter | 2020-02-27 | 1 | -1/+6 |
| | |||||
* | Canonicalize OS name | Jürg Billeter | 2020-02-27 | 2 | -5/+14 |
| | | | | This matches the REAPI platform lexicon. | ||||
* | _sandboxremote.py: Support stdout and stderr digestsjuerg/reapi-log | Jürg Billeter | 2020-02-20 | 1 | -2/+12 |
| | | | | Fetch blobs from remote CAS and then forward them to the sandbox output. | ||||
* | sandbox: Move log forwarding from SandboxREAPI to SandboxRemote | Jürg Billeter | 2020-02-20 | 2 | -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 Billeter | 2020-02-20 | 1 | -1/+2 |
| | |||||
* | _project.py: fix the case where a simple string is passed to host-filesabderrahim/simple-host-files | Abderrahim Kitouni | 2020-02-17 | 1 | -1/+1 |
| | | | | also add a test | ||||
* | element.py: Reimplement support for incremental workspace builds | Jürg Billeter | 2020-02-11 | 1 | -11/+56 |
| | |||||
* | buildelement.py: Use marker file to avoid rerunning configure | Jürg Billeter | 2020-02-11 | 2 | -9/+28 |
| | |||||
* | sandbox: Add _create_empty_file() method | Jürg Billeter | 2020-02-11 | 2 | -1/+48 |
| | |||||
* | _filebaseddirectory.py: Add _create_empty_file() method | Jürg Billeter | 2020-02-11 | 1 | -0/+4 |
| | |||||
* | _casbaseddirectory.py: Add _create_empty_file() method | Jürg Billeter | 2020-02-11 | 1 | -0/+8 |
| | |||||
* | _artifact: Import workspaced artifacts with mtimes | Darius Makovsky | 2020-02-11 | 1 | -2/+3 |
| | |||||
* | element.py: Add MTime to output_node_properties for workspaced elements | Jürg Billeter | 2020-02-11 | 1 | -0/+7 |
| | | | | | For incremental workspace builds we need to retain file timestamps in buildtrees. | ||||
* | _sandboxreapi.py: Support setting output_node_properties | Jürg Billeter | 2020-02-11 | 1 | -0/+7 |
| | |||||
* | element.py: Store sources vdir when caching buildtrees | Jürg Billeter | 2020-02-11 | 2 | -2/+14 |
| | | | | | | This will be used for incremental (workspace) builds. Always store sources when already caching buildtrees. The overhead is expected to be negligible as the buildtree is normally a superset of the sources. | ||||
* | _artifact.py: Add helper methods for new sources field | Jürg Billeter | 2020-02-11 | 1 | -0/+28 |
| | |||||
* | artifact.proto: Add sources field | Jürg Billeter | 2020-02-11 | 2 | -13/+24 |
| | | | | This will be used for incremental builds. | ||||
* | sandbox: Remove unused _SandboxBatchCall | Jürg Billeter | 2020-02-11 | 2 | -20/+0 |
| | |||||
* | _artifact.py: Remove unused get_metadata_dependencies() method | Jürg Billeter | 2020-02-11 | 1 | -19/+0 |
| | |||||
* | _artifact.py: Remove unused rootdir parameter from cache() method | Jürg Billeter | 2020-02-11 | 2 | -6/+5 |
| | |||||
* | utils.py: Remove unused FileListResult.combine() method | Jürg Billeter | 2020-02-11 | 1 | -12/+0 |
| | |||||
* | cascache.py: Remove unused diff_trees() method | Jürg Billeter | 2020-02-11 | 1 | -68/+0 |
| | |||||
* | _artifactcache.py: Remove unused diff() method | Jürg Billeter | 2020-02-11 | 1 | -27/+0 |
| | |||||
* | element.py: stage_artifact(): Drop unused update_mtimes parameter | Jürg Billeter | 2020-02-11 | 1 | -26/+2 |
| | |||||
* | _workspaces: Rename `last_successful` to `last_build` | Darius Makovsky | 2020-02-11 | 5 | -15/+15 |
| | | | | | | The new incremental build approach uses the buildtree from the last build (successful or not) and no longer needs to know any information about the last successful build. | ||||
* | _workspaces.py: Drop `prepared` | Jürg Billeter | 2020-02-11 | 2 | -5/+2 |
| | | | | | | This will no longer be used in incremental builds. Successful configure commands will be recorded with a marker file in the buildtree of the last build artifact. | ||||
* | _workspaces.py: Drop `running_files` | Jürg Billeter | 2020-02-11 | 2 | -88/+4 |
| | | | | | | This will no longer be used in incremental builds. As source and build files are separated now, we can trigger a clean rebuild when dependencies change. | ||||
* | _workspaces.py: Increment format version, drop support for old versions | Jürg Billeter | 2020-02-11 | 1 | -31/+9 |
| | | | | | Do not accept old versions as bst 1.x workspaces do not separate source and build files. | ||||
* | _workspaces.py: Remove unused stage() method | Jürg Billeter | 2020-02-11 | 1 | -15/+0 |
| | |||||
* | _casbaseddirectory.py: Add assert to IndexEntry.get_directory() | Jürg Billeter | 2020-02-11 | 1 | -0/+1 |
| | |||||
* | storage: Remove unused Directory.set_deterministic_mtime() | Jürg Billeter | 2020-02-11 | 3 | -14/+0 |
| | |||||
* | element.py: Cache buildtrees by default for workspace builds | Jürg Billeter | 2020-02-11 | 1 | -1/+1 |
| | | | | | The buildtree of the previous build is required for incremental workspace builds. | ||||
* | _sandboxreapi.py: Optimize output_directoriesjuerg/sandbox-reapi-capture | Jürg Billeter | 2020-02-11 | 1 | -32/+33 |
| | | | | | | Do not capture read-only directories. Fixes #1223. | ||||
* | cascache.py: Remove unused _get_subdir() methodjuerg/remove-unused | Jürg Billeter | 2020-02-10 | 1 | -16/+0 |
| | |||||
* | utils.py: Drop device node support from _process_list() | Jürg Billeter | 2020-02-10 | 1 | -11/+0 |
| | | | | | This should not be needed. For non-privileged users `mknod()` will anyway fail. Let's consistently mark it as unsupported. | ||||
* | sandbox: Remove unused _mounter.py | Jürg Billeter | 2020-02-10 | 1 | -148/+0 |
| | |||||
* | _casbaseddirectory.py: Use the new _add_entry where possibletlater/CASdiff | Tristan Daniël Maat | 2020-02-05 | 1 | -9/+2 |
| | |||||
* | _casbaseddirectory.py: Implement `_apply_changes` | Tristan Maat | 2020-02-05 | 1 | -3/+112 |
| | | | | | | | This applies the changes between two CAS directories to a third, avoiding exposure of our internal IndexEntry objects. This is part of CAS support for incremental workspace builds (#985). | ||||
* | _casbaseddirectory.py: Refactor _add_file | Tristan Maat | 2020-02-05 | 1 | -7/+14 |
| | | | | | For some reason we were directly modifying fields on the object although they can be set comfortably using the constructor. | ||||
* | workspace.py: Import mtimes when staging | Darius Makovsky | 2020-02-05 | 1 | -1/+1 |
| | |||||
* | element.py: Do not discard explicitly set mtime of source files | Darius Makovsky | 2020-02-05 | 1 | -4/+3 |
| | | | | | | | Use the `update_mtime` parameter of `Directory.import_files()` instead of calling `set_deterministic_mtime()` such that BST_ARBITRARY_TIMESTAMP is applied only for source files that don't already have an explicitly set mtime (MTime node property in CAS). |