summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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.
2024-11-27JustMR: Test setup of computed rootsMaksim Denisov
2024-11-27JustMR: Setup computed repositoriesMaksim Denisov
2024-11-27JustMR: Add computed repos and their targets to reachableMaksim Denisov
2024-11-27JustMR: Parse computed repositoriesMaksim Denisov
2024-11-26repository-config(5): fix wording to clarify that "main" is optionalKlaus Aehlig
2024-11-25Fix unchecked access to FileRootMaksim Denisov
2024-11-22AnalyseAndBuild: also write target-level cache entriesKlaus Aehlig
While there, also clean up the analysis result as soon as it is no longer needed.
2024-11-22build_utils: fix doc stringKlaus Aehlig
When the signature changed in df4ac66b272d1e26df42855143dda79fc268b558, the doc string should have been adapted as well. Do this now.
2024-11-22Computed roots: use separate statistics for each root evaluationKlaus Aehlig
... instead of mixing up the counting with the global action count, that then would exceed the top-level discovered actions.
2024-11-21Computed-roots evaluation: improve reportingKlaus Aehlig
For subcomputations add the log to CAS and only report the blob identifier. Also, indicate at the beginning, that computed roots are to be computed. While there, simplify code by using the ToString() method of computed roots.
2024-11-21FileRoot::ComputedRoot: add ToString() methodKlaus Aehlig
2024-11-21AnalyseAndBuild: properly pass the loggerKlaus Aehlig
... also to the ToResult method of the result map.
2024-11-21ObjectCas: demote log message on absent blob to traceKlaus Aehlig
The way we use our object cas, it is not unsual that a blob asked for is not present. Therefore, logging this at debug level floods that level with too many messages irrelevant for debugging. Fix this, be demoting to trace level.
2024-11-21just-repository-config(5): Document the format for computed rootsKlaus Aehlig
... now that a basic implementation is available.