Age | Commit message (Collapse) | Author | |
---|---|---|---|
2024-07-19 | just-mr: add subcommand gc-repo | Klaus Aehlig | |
2024-07-19 | Take shared repo-gc lock wherever needed | Klaus Aehlig | |
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 ApiBundle | Paul Cristian Sarbu | |
Also store a const ref for usage in setting up a fresh ApiBundle during target serve. | |||
2024-07-18 | just-mr: Fix wrong exit code for --help call | Paul Cristian Sarbu | |
Due to the specifics of how CLI11 library handles the --help argument and the fact that just-mr uses its own set of exit codes, we were correctly printing the help text, but falsely returning a non-zero exit code as result. This is now fixed. | |||
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 | StorageConfig: Store also the execution backend description id | Paul Cristian Sarbu | |
...such that it will be available to the TargetCache for sharing. Also, GC does not require remote execution information, so the logic for this subcommand is moved earlier in main. | |||
2024-07-16 | Remove the LocalExecutionConfig singleton | Paul Cristian Sarbu | |
...and replace it with passed instances created early via a builder pattern. | |||
2024-07-16 | Pass LocalExecutionConfig to ApiBundle | Paul Cristian Sarbu | |
2024-07-16 | Add missing RemoteExecutionConfig includes | Paul Cristian Sarbu | |
2024-07-05 | Convert StorageConfig to a general class | Maksim Denisov | |
2024-07-05 | Convert Storage to a general class | Maksim Denisov | |
2024-07-05 | Pass StorageConfig and Storage to just-mr maps | Maksim Denisov | |
2024-07-05 | Pass StorageConfig and Storage to LocalApi | Maksim Denisov | |
2024-07-05 | Pass StorageConfig and Storage to Serve | Maksim Denisov | |
2024-07-05 | Pass Storage and StorageConfig to StorageUtils by reference | Maksim Denisov | |
2024-07-05 | Pass StorageConfig to GarbageCollector::SharedLock | Maksim Denisov | |
2024-07-05 | Use StorageConfig functionality via Instance() | Maksim Denisov | |
...to track changes during refactoring easier. | |||
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 BazelApi and ServeApi | 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 serve API | Oliver Reiche | |
2024-06-28 | Use (un)expected for reading location objects | Oliver Reiche | |
2024-06-27 | Pass ServeApi to just-mr maps by raw pointer | Maksim Denisov | |
...since it is used for capturing in lambdas for AsyncMaps and mustn't be temporary. | |||
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 | Pass ApiBundle to ServeApi | Maksim Denisov | |
2024-06-25 | Use ApiBundle for creation of APIs in just-mr | Maksim Denisov | |
2024-06-25 | Use a general boolean for compatible in MultiRepoCommonArguments | Maksim Denisov | |
2024-06-18 | Create an individual instance of RemoteServeConfig in just-mr | Maksim Denisov | |
...instead of initialization of the singleton. | |||
2024-06-18 | Make ServeApi a general class, not a singleton | Maksim Denisov | |
...and adjust interfaces. | |||
2024-06-18 | Pass ServeApi to just-mr maps by reference | Maksim Denisov | |
...instead of using singleton calls. | |||
2024-06-18 | Use RemoteServeConfig functionality via Instance() | Maksim Denisov | |
...to track changes during refactoring easier. | |||
2024-06-18 | Use ServeApi functionality via Instance() | Maksim Denisov | |
...to track changes during refactoring easier. | |||
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-23 | just-mr: Make outer non-trivial async map consumers noexcept | Paul Cristian Sarbu | |
For setup and update subcommands, the consumer lambdas for their respective async maps are non-trivial (i.e., do more than keeping the map values) and operate on ungaurded JSON objects, thus it is better to guard them against any uncaught exceptions. | |||
2024-04-23 | just-mr: Fix map key type bug in repository setup | Paul Cristian Sarbu | |
When taking over roots from the input repository description, the JSON value was not properly checked for validity (i.e., if it is of type string), resulting in an unhandled exception being thrown. The issue is fixed with a proper type check. | |||
2024-04-18 | just-mrrc: support retry options | Klaus Aehlig | |
2024-04-18 | just-mr: support retry for temporary grpc failures | Klaus Aehlig | |
... using the same mechanism that just uses. As just-mr now also does quite some grpc calls, e.g., fetching distribution files from the remote-execution endpoint and negociating roots with the serve endpoint, it may now also be affected by a bad network or a service temporarily be unavailable. | |||
2024-04-10 | Add just-mr command-line option to estrict log limit on stderr | Klaus Aehlig | |
2024-04-08 | Use properly included standard library types by default | Paul Cristian Sarbu | |
2024-04-08 | Consistently guard all POSIX C includes | Paul Cristian Sarbu | |
2024-03-26 | Add missing system includes | Paul Cristian Sarbu | |
Main culprits: - std::size_t, std::nullptr_t, and NULL require <cstddef> - std::move and std::forward require <utility> - unordered maps and sets require respective includes - std::for_each and std::all_of require <algorithm> | |||
2024-03-20 | Add new subcommand add-to-cas | Klaus Aehlig | |
2024-03-15 | Clean up more includes and targets | Paul Cristian Sarbu | |
Some of the more specific issues addressed: - missing log_level target/include - header-only libs wrongly marking deps as private - missing/misplaced gsl includes | |||
2024-03-13 | Move storage-aware tmpdir creation to config | Klaus Aehlig | |
... as the fs_utils have a lot more dependencies making them usable in less places. Moreover, this function also serves to shape the layout of the local build root and hence is more appropriately placed in the config anyway. | |||
2024-03-08 | mirrors: Implement SortByHostname routine | Oliver Reiche | |
2024-03-07 | exceptions handling: small improvements | Paul Cristian Sarbu | |
It is better to avoid empty catches when we have a reasonable way to log an (even unlikely) exception, even more so if memory allocations are involved. |