Age | Commit message (Collapse) | Author | |
---|---|---|---|
2024-10-07 | Enable readability-redundant-member-init check. | Maksim Denisov | |
2024-10-07 | Enable modernize-* checks. | Maksim Denisov | |
2024-10-07 | Enable bugprone-empty-catch check. | Maksim Denisov | |
2024-10-07 | Enable bugprone-exception-escape check | Maksim Denisov | |
2024-10-07 | Replace manual new allocations for git_strarray with std::vectors | Maksim Denisov | |
...and remove unused code from git_utils | |||
2024-09-26 | Fix enum sizes proposed by clang-tidy. | Maksim Denisov | |
Enable performance-enum-size check. | |||
2024-09-26 | Fix redundant std::optional conversions | Maksim Denisov | |
...proposed by clang-tidy. Enable bugprone-optional-value-conversion check. | |||
2024-09-26 | Fix assignments in conditions | Maksim Denisov | |
...proposed by clang-tidy. Enable bugprone-assignment-in-if-condition check. | |||
2024-09-24 | Repository setup: Warn about unknown keys | Klaus Aehlig | |
Warn if a repository definition contains unknown keys (that are therefore ignored), as this often indicates a typo in the repository specification. However, for some common naming of extensions (currently: "bootstrap") keep the warning at a level below the default for reporting. | |||
2024-09-23 | Reorder dependencies and remove duplicates in OSS | Maksim Denisov | |
2024-09-18 | Add missing #endif comments in headers | Maksim Denisov | |
2024-09-13 | Avoid unnecessary copies | Klaus Aehlig | |
2024-09-13 | Remove std::move of const value and avoid non-movable intermediate variables | Klaus Aehlig | |
2024-09-13 | Remove Compatibility flag from just-mr | Maksim Denisov | |
2024-09-13 | Rename Compatibility class to ProtocolTraits | Maksim Denisov | |
...and move it to the common stage. | |||
2024-09-12 | Prefer fseek ofer rewind | Klaus Aehlig | |
2024-09-11 | Use ArtifactDigestFactory in just-mr maps | Maksim Denisov | |
...to create ArtifactDigests. | |||
2024-09-11 | Store HashInfo in just-mr's GitTreeInfo as tree_hash | Maksim Denisov | |
...and use it to create ArtifactDigests. | |||
2024-09-11 | Store HashInfo in just-mr's ArchiveContent as content hash | Maksim Denisov | |
...and use it to create ArtifactDigests. | |||
2024-09-11 | Move just-mr's parsing of git trees to ParseGitTree | Maksim Denisov | |
...and use it in fetch and repos_to_setup_map to remove code duplication. | |||
2024-09-11 | Move ParseArchiveContent function to the header | Maksim Denisov | |
...to remove code duplications in ReposToSetupMap. | |||
2024-08-29 | just-mr maps: Properly check for missing values in map chain | Paul Cristian Sarbu | |
The root async map in a chain of calls should always be checked for missing value, which can happen if, e.g., a cycle happens or a thread gets killed by the system. Properly handle this by checking explicitly if a value has been posted. If not, check for cycles where it makes sense (for example, in the resolving of symlinks), otherwise report any pending map keys not yet processed. This is done for all just-mr commands working with async maps. | |||
2024-08-29 | just-mr maps: Add utility key-printing functions | Paul Cristian Sarbu | |
...to be used when reporting pending keys on failure to post value. | |||
2024-08-29 | just-mr maps: Fix wrong or missing return conditions | Paul Cristian Sarbu | |
2024-08-27 | Reformat code to comply with clang-format 18 | Klaus Aehlig | |
... while keeping our .clang-format file. | |||
2024-08-26 | GitRepo: Create commit from a directory explicitly... | Paul Cristian Sarbu | |
...by writing its tree directly in the object database instead of working with the index. This allows the creation of trees that contain also entries with 'magic' names, such as the .git folder or .gitignore files. Callers must ensure the given directory only contains the needed entries. In particular, just-mr maps and serve service are updated to separate the import-to-Git repository path from the temporary path containing the content to be committed, to avoid polluting the content path with entries generated on repository initialization. | |||
2024-08-26 | GitOps: Pass source directory to GitInitialCommit operation | Paul Cristian Sarbu | |
While there, ensure optional Git operation parameters are checked before use for the operations that require them. | |||
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 | |