Age | Commit message (Collapse) | Author | |
---|---|---|---|
2025-06-04 | directory_map: Correctly report fatal on failures to read from workspace roots | Paul Cristian Sarbu | |
2025-06-04 | FileRoot: Give git-based roots access to storage config | Paul Cristian Sarbu | |
2025-06-04 | GitTree: Ensure all read entries are valid | Paul Cristian Sarbu | |
Match behaviour of reading trees, which always checks for invalid entries, also for reading blobs. | |||
2025-04-22 | FileSystemManager: When copying, take into account equivalent files. | Maksim Denisov | |
2025-04-22 | FileSystemManager: Always copy directories recursively | Maksim Denisov | |
2025-02-28 | Include ArtifactDigestFactory into "common" library | Maksim Denisov | |
2025-02-19 | Store HashFunction by value | Maksim Denisov | |
Although references give an additional information about ownership, they introduce additional design difficulties. | |||
2025-02-14 | code structure: rename symlinks_map folder to symlinks | Paul Cristian Sarbu | |
...to remove the unnecessary link between folder name and the logic of resolve_symlinks_map. | |||
2024-12-19 | Fix cause of minor warnings | Oliver Reiche | |
2024-12-19 | Remove unused headers | Oliver Reiche | |
2024-11-14 | tests: Implement IWYU suggestions | Maksim Denisov | |
2024-10-08 | Name local variables using lower_case | Maksim Denisov | |
...and private members using lower_case_ | |||
2024-10-08 | Name constexpr variables using kCamelCase. | Maksim Denisov | |
2024-10-08 | Name classes, structs and enums using CamelCase. | Maksim Denisov | |
2024-09-26 | Fix redundant std::optional conversions | Maksim Denisov | |
...proposed by clang-tidy. Enable bugprone-optional-value-conversion check. | |||
2024-09-23 | Reorder dependencies and remove duplicates in OSS | Maksim Denisov | |
2024-09-23 | Store HashFunction by const reference. | Maksim Denisov | |
Despite the fact that HashFunction is a small type, it still makes sense to store it by reference to reflect the ownership. StorageConfig becomes the main holder. Reference holders store HashFunction by const ref and aren't allowed to change it. However, they are free to return HashFunction by value since this doesn't benefit readability anyhow. | |||
2024-09-13 | Use TestHashType in tests | Maksim Denisov | |
...instead of calling ProtocolTraits::IsCompatible | |||
2024-09-13 | Pass HashFunction::Type to SourceTargetMap | Maksim Denisov | |
...that is to be used by FileRoot::ToArtifactDescription. | |||
2024-09-13 | Rename Compatibility class to ProtocolTraits | Maksim Denisov | |
...and move it to the common stage. | |||
2024-09-12 | switch: add default branches | Klaus Aehlig | |
... to ensure we're not adding new cases without noticing. | |||
2024-09-11 | Use ArtifactDigestFactory in tests | Maksim Denisov | |
...to create ArtifactDigests. In some tests ArtifactDigests were constructed using non-hexadecimal string identifiers. These tests were adjusted so that ArtifactDigest contained a valid hash. | |||
2024-09-11 | Remove code duplication in file_root.test.cpp | Maksim Denisov | |
2024-09-09 | Replace ArtifactDigest::Create | Maksim Denisov | |
...with ArtifactDigestFactory::HashDataAs | |||
2024-08-30 | Replace bazel_re::Digest in ObjectCAS | Maksim Denisov | |
...with ArtifactDigest. | |||
2024-08-30 | Replace bazel_re::Digest in GitRepo::SymlinksCheckFunc callback | Maksim Denisov | |
...with ArtifactDigest. | |||
2024-08-30 | Unify symlink checks in git tree | Maksim Denisov | |
2024-08-27 | Reformat code to comply with clang-format 18 | Klaus Aehlig | |
... while keeping our .clang-format file. | |||
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-21 | tests: use newly defined test suite | Klaus Aehlig | |
... so that linting information gets propagated properly. | |||
2024-07-22 | Pass HashFunction from StorageConfig to Storage | Maksim Denisov | |
2024-07-22 | Pass HashFunction to ArtifactDigest::Create | Maksim Denisov | |
2024-07-16 | Check compatibility in the test of file_root | Maksim Denisov | |
2024-07-12 | Use static Create functions to construct ArtifactDescription | Maksim Denisov | |
...instead of unobvious ctors relying on overload resolution. | |||
2024-07-05 | Remove HermeticLocalTestFixture | Maksim Denisov | |
...and create StorageConfig and Storage in place if needed. | |||
2024-07-05 | Use StorageConfig with generation for initialization of Storage's generations | Maksim Denisov | |
...instead of std::filesystem::path. StorageConfig is extended to return paths of Storage's parts. | |||
2024-07-05 | Pass StorageConfig to git_repo and git_repo_remote | Maksim Denisov | |
2024-07-05 | Use StorageConfig functionality via Instance() | Maksim Denisov | |
...to track changes during refactoring easier. | |||
2024-06-28 | Use (un)expected for Git repo | Oliver Reiche | |
2024-04-10 | Add test for resolve_symlinks_map | Paul Cristian Sarbu | |
2024-04-10 | GitRepo: Add method to keep tree alive by tagging | Paul Cristian Sarbu | |
Also adds an appropriate test for this method. | |||
2024-04-10 | git_repo: Add blob writer method | Paul Cristian Sarbu | |
Also extends the tests accordingly. | |||
2024-04-10 | test: Extend GitRepo methods checks | Paul Cristian Sarbu | |
2024-04-08 | test: Add missing includes and fix deps | Paul Cristian Sarbu | |
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-08 | just-mr: Fix shell out execution | Oliver Reiche | |
... by avoiding reusing temp dirs for execute. While we are at it, also refactor LocalFetchViaTmpRepo() to create its own empty temp dirs, that cannot be reused by the caller. | |||
2024-01-31 | serve source tree: Increase server-side granularity in response statuses | Paul Cristian Sarbu | |
For archives and Git repositories we should ensure that not finding the witnessing entity (archive content blob or Git commit, respectively) results in a distinct status in the response to a request that sets up roots on the serve endpoint. This will allow just-mr to better handle its interaction with the serve endpoint. | |||
2023-11-15 | FileRoot: Add new absent root underlying type variant | Paul Cristian Sarbu | |
Absent roots are characterised only by a Git tree hash, so a new variant of the underlying stored information was added in the form of a plain string. In order to avoid unwanted implicit conversions when instantiating via literal strings, we force callers of the constructors to explicitly differentiate between plain strings and filesystem paths. Existing tests were updated to reflect this. Co-authored-by: Alberto Sartori <alberto.sartori@huawei.com> | |||
2023-11-02 | GitRepo: Add method for async fetch from local repository | Paul Cristian Sarbu | |
This avoids using the more geenric GitRepoRemote method which has libcurl as a dependency, something that is not needed for this Git operation. | |||
2023-08-24 | tests: Improve error reporting in scripts | Oliver Reiche | |