Age | Commit message (Collapse) | Author | |
---|---|---|---|
2024-09-09 | Validate bazel_re::Digests in BazelDigestFactory | Maksim Denisov | |
2024-09-09 | Remove redundant operator less | Maksim Denisov | |
...from ObjectInfo and ArtifactDigest | |||
2024-08-30 | Cast ArtifactDigest to bazel_re::Digest explicitly | Maksim Denisov | |
...to simplify further refactoring. | |||
2024-08-30 | Use BazelDigestFactory to create bazel_re::Digest directly if needed | Maksim Denisov | |
...bypassing ArtifactDigest functionality. | |||
2024-08-30 | Return ArtifactDigest from LocalCAS::Store | 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-27 | Also retry on DEADLINE_EXCEEDED | Klaus Aehlig | |
... as those typically are of transient nature as well. | |||
2024-08-07 | Remove unused code from Artifact::ObjectInfo | Maksim Denisov | |
Deserialization from json is used in a single test only | |||
2024-08-07 | Replace classic C boolean operators with keywords | Maksim Denisov | |
! => not; && => and, || => or | |||
2024-08-01 | class Action: include field cwd | Klaus Aehlig | |
... for the working directory inside the action directory. | |||
2024-07-22 | cli: Make info_file type consistent | Paul Cristian Sarbu | |
Both the serve and execution servers store the info_file and pid_file as strings, to be used for reading via std::ofstream. Read info_file then also as string, like pid_file is. | |||
2024-07-22 | Rename HashFunction methods and enums | Maksim Denisov | |
2024-07-22 | Unify tagging logic in HashFunction | Maksim Denisov | |
2024-07-22 | Use HashFunction from Storage in RepositoryConfig | Maksim Denisov | |
2024-07-22 | Use a fixed HashFunction in Tree | Maksim Denisov | |
2024-07-22 | Use a fixed HashFunction in ArtifactDescription | 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-22 | Move ObjectCAS::CreateDigest to the private space | Maksim Denisov | |
2024-07-19 | Remove the RetryConfig singleton | Paul Cristian Sarbu | |
...and replace it with instances created early via a builder pattern. | |||
2024-07-19 | Pass RetryConfig instance to WithRetry | Paul Cristian Sarbu | |
2024-07-19 | WithRetry: Replace template parameters by std::function | Paul Cristian Sarbu | |
Now also requires guarding for bootstrapping to not bring in grpc. | |||
2024-07-19 | Fix naming inconsistencies in retry configuration | Paul Cristian Sarbu | |
The retry_parameters.hpp header-only library defining the Retry class now is the retry_config.hpp header-only library defining the RetryConfig class. | |||
2024-07-19 | common remote: Fix missing or wrong header guards | Paul Cristian Sarbu | |
2024-07-19 | just: Fix operation cache threshold exponent maximum value | Paul Cristian Sarbu | |
The threshold exponent cannot pass the log2 of the maximum internal map size, of type size_t, thus it cannot be larger than 63. Update the documentation and enforce the upper limit of this argument during parsing of the command line. | |||
2024-07-16 | Add useful aliases for platform properties and dispatch endpoint | Paul Cristian Sarbu | |
2024-07-12 | Remove redundant ArtifactFactory class used in tests only | Maksim Denisov | |
...and move the related tests to artifact_description.test | |||
2024-07-12 | ArtifactFactory: remove FromDescription method | Maksim Denisov | |
...since it is used in tests only. | |||
2024-07-12 | ArtifactFactory: remove Identifier method | Maksim Denisov | |
...since it is used in tests only. It also duplicated serialization-deserialization of ArtifactDescription. | |||
2024-07-12 | Use precalculated hash for comparison of ArtifactDescriptions | Maksim Denisov | |
...instead of comparing raw data. | |||
2024-07-12 | Use static Create functions to construct ArtifactDescription | Maksim Denisov | |
...instead of unobvious ctors relying on overload resolution. | |||
2024-07-12 | Move implementation details of ArtifactDescription to the cpp file | Maksim Denisov | |
2024-07-10 | Artifact::ObjectInfo: add order | Klaus Aehlig | |
2024-07-10 | ArtifactDigest: add order | Klaus Aehlig | |
2024-07-05 | Pass Storage to RepositoryConfig | Maksim Denisov | |
...and adjust AnalyseContext. | |||
2024-07-05 | Move functionality from StorageConfig to related classes. | 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 serve and execute clients | Paul Cristian Sarbu | |
2024-07-04 | Use Auth and TLS configurations via Instance() | Paul Cristian Sarbu | |
...to more easily keep track of changes during refactoring. | |||
2024-06-28 | Use (un)expected for reading location objects | Oliver Reiche | |
2024-06-28 | Use (un)expected for parsing dispatch info | Oliver Reiche | |
2024-05-15 | logging: Do not make assumptions in emit calls | Paul Cristian Sarbu | |
The Emit method of the Logger class, when called with a string as second argument, expects it to be a format string. It should be considered a programming error to pass a string variable as that argument without knowing for certain that it does not contain any format escape character ('{', '}'); instead, one should be conservative and use the blind format string "{}" as second argument and pass the unknown string variable as third argument. | |||
2024-04-25 | just-mr rc: Extract location object parser in separate library | Paul Cristian Sarbu | |
This will make it available also to just. | |||
2024-04-24 | just analyse: add --dump-result command line option | Alberto Sartori | |
The result of the analysis is a JSON object containing the keys `"artifacts"`, `"runfiles"`, and `"provides"`. This JSON object, by default, is logged. However, it might be useful to process the data contained in it, while, for example, developing new rules. This patch adds a new command line option (`--dump-result`), reserved to the subcommand `analyse`, to dump the analysis result to the given file or stdout (if `-` is given). | |||
2024-04-18 | Move retry-related CLI parts into separate libraries | Klaus Aehlig | |
... to simplify reuse. | |||
2024-04-16 | just: support writing the error blobs from serve into a json file | Klaus Aehlig | |
... so that they are available in machine-readable form. In this way, all logs can automatically be collected without the need of parsing human-targeted error messages. | |||
2024-04-10 | Add command-line option to restrict log limit on stderr | Klaus Aehlig | |
2024-04-10 | bugfix: cli: remote-execution-property: allow for accumulating multiple pairs. | Alberto Sartori | |
Before this patch, if the option `--remote-execution-property KEY:VAL` is repeated multiple times (also with different `KEY`s), only the last one is taken into account. This patch fixes the intended behavior. | |||
2024-04-08 | Use properly included standard library types by default | Paul Cristian Sarbu | |
2024-03-28 | just install-cas: add option --archive | Klaus Aehlig | |
Trees are first-class objects for justbuild. To allow interoperation with other tools, it is necessary to provide those objects in a standard format; for directories, those are archives. Hence procive a corresponding option. |