summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2024-12-05GitCAS: remove mutex and locksMaksim Denisov
...since there are no unique_locks any more.
2024-12-05GitRepo: don't reassign git_repository to git_odbMaksim Denisov
...and remove GuardedRepo.
2024-12-05GitCAS: retain git_repository alive.Maksim Denisov
2024-12-05GitCAS: implement method for creation of an empty GitCASMaksim Denisov
...and use it in GitRepo to set custom backends.
2024-12-05GitCAS: remove redundant methodMaksim Denisov
2024-12-05GitCAS: avoid manual memory managementMaksim Denisov
...and fix a potential memory leak in the try-catch for std::filesystem::absolute.
2024-12-05GitCAS: use the same call for openning repository as GitRepo does.Maksim Denisov
2024-12-05GitRepo: keep GuardedRepo unexposed and adjust the interface.Maksim Denisov
2024-12-04Adapt remote test check for actual root-level cache hitsKlaus Aehlig
2024-12-04Rehash root lookup, if building in compatible modeKlaus Aehlig
To avoid unnecessary staging and git imports of computed roots for build in compatible mode, use the rehashing functionality to allow us to compute the git tree of that root in memory.
2024-12-04Cache lookup: support rehash functionKlaus Aehlig
2024-12-04ArtifactsRoot: support rehash-functionKlaus Aehlig
When constructing a git tree out of an artifact stage, support rehashing the artifact digests on the fly, so that artifact stages not based on GitSHA1 can be supported as well.
2024-12-04rehash_utils: add a class for the rehash functionKlaus Aehlig
... to allow a more specific signature when passing around the rehash function.
2024-12-04Test deep rehashing from bazel to GitMaksim Denisov
Cover two cases: 1. The whole tree is present in the source storage; 2. Only the top-level tree is present in the source storage.
2024-12-04Add deep rehashing from bazel::Directories to GitMaksim Denisov
2024-12-04BazelMsgFactory: Add method to create Git tree from bazel DirectoryPaul Cristian Sarbu
2024-12-04Add RehashGitDigest functionMaksim Denisov
2024-12-04Test RehashDigestMaksim Denisov
2024-12-04Add RehashDigest functionMaksim Denisov
2024-12-04Rename MRApiUtils to RehashUtilsMaksim Denisov
2024-12-04config_file: Support PATH from defaultsOliver Reiche
2024-12-03Update CHANGELOGKlaus Aehlig
... with the main fixes included so far.
2024-12-03For FetchIntoODBBackend "Ensure" backend is validMaksim Denisov
2024-12-03Avoid double deletion of git_repository in GuardedRepoMaksim Denisov
2024-12-03JustMR: test computed overlay reposMaksim Denisov
2024-12-03JustMR: add computed overlay repos to reachableMaksim Denisov
2024-12-03JustMR: treat computed roots like any other repositoryMaksim Denisov
...and process their bindings.
2024-12-03JustMR: process overlay repositories during traverseMaksim Denisov
...and remove the second for-loop.
2024-12-03JustMR: replace recursion in traverse with a for-loopMaksim Denisov
2024-12-02Add test verifying that computed-root build are sharded properlyKlaus Aehlig
2024-12-02["end-to-end", "with remote"]: support REMOTE_BINKlaus Aehlig
For tests where we bring our own remote-execution end point, support a directory where executables can be placed that are picked up early in PATH by remote actions. In this way, a test can be designed verifying that a particular action actually was run remotely.
2024-12-02Increase parallelism in just_mr_mpMaksim Denisov
2024-12-02Synchronize initialization of a git repo across processesMaksim Denisov
2024-12-02Add aditional checks to initializations of git reposMaksim Denisov
2024-12-02Replace default value of GitOpValue's result field by std::nullopt.Maksim Denisov
2024-12-02Store keys in CriticalGitOpGuard's mapMaksim Denisov
2024-11-29Clean up unused depsKlaus Aehlig
2024-11-29expression_function: fix depsKlaus Aehlig
There is no such thing as private dependencies of a header-only library
2024-11-29just-lock design: Clarify I/O file location defaultsPaul Cristian Sarbu
2024-11-29just-import-git: Fix foreign config locationPaul Cristian Sarbu
As per documentation, if a location is given for the configuration file in the foreign repository then it must be taken relative to its root. However, in our implementation this location is taken relative to the current directory. Fix this.
2024-11-28Add basic test ensuring computed roots work for remote buildingKlaus Aehlig
While still doing some unnecessary file operations in the local build root, computed roots work also for remote execution, both in native and in compatible mode, also for roots with non-trivial depth. Add a basic test ensuring we do not regress there.
2024-11-28computed roots: restrict in-memory root computation to the supported casesKlaus Aehlig
... and, in this way, avoid git-tree computations with invalid git identifiers.
2024-11-28just-mr-repository-config(5): document format for computed rootsKlaus Aehlig
2024-11-28bin scripts: Use the NoReturn type hintPaul Cristian Sarbu
The NoReturn type hint should be used to ensure the return type of methods calling no-return methods are not falsely enforced to an Optional return type. Add the NoReturn type hint as needed and clear up existing Optional returns together with any corresponding casts affected by the above. While there, also fix formatting.
2024-11-28Ensure gitstrarray gets created with alive pointers.Maksim Denisov
2024-11-28computed roots: add test verifying error reportingKlaus Aehlig
2024-11-28computed roots: properly report failure to materialize rootsKlaus Aehlig
2024-11-28Proposal for just-lockPaul Cristian Sarbu
2024-11-27computed roots: enforce export targets of content-fixed reposKlaus Aehlig
... and look up values in cache, if possible.
2024-11-27Add a library computing, in memory, a git tree from a stageKlaus Aehlig
Computed roots are given as the artifacts stage of a target. However, to be usable as a root, we need the git tree identifier of that root. Therefore, add a library doing this computation, avoiding file-system operations whenever possible.