Age | Commit message (Collapse) | Author | |
---|---|---|---|
2024-07-23 | git_commit_map: avoid duplicate creation and fix usage | Klaus Aehlig | |
... as CheckCommitExists returns an optional bool, not a plain one. | |||
2024-07-23 | just-mr: Remove progress and statistics singletons | Paul Cristian Sarbu | |
...and instead use simple instances created in setup, fetch, and update, respectively. The various maps and the progress reporter get access to these instances via not_null pointers. | |||
2024-07-23 | just-mr: Pass statistics instance in repos-to-setup map | Paul Cristian Sarbu | |
...instead of using the singleton. | |||
2024-07-23 | just-mr: Use statistics and progress instances update map | Paul Cristian Sarbu | |
...instead of using the singletons. | |||
2024-07-23 | just-mr: Use statistics instance in fetch map | Paul Cristian Sarbu | |
...instead of using the singleton. | |||
2024-07-23 | just-mr: Use progress instance in setup maps | Paul Cristian Sarbu | |
...instead of using the singleton. | |||
2024-07-23 | just-mr: Pass progress and statistics instances to reporter | Paul Cristian Sarbu | |
2024-07-22 | Rename HashFunction methods and enums | Maksim Denisov | |
2024-07-22 | Create Hasher using a static function | Maksim Denisov | |
2024-07-22 | Store HashFunction in StorageConfig | Maksim Denisov | |
2024-07-22 | Use a fixed HashFunction in ReposToSetupMap | Maksim Denisov | |
2024-07-22 | Use HashFunction functionality via Instance() | Maksim Denisov | |
...to track changes during refactoring easier. | |||
2024-07-22 | import-to-git: fix typo in format string | Klaus Aehlig | |
2024-07-19 | For archives, also look in older repo generations before fetching | Klaus Aehlig | |
2024-07-19 | commit_git_map: take commit from older generations, if found there | Klaus Aehlig | |
If we're asked to fetch a commit that is not present in our git root right away, first look for it in older generations before starting the actual fetch. | |||
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 | git opertions: return tag for keep operations | 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 | FileSystemManager::CreateFileHardlink: return error code on failure | Klaus Aehlig | |
Instead of returning a plain boolean, return an expected with the same boolean value that in case of an error indicates the error code. In this way, an error-specific handling is possible by consumers. While there, also add proper quoting of the involved file names. | |||
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 StorageConfig to git_repo and git_repo_remote | 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 Git repo | Oliver Reiche | |
2024-06-28 | Use (un)expected for reading location objects | Oliver Reiche | |
2024-06-28 | Use (un)expected for network fetch | 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 | Introduce a type allias for an optional ptr to IExecutionApi | Maksim Denisov | |
...and replace verbose constructions. | |||
2024-06-25 | Use constant IExecutionApi in just-mr maps | Maksim Denisov | |