Age | Commit message (Collapse) | Author | |
---|---|---|---|
2024-10-25 | serve service: Use digest when requesting serve to set up a tree | Paul Cristian Sarbu | |
...instead of passing just the Git hash, which imposes the remote to always be native. The serve service proto file is updated accordingly. | |||
2024-10-25 | serve service: Respond with digest for blob and tree checks | Paul Cristian Sarbu | |
...to be able to interrogate remotes irrespective of protocol. When serve endpoint is active, it will provide the correct digest with which to interrogate the remote endpoint. Otherwise, for a compatible remote check the file mappings for the correct digest. The serve service proto file is updated accordingly. | |||
2024-10-25 | serve service: Respond also with digest in serve repository tree RPCs | Paul Cristian Sarbu | |
...besides the simple Git hash, if syncing was done. This way one can know what digest to ask for from the remote. The serve client also needs to now know what hash function the remote expects. The serve service proto file is updated accordingly. | |||
2024-10-25 | serve proto: Fix inconsistencies in referring to Git | Paul Cristian Sarbu | |
2024-10-25 | just-mr and SourceTree: Use new Git execution api instance | Paul Cristian Sarbu | |
In just-mr: to instantiate the new Git api instance, both storage configs, as well as the compatible storage, need to be passed to the maps. While there, use more explicit naming schemes for the storage and CAS instances used. In serve: also acquire gc locks for the local storages when needed to instantiate the new Git api, which now has access to the CAS. In all these instances we also pass, as needed, the local api, which currently still operates only in native mode. This makes no difference currently, but will ensure less changes needed when the future compatible-aware local api will be used instead. | |||
2024-10-25 | Add new Git execution api that can interact with any remote | Paul Cristian Sarbu | |
...irrespective of the used protocol. This api is useful in enabling just-mr and the SourceTree service of just serve to interact seamlessly with any remote-execution endpoint. | |||
2024-10-25 | serve service: Give SourceTreeService access to both local storages | Paul Cristian Sarbu | |
...native and compatible, even if currently only native is active. While there, be more explicit in which storage instance is being used. | |||
2024-10-25 | just-mr: Instantiate both native and compatible storages... | Paul Cristian Sarbu | |
...to be later passed to maps that might need them. This is a preparatory commit. Currently only the native storage is actively being used. | |||
2024-10-25 | just-mr: Use explicit naming in default instantiated storage | Paul Cristian Sarbu | |
As just-mr will always create Git roots, be explicit in the names of variables to state that the default storage created is native. | |||
2024-10-25 | Add utility methods for digest mappings | Paul Cristian Sarbu | |
These allow to read and write file associations between known digests in different CAS instances. | |||
2024-10-25 | Test deep rehashing of Git trees to bazel Directories | Maksim Denisov | |
Co-authored-by: Paul Cristian Sarbu <paul.cristian.sarbu@huawei.com> | |||
2024-10-25 | BazelMsgFactory: Add method to create bazel Directory from Git tree | Paul Cristian Sarbu | |
2024-10-25 | StorageUtils: Add generation-aware rehashing ID file map | Paul Cristian Sarbu | |
Such a file could be used to store mappings of digests from CAS or Git cache to digests of different hash type that represent same content. | |||
2024-10-25 | ArtifactDigest: Add getter for hash function type | Paul Cristian Sarbu | |
2024-10-25 | just-mr: Small fixes | Paul Cristian Sarbu | |
2024-10-25 | distdir_git_map.cpp: fix is_tree value | Alberto Sartori | |
2024-10-25 | content_cas_map: Fix missing return after logging fatal | Paul Cristian Sarbu | |
2024-10-25 | ObjectInfo: Fix digest creation in FromString | Paul Cristian Sarbu | |
The digest tree check should take into account the protocol. Also add a TODO to point out the currently needed code duplication. | |||
2024-10-25 | bazel_execution_client.test.cpp: add a comment to explain the meaning of the ↵ | Alberto Sartori | |
boolean "wait" | |||
2024-10-25 | bugfix: bazel_network.cpp: fix handling of ongoing actions | Alberto Sartori | |
The rpc Execution::Execute returns stream google.longrunning.Operation. When the client reads the stream, the server can report that the operation is still in progress and the client has to wait. Before this patch, we were not checking for this particular condition. As a result, an ongoing action was interpreted as an execution failure. | |||
2024-10-23 | Update rules reference in tutorial | Klaus Aehlig | |
2024-10-23 | expressions: enforce strict arguments for "join" and "join_cmd"v1.4.0-alpha+20241023 | Klaus Aehlig | |
... as described in the documentation. It was never intended to have a single string being an argument for those. | |||
2024-10-23 | pkgconfig rules: fix usage of "join_cmd" | Klaus Aehlig | |
2024-10-22 | just_complete.bash: add missing subcommands | Alberto Sartori | |
2024-10-22 | clang toolchain: add -fdebug-compilation-dir=. in debug mode | Klaus Aehlig | |
... to allow reproducible debug builds. Unfortunately, gcc does not support such an option. | |||
2024-10-22 | Update libarchive to 3.7.7 | Klaus Aehlig | |
2024-10-21 | shell defaults: properly deduplicate "bin dirs" to the left | Klaus Aehlig | |
2024-10-21 | configured_target: honor --expression-log-limit when shortening representation | Klaus Aehlig | |
2024-10-21 | Update lzma to 5.6.3 | Klaus Aehlig | |
2024-10-11 | Routinely run tests with compatible remote services | Klaus Aehlig | |
2024-10-10 | third-party: update fmt, cli11, zlib | Klaus Aehlig | |
Those are trivial dependency updates without the need to change the build description. The new versions now are - fmt 11.0.2 - cli11 2.4.2 - zlib 1.3.1 | |||
2024-10-10 | bootstrap traversing: for explicit trees, create closed directories | Klaus Aehlig | |
... by recursively copying and resolving sybolic links. In this way, references within a tree (e.g., #include "../Something.hpp") do not confuse the compiler, as opposed to directory symlinks. Neverthess, by doing this copying only for tree constructors, we still keep the overhead acceptable. | |||
2024-10-10 | Remove from OSS intersecting public-private dependencies | Maksim Denisov | |
2024-10-09 | doc: fix a typo | Alberto Sartori | |
2024-10-08 | tests: use --dump-plain-graph to simplify equality check | Klaus Aehlig | |
2024-10-08 | just analyse: support dumping the action graph without origins | Klaus Aehlig | |
The origins of actions are useful for understanding the action graph; if, however, the action graph is only to be used for further computaiton, this is unnecessary information. Therefore, add an option to dump the action graph without origins. | |||
2024-10-08 | Name local variables using lower_case | Maksim Denisov | |
...and private members using lower_case_ | |||
2024-10-08 | Name value template parameters using kCamelCase. | Maksim Denisov | |
2024-10-08 | Name constant members using kCamelCase. | Maksim Denisov | |
2024-10-08 | Name global constants using kCamelCase. | Maksim Denisov | |
2024-10-08 | Name constexpr variables using kCamelCase. | Maksim Denisov | |
2024-10-08 | Name static constants using kCamelCase. | Maksim Denisov | |
2024-10-08 | Name type template parameters using CamelCase. | Maksim Denisov | |
2024-10-08 | Name classes, structs and enums using CamelCase. | Maksim Denisov | |
2024-10-07 | Disable skipped checks totally and treat all warnings as errors. | Maksim Denisov | |
2024-10-07 | Enable cppcoreguidelines-* checks. | Maksim Denisov | |
2024-10-07 | Disable misc-no-recursion check | Maksim Denisov | |
...since we use recursion for trees a lot, but skip this check manually. | |||
2024-10-07 | Enable misc-* checks. | Maksim Denisov | |
2024-10-07 | Enable readability-* checks. | Maksim Denisov | |
2024-10-07 | Enable readability-redundant-member-init check. | Maksim Denisov | |