Age | Commit message (Collapse) | Author | |
---|---|---|---|
2024-09-13 | Check compatibility in readers based on the hash type | Maksim Denisov | |
2024-09-13 | Rename Compatibility class to ProtocolTraits | Maksim Denisov | |
...and move it to the common stage. | |||
2024-09-11 | Use ArtifactDigestFactory in BlobTree | Maksim Denisov | |
...to create ArtifactDigests. | |||
2024-09-11 | Use ArtifactDigestFactory in TreeReaderUtils | Maksim Denisov | |
...to create ArtifactDigests. | |||
2024-09-09 | ExecutionResponse: a missing header | Maksim Denisov | |
2024-09-09 | Use ArtifactDigestFactory casts in readers | Maksim Denisov | |
2024-09-09 | Replace ArtifactDigest::Create | Maksim Denisov | |
...with ArtifactDigestFactory::HashDataAs | |||
2024-09-09 | Generalize GetMissingArtifacts with templated iterators | Maksim Denisov | |
2024-08-30 | Replace bazel_re::Digest in BazelMsgFactory (trees) | Maksim Denisov | |
...with ArtifactDigest. | |||
2024-08-30 | Move artifact_blob_container to a standalone library | Maksim Denisov | |
2024-08-30 | Return the IsTree flag from ArtifactDigest | Maksim Denisov | |
...and replace obvious redundant conversions to bazel_re::Digest, which were done to ensure that the digest represents a tree. | |||
2024-08-07 | Avoid deep copies of containers in responses. | Maksim Denisov | |
2024-08-01 | Execution API: support cwd | Klaus Aehlig | |
... following the remote-execution standard that all output paths (but none of the input paths) are relative to the working directory. Therefore, the executor has to do the path translation. For our implementation of the API interface - the local API now handles cwd correctly, - the remote API forwards cwd correctly, and - the git API continues to report actions as not implemented. | |||
2024-07-30 | ApiBundle: Use a creator method instead of constructor | Paul Cristian Sarbu | |
This will allow for ApiBundle to be used together with the TestApi implementation of IExecutionApi in tests. Also rename CreateRemote method to MakeRemote in order to remove any semantical confusion. | |||
2024-07-30 | ApiBundle: Remove deprecated fields now used via RemoteContext | Paul Cristian Sarbu | |
2024-07-30 | Pass RemoteContext to ApiBundle | Paul Cristian Sarbu | |
The CreateRemote method is also updated to receive all remote-related information as arguments, such that it does not have to rely on the ApiBundle internal fields which will eventually be removed. | |||
2024-07-30 | Pass LocalContext to LocalApi | Paul Cristian Sarbu | |
The context is passed by not_null const pointer to avoid binding to temporaries. The LocalApi also stores the context as const ref for further access and passing it to LocalAction. | |||
2024-07-30 | Pass LocalContext to ApiBundle | Paul Cristian Sarbu | |
2024-07-22 | Rename HashFunction methods and enums | Maksim Denisov | |
2024-07-22 | Use HashFunction from StorageConfig in ApiBundle | Maksim Denisov | |
2024-07-22 | Pass HashFunction to BazelApi | Maksim Denisov | |
2024-07-22 | Use a fixed HashFunction for reading trees | Maksim Denisov | |
2024-07-22 | Use a fixed HashFunction for creation of UUID4 | Maksim Denisov | |
2024-07-22 | Pass HashFunction to ArtifactDigest::Create | Maksim Denisov | |
2024-07-22 | Use HashFunction functionality via Instance() | Maksim Denisov | |
...to track changes during refactoring easier. | |||
2024-07-19 | Pass RetryConfig instance to ApiBundle | Paul Cristian Sarbu | |
Also store a const ref for usage in setting up a fresh ApiBundle during target serve. | |||
2024-07-19 | Pass RetryConfig instance to BazelApi | Paul Cristian Sarbu | |
2024-07-16 | Remove the RemoteExecutionConfig singleton | Paul Cristian Sarbu | |
...and replace it with passed instances created early via a builder pattern. Tests are also updated accordingly. | |||
2024-07-16 | Pass RemoteExecutionConfig instance to ApiBundle | Paul Cristian Sarbu | |
...and store it as a const ref for subsequent use wherever the apis are already passed. | |||
2024-07-16 | Pass LocalExecutionConfig to ApiBundle | Paul Cristian Sarbu | |
2024-07-16 | Pass LocalExecutionConfig to LocalAction and LocalApi | Paul Cristian Sarbu | |
2024-07-12 | Move BazelMsgFactory reading functions to a separate class | Maksim Denisov | |
2024-07-05 | Pass StorageConfig and Storage to LocalApi | Maksim Denisov | |
2024-07-04 | Replace the Auth and Auth::TLS singletons | Paul Cristian Sarbu | |
Use a builder pattern for creation and validation, in a manner that allows also other authentication methods to be added in the future besides the current TLS/SSL. The main Auth instances are built early and then passed by not_null const pointers, to avoid passing temporaries, replacing the previous Auth::TLS instances passed by simple nullable const pointers. Where needed, these passed Auth instances are also stored, by const ref. Tests also build Auth instances as needed, either with the default 'no certification' or from the test environment arguments. | |||
2024-07-04 | Pass Auth::TLS instance to BazelApi and ServeApi | Paul Cristian Sarbu | |
2024-07-04 | Mark more constructors 'explicit' | Paul Cristian Sarbu | |
Since c++17 the 'explicit' keyword has use also for constructors with more than one argument and it is recommended to use it by default whereever implicit conversions are not expected bahaviour. | |||
2024-06-27 | Use a raw pointer for passing optional RepositoryConfig | Maksim Denisov | |
...instead of std::optional<gsl::not_null<RepositoryConfig const*>>. | |||
2024-06-27 | Use a raw pointer for passing optional IExecutionApi | Maksim Denisov | |
...instead of std::optional<gsl::not_null<IExecutionApi const*>> | |||
2024-06-25 | Introduce a type allias for an optional ptr to IExecutionApi | Maksim Denisov | |
...and replace verbose constructions. | |||
2024-06-25 | Make IExecutionApi::Ptr a shared pointer to const | Maksim Denisov | |
...and use it in ApiBundle. | |||
2024-06-25 | Pass IExecutionApi to IExecutionApi by reference | Maksim Denisov | |
...instead of not_null const ptr. | |||
2024-06-25 | Mark IExecutionApi's methods constant | Maksim Denisov | |
2024-06-25 | Remove CreateExecutionApi | Maksim Denisov | |
2024-06-25 | Instantiate LocalApi and BazelApi at once | Maksim Denisov | |
...to properly fallback to local api if needed. | |||
2024-06-07 | Remove unused code. | Maksim Denisov | |
IExecutionApi::UploadFile was introduced to handle adding of a temporary file to the storage. The call was redirected to LocalCAS internal methods that do the similar thing, so this virtual method can be removed. | |||
2024-06-04 | blob containers: Store and upload taking into account content size | Paul Cristian Sarbu | |
Update logic populating containers to use the new method which is aware of the maximum transfer limit. | |||
2024-06-04 | common_api: Add method to help limit memory footprint of containers... | Paul Cristian Sarbu | |
...by proactively calling the Upload method for large blobs and containers as soon as the transfer limit is reached. | |||
2024-06-04 | ContentBlobContainer: Add content size field | Paul Cristian Sarbu | |
As the ContentBlobContainer is used to store actual content needed to be transferred, it is useful to automatically keep track of the running (bytes) size of the data being stored. | |||
2024-05-28 | Use shared_ptr for data in ContentBlob | Maksim Denisov | |
...to reduce the "price" of copying. | |||
2024-05-28 | Use ArtifactBlobContainer in IExecutionApi | Maksim Denisov | |
...instead of BazelBlobContainer to not bring bazel_re::Digest to IExecutionApi. |