Age | Commit message (Collapse) | Author | |
---|---|---|---|
2025-01-23 | ServeApi: Implement DownloadTree | Maksim Denisov | |
2025-01-23 | ServeApi: Implement UploadTree | Maksim Denisov | |
2025-01-23 | ServeApi: Capture ApiBundle and StorageConfig in the ctor. | Maksim Denisov | |
2025-01-22 | serve client: support keep_artifact_root | Klaus Aehlig | |
2025-01-22 | serve service: honor keep_artifact_root | Klaus Aehlig | |
2025-01-22 | Source-tree service: accept lock reference | Klaus Aehlig | |
... so that tagging in the associated git root can be synchronized with other services provided by just serve. | |||
2025-01-22 | Serve protocol: support keeping the artifact stage as root | Klaus Aehlig | |
In the serve protocol, extend ServeTargetRequest by a flag indicating that the client whishes the server to keep the artifact stage as an additional root. In this way, if a computed root is built on serve it can be used as an absent root without additional communication overhead. | |||
2025-01-21 | TreeStructure: Compute on serve | Maksim Denisov | |
2025-01-21 | TreeStructure: Extend just-serve's proto | Maksim Denisov | |
2025-01-15 | Use GitRepo::IsTreeInRepo in target utils | Maksim Denisov | |
2025-01-15 | Use GitRepo::IsTreeInRepo in SourceTreeService | Maksim Denisov | |
2025-01-15 | Use GitRepo::ImportToGit in SourceTreeService | Maksim Denisov | |
2025-01-08 | source tree service: Fix ensuring Git cache root | Paul Cristian Sarbu | |
This is an amendment to the changes in commit 8234079, as the underlying issue was only partially solved there. While the call to GitRepo::InitAndOpen is in itself properly guarded, it does not share a lock with the call to create the path to the Git cache if it is missing. Fix this by moving the call to the method ensuring the Git cache initialization to after acquiring the Git cache root garbage collector shared lock. | |||
2025-01-07 | source tree service: Ensure the Git cache exists | Paul Cristian Sarbu | |
Similarly to just-mr, each SourceTree RPC must ensure that the Git cache folder exists and the Git cache repository is initialized before using it. While there, fix missing shared locks on the Git cache root. | |||
2025-01-07 | Implement rebuilding of StorageConfig | Maksim Denisov | |
2025-01-07 | Add backend description to CAS in a ctor of TargetCache | Maksim Denisov | |
...instead of adding it preliminarily. | |||
2025-01-07 | TargetCache: use BackendDescription for sharding instead of a plain string | Maksim Denisov | |
2025-01-07 | TargetCache: employ the shard even for a default constructed object | Maksim Denisov | |
...since this is a more generic approach. | |||
2025-01-07 | Pack BackendDescription to a class | Maksim Denisov | |
...to let it be stored as an independent instance. | |||
2024-12-19 | Remove unneeded compat_storage | Oliver Reiche | |
2024-12-19 | Remove unnecessary moves | Oliver Reiche | |
2024-12-09 | Move garbage_collector to a separate library | Maksim Denisov | |
2024-12-09 | Use expected to return an error from ParseRoot | Maksim Denisov | |
2024-12-09 | Localize error_msg argument of ParseRoot | Maksim Denisov | |
...and use expected to replace it. | |||
2024-12-04 | Rename MRApiUtils to RehashUtils | Maksim Denisov | |
2024-11-20 | Return ResultTargetMap from analysis | Maksim Denisov | |
...instead of filling in a map passed from the outside. | |||
2024-11-20 | Serve service: properly lock git operations against each other | Klaus Aehlig | |
... by using an exclusive lock. A lock of which only ever shared instances are requested has no synchronisation effect. Fix this. | |||
2024-11-14 | serve_api: Implement IWYU suggestions | Paul Cristian Sarbu | |
2024-10-29 | Clean up unused dependencies | Klaus Aehlig | |
2024-10-25 | Add dependencies explicitly that are included directly | Klaus Aehlig | |
... instead of relying on those dependencies being pulled in indirectly. | |||
2024-10-25 | Enable compatible mode for just-mr and SourceTree serve service... | Paul Cristian Sarbu | |
...by using the new local api that can handle any remote endpoint, irrespective of protocol. Also ensure all tests for the serve service are now being run both in native and compatible modes. | |||
2024-10-25 | serve service: Set correct protocol-aware digests in responses | Paul Cristian Sarbu | |
When returning digests in responses, ensure they are of the type the remote would know. Compatible digests can be found vis the stored mappings from Git digests to bazel objects. | |||
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 | 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-10 | Remove from OSS intersecting public-private dependencies | Maksim Denisov | |
2024-10-07 | Enable readability-redundant-member-init check. | Maksim Denisov | |
2024-10-07 | Enable bugprone-exception-escape check | Maksim Denisov | |
2024-09-23 | Reorder dependencies and remove duplicates in OSS | Maksim Denisov | |
2024-09-17 | Small code improvements based on lint warnings | Paul Cristian Sarbu | |
- add more noexcept requirements and enforce existing - fixing inconsistencies related to function arguments - remove redundant static keywords - silencing excessive lint reporting in test cases While there, make more getters const ref. | |||
2024-09-13 | Check compatibility in serve services based on the hash type | Maksim Denisov | |
2024-09-13 | Pass HashFunction::Type to ConfigurationService | Maksim Denisov | |
...to get the protocol type. | |||
2024-09-13 | Pass HashFunction::Type to CapabilitiesServer | Maksim Denisov | |
...to get the protocol type. | |||
2024-09-13 | Rename Compatibility class to ProtocolTraits | Maksim Denisov | |
...and move it to the common stage. | |||
2024-09-12 | coding style: use qualified call to std::move | Klaus Aehlig | |
2024-09-11 | Use ArtifactDigestFactory in TargetService | Maksim Denisov | |
...to create ArtifactDigests. | |||
2024-09-11 | Use ArtifactDigestFactory in SourceTreeService | Maksim Denisov | |
...to create ArtifactDigests. |