Age | Commit message (Collapse) | Author | |
---|---|---|---|
2024-08-26 | GitRepo: Change logic that creates commits to explicitly give directory | Paul Cristian Sarbu | |
In preparation for subsequent changes, specify the directory path containing the tree content to be committed explicitly. This change will allow eventually to be able to specify paths that are different from the root path of the repository in which the commit is created. This commit renames and refactors StageAndCommitAllAnnonymous to allow a directory path to be passed. The just-mr and serve service logic is updated such that current behaviour is otherwise unchanged. | |||
2024-08-26 | GitOpParams: Remove unneeded branch field | Paul Cristian Sarbu | |
The 'branch' field is deprecated, not being used by any of the critical Git operations, thus it can be removed. | |||
2024-08-07 | Replace classic C boolean operators with keywords | Maksim Denisov | |
! => not; && => and, || => or | |||
2024-08-05 | When using errno, log the actual error message | Paul Cristian Sarbu | |
For the user it is more useful to see the actual error message, provided by strerror(), than the pure error code. | |||
2024-08-05 | Add missing cerrno includes | Paul Cristian Sarbu | |
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 | Pass LocalContext and RemoteContext to ServeApi | Paul Cristian Sarbu | |
Also switch to using the fields from RemoteContext instances instead of those from ApiBundle. | |||
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 ApiBundle | Paul Cristian Sarbu | |
2024-07-29 | commit_git_map: fix line breaking in error messages | Klaus Aehlig | |
2024-07-24 | Tree fetching: first look in older generations | Klaus Aehlig | |
2024-07-23 | content_cas_map: also look in older git generations | Klaus Aehlig | |
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 | |