Age | Commit message (Collapse) | Author | |
---|---|---|---|
2023-01-24 | GitRepo: Remove refspec argument in retrieving commit from remote... | Paul Cristian Sarbu | |
...and use instead the branch name. A valid direct refspec (as those retrieved by a remote_ls call) will always end in the branch name, so checking the last path component ('/'-delimited substring) of a retrieved refspec is enough. | |||
2023-01-24 | GitRepo: Change FetchFromRemote to fetch based on branch name | Paul Cristian Sarbu | |
This also removes the need to call the GET_BRANCH_REFNAME critical operation. | |||
2023-01-20 | Add local garbage collection | Sascha Roloff | |
2023-01-20 | Cleanup local CAS dependency for repository config | Sascha Roloff | |
2022-12-21 | Crypto: Add SHA512 hasher | Paul Cristian Sarbu | |
Needed by the content-in-CAS git map to check fetched archives' checksums. SHA1 and SHA256 hashers are already implemented. | |||
2022-12-21 | FS Manager: Add CopyDirectoryImpl method | Paul Cristian Sarbu | |
2022-12-21 | Test: Add tests for git repo class | Paul Cristian Sarbu | |
2022-12-21 | Git CAS: Move Git tree ops to fake repo wrapper class | Paul Cristian Sarbu | |
2022-12-14 | Test: Remove git bundle dependency from base_maps tests | Paul Cristian Sarbu | |
2022-12-14 | Test: Remove git bundle dependency from file_system tests | Paul Cristian Sarbu | |
2022-12-09 | rules: Refactoring and minor improvements | Oliver Reiche | |
Compared to the previous commit, the action graphs for just and its unit tests are unchanged. - Git hash of action graph for ["",""]: c6e75f17abd7ffaab6ff9bb725ad67ec0bf6c973 - Git hash of action graph for ["test/buildtool","TESTS"]: 8063dfb3dd7daa9ae01d95c177e14946f785c57e Refactor: - "local cflags" to "private-cflags" - "local defines" to "private-defines" - "link externals" to "private-ldflags" - "deps" to "private-deps" for (test) binaries - "proto" to "private-proto" for binaries Improvements: - consistent variable declaration order: OS, ARCH, HOST_ARCH, TARGET_ARCH, CC, CXX, CFLAGS, CXXFLAGS, ADD_CFLAGS, ADD_CXXFLAGS, AR, ENV, PATH - use fields close to their definition (in RULES) - use common expression for binaries and test binaries - split expression "flags" and "compiler" ... to separate ones for CC and CXX. - rename "transition" to "deps-transition" ... to avoid conflicts with other transitions. - support "defaults-transition" for CC expressions Implement: - "cflags" for libraries - "private-cflags" for (test) binaries - "private-defines" for test binaries - "private-ldflags" for test binaries - (public) "defines" for libraries | |||
2022-11-24 | Fix root directory upload to honor tree invariant. | Sascha Roloff | |
2022-11-21 | Use the newly-added concept of private-deps | Klaus Aehlig | |
While there, also add all direct dependencies explicitly; using directly dependencies that are pulled in only indireclty causes problems from a maintainability point of view. | |||
2022-10-14 | Remove default value of ArtifactDigest::Create template parameter | Sascha Roloff | |
This enforces the explicit specification, which object type, either file or tree, should be used to create an artifact digest. This also avoids subtile errors at locations as in the previous commit, where files as well as trees are supposed to be handled, but digest creation mistakenly defaults to file object type. | |||
2022-10-12 | Add copyright and license notice to all source and header files | Klaus Aehlig | |
Signed-off-by: Goetz Brasche <goetz.brasche@huawei.com> | |||
2022-10-07 | LocalTreeMap: Drop the use of the map entirely | Oliver Reiche | |
... as for remote execution, the map entries are only used for the `install` subcommand. For local execution, much less tree objects are read from CAS when using this map. However, the performance benefit is barely measurable and therefore we rather remove this map entirely to reduce complexity. | |||
2022-10-05 | Test: Add tests for 'configure' built-in | Oliver Reiche | |
2022-10-05 | Test: Add tests for 'env' expression | Oliver Reiche | |
2022-10-05 | AnalysedTarget: Make shared pointer's content immutable | Oliver Reiche | |
... while technically not required, it makes it harder to run into nasty errors. | |||
2022-09-13 | Fix build with gcc/g++ | Oliver Reiche | |
2022-09-12 | Adapted Executor to upload known artifacts from local CAS to remote CAS in ↵ | Sascha Roloff | |
case they got pruned | |||
2022-09-12 | Introduced RetrieveToCas function in IExecutionApi to synchronize artifacts ↵ | Sascha Roloff | |
between different CASes | |||
2022-08-31 | Also track the the dependencies on configured targets | Klaus Aehlig | |
... to be able to report the respective graph for later analysis by other tools. | |||
2022-08-05 | InstallCas: Moved install-cas code to separate library | Oliver Reiche | |
2022-08-05 | BazelNetwork: Use bytestream for reading unknown size blobs | Oliver Reiche | |
... otherwise actual blob size might exceed the maximum transfer size of the CAS client. Therefore, we always have to use the bytestream client if the size is unknown. | |||
2022-08-05 | CLI: Add flag for dumping raw tree objects | Oliver Reiche | |
2022-08-05 | Introduced batch availability check for remote execution api | Sascha Roloff | |
2022-08-05 | Modified artifact digest to provide wire digest on demand | Sascha Roloff | |
2022-08-05 | GitCAS: Support reading/creating trees without filesystem IO | Oliver Reiche | |
2022-08-05 | GitCAS: Add create tree via libgit2's treebuilder | Oliver Reiche | |
2022-08-05 | GitCAS: Implement reading git tree via libgit2 | Oliver Reiche | |
2022-07-28 | Executor Test: Add proper guards for optionals | Oliver Reiche | |
2022-07-08 | In install-cas be more liberal in parsing artifact identifiers | Klaus Aehlig | |
2022-07-07 | Traverser: Bring task system down gracefully on error | Oliver Reiche | |
2022-07-07 | TaskSystem: Implement shutdown | Oliver Reiche | |
2022-07-06 | TaskSystem: Support wait for finish | Oliver Reiche | |
2022-07-06 | TaskSystem: Fix early shutdown | Oliver Reiche | |
... conceptually, it was possible that a previous task decrements the `num_threads_running_` counter before it is incremented by the next task. Therefore, we have to unify the queue and thread status in a single counter (`total_workload_`) and ensure that woken threads increment it before decrementing it for popping a queue. | |||
2022-07-04 | Drop copy constructor for expressions | Oliver Reiche | |
2022-06-20 | Repository representation: also use string as name in bindings | Klaus Aehlig | |
In this way, we keep the repsitory description more close to a normal multi-repository configuration. The only difference remaining is the absence of repository locations for git-tree roots. | |||
2022-06-20 | Crypto: Refactor hash computation | Oliver Reiche | |
... by renaming HashGenerator to (incremental) Hasher and dropping support for Git/MD5 hashes. The Hasher does not expose the actual hash implementation. | |||
2022-06-20 | Crypto: Add tests for globally used hash functions | Oliver Reiche | |
2022-06-20 | Crypto: Add and use set of globally used hash functions | Oliver Reiche | |
2022-06-13 | GraphTraverser: Add support for extra artifacts | Oliver Reiche | |
2022-06-13 | ArtifactDescription: Add ref getter for id and C++ hash | Oliver Reiche | |
2022-06-13 | RemoteExecutionConfig: Keep global platform properties | Oliver Reiche | |
... and cache endpoint address for rebuilding. | |||
2022-06-13 | RepoConfig: Add tests for key computation | Oliver Reiche | |
2022-06-13 | GitTree: Simplify tests | Oliver Reiche | |
2022-06-09 | Disallow upwards-facing inputs in actions and tree constructors | Klaus Aehlig | |
2022-05-31 | "enumerate" expression: add padding to 10 characters | Klaus Aehlig | |
2022-05-31 | improve file_system_manager test | Alberto Sartori | |
test hard-link capabilities on self generated file instead of relying on right permissions of the input file. |