summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* _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`.
* _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.
* _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
|
* Canonicalize OS nameJürg Billeter2020-02-272-5/+14
| | | | This matches the REAPI platform lexicon.
* _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
|
* _project.py: fix the case where a simple string is passed to host-filesabderrahim/simple-host-filesAbderrahim Kitouni2020-02-171-1/+1
| | | | also add a test
* element.py: Reimplement support for incremental workspace buildsJürg Billeter2020-02-111-11/+56
|
* buildelement.py: Use marker file to avoid rerunning configureJürg Billeter2020-02-112-9/+28
|
* sandbox: Add _create_empty_file() methodJürg Billeter2020-02-112-1/+48
|
* _filebaseddirectory.py: Add _create_empty_file() methodJürg Billeter2020-02-111-0/+4
|
* _casbaseddirectory.py: Add _create_empty_file() methodJürg Billeter2020-02-111-0/+8
|
* _artifact: Import workspaced artifacts with mtimesDarius Makovsky2020-02-111-2/+3
|
* element.py: Add MTime to output_node_properties for workspaced elementsJürg Billeter2020-02-111-0/+7
| | | | | For incremental workspace builds we need to retain file timestamps in buildtrees.
* _sandboxreapi.py: Support setting output_node_propertiesJürg Billeter2020-02-111-0/+7
|
* element.py: Store sources vdir when caching buildtreesJürg Billeter2020-02-112-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 fieldJürg Billeter2020-02-111-0/+28
|
* artifact.proto: Add sources fieldJürg Billeter2020-02-112-13/+24
| | | | This will be used for incremental builds.
* sandbox: Remove unused _SandboxBatchCallJürg Billeter2020-02-112-20/+0
|
* _artifact.py: Remove unused get_metadata_dependencies() methodJürg Billeter2020-02-111-19/+0
|
* _artifact.py: Remove unused rootdir parameter from cache() methodJürg Billeter2020-02-112-6/+5
|
* utils.py: Remove unused FileListResult.combine() methodJürg Billeter2020-02-111-12/+0
|
* cascache.py: Remove unused diff_trees() methodJürg Billeter2020-02-111-68/+0
|
* _artifactcache.py: Remove unused diff() methodJürg Billeter2020-02-111-27/+0
|
* element.py: stage_artifact(): Drop unused update_mtimes parameterJürg Billeter2020-02-111-26/+2
|
* _workspaces: Rename `last_successful` to `last_build`Darius Makovsky2020-02-115-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 Billeter2020-02-112-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 Billeter2020-02-112-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 versionsJürg Billeter2020-02-111-31/+9
| | | | | Do not accept old versions as bst 1.x workspaces do not separate source and build files.
* _workspaces.py: Remove unused stage() methodJürg Billeter2020-02-111-15/+0
|
* _casbaseddirectory.py: Add assert to IndexEntry.get_directory()Jürg Billeter2020-02-111-0/+1
|
* storage: Remove unused Directory.set_deterministic_mtime()Jürg Billeter2020-02-113-14/+0
|
* element.py: Cache buildtrees by default for workspace buildsJürg Billeter2020-02-111-1/+1
| | | | | The buildtree of the previous build is required for incremental workspace builds.
* _sandboxreapi.py: Optimize output_directoriesjuerg/sandbox-reapi-captureJürg Billeter2020-02-111-32/+33
| | | | | | Do not capture read-only directories. Fixes #1223.
* cascache.py: Remove unused _get_subdir() methodjuerg/remove-unusedJürg Billeter2020-02-101-16/+0
|
* utils.py: Drop device node support from _process_list()Jürg Billeter2020-02-101-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.pyJürg Billeter2020-02-101-148/+0
|
* _casbaseddirectory.py: Use the new _add_entry where possibletlater/CASdiffTristan Daniël Maat2020-02-051-9/+2
|
* _casbaseddirectory.py: Implement `_apply_changes`Tristan Maat2020-02-051-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_fileTristan Maat2020-02-051-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 stagingDarius Makovsky2020-02-051-1/+1
|
* element.py: Do not discard explicitly set mtime of source filesDarius Makovsky2020-02-051-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).