Age | Commit message (Collapse) | Author | |
---|---|---|---|
2024-12-05 | GitRepo: don't reassign git_repository to git_odb | Maksim Denisov | |
...and remove GuardedRepo. | |||
2024-12-05 | GitCAS: retain git_repository alive. | Maksim Denisov | |
2024-12-05 | GitCAS: implement method for creation of an empty GitCAS | Maksim Denisov | |
...and use it in GitRepo to set custom backends. | |||
2024-12-05 | GitCAS: remove redundant method | Maksim Denisov | |
2024-12-05 | GitCAS: avoid manual memory management | Maksim Denisov | |
...and fix a potential memory leak in the try-catch for std::filesystem::absolute. | |||
2024-12-05 | GitCAS: use the same call for openning repository as GitRepo does. | Maksim Denisov | |
2024-12-05 | GitRepo: keep GuardedRepo unexposed and adjust the interface. | Maksim Denisov | |
2024-12-03 | For FetchIntoODBBackend "Ensure" backend is valid | Maksim Denisov | |
2024-12-03 | Avoid double deletion of git_repository in GuardedRepo | Maksim Denisov | |
2024-12-02 | Synchronize initialization of a git repo across processes | Maksim Denisov | |
2024-11-28 | Ensure gitstrarray gets created with alive pointers. | Maksim Denisov | |
2024-11-21 | FileRoot::ComputedRoot: add ToString() method | Klaus Aehlig | |
2024-11-21 | ObjectCas: demote log message on absent blob to trace | Klaus Aehlig | |
The way we use our object cas, it is not unsual that a blob asked for is not present. Therefore, logging this at debug level floods that level with too many messages irrelevant for debugging. Fix this, be demoting to trace level. | |||
2024-11-21 | Add data structure for the description of a computed root | Klaus Aehlig | |
2024-11-14 | file_system: Implement IWYU suggestions | Paul Cristian Sarbu | |
2024-10-29 | Clean up unused dependencies | Klaus Aehlig | |
2024-10-10 | Remove from OSS intersecting public-private dependencies | Maksim Denisov | |
2024-10-08 | Name local variables using lower_case | Maksim Denisov | |
...and private members using lower_case_ | |||
2024-10-08 | Name global constants using kCamelCase. | Maksim Denisov | |
2024-10-08 | Name static constants using kCamelCase. | Maksim Denisov | |
2024-10-08 | Name classes, structs and enums using CamelCase. | Maksim Denisov | |
2024-10-07 | Enable cppcoreguidelines-* checks. | Maksim Denisov | |
2024-10-07 | Disable misc-no-recursion check | Maksim Denisov | |
...since we use recursion for trees a lot, but skip this check manually. | |||
2024-10-07 | Enable readability-* checks. | Maksim Denisov | |
2024-10-07 | Enable readability-redundant-member-init check. | Maksim Denisov | |
2024-10-07 | Enable bugprone-empty-catch check. | Maksim Denisov | |
2024-10-07 | Enable bugprone-implicit-widening-of-multiplication-result check. | Maksim Denisov | |
2024-10-07 | Enable bugprone-narrowing-conversions 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-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 | Pass HashFunction::Type to FileRoot::AsKnownTree | Maksim Denisov | |
...to get the protocol type. | |||
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-13 | Move to GitHashesConverter functionality related to conversion of git hashes | Maksim Denisov | |
...from Compatibility. | |||
2024-09-12 | Remove unused variables | Klaus Aehlig | |
2024-09-11 | Use ArtifactDigestFactory in file_root | Maksim Denisov | |
...to create ArtifactDigests. | |||
2024-09-11 | Use ArtifactDigestFactory in GitRepo | Maksim Denisov | |
...to create ArtifactDigests. | |||
2024-09-09 | Replace ArtifactDigest::Create | Maksim Denisov | |
...with ArtifactDigestFactory::HashDataAs | |||
2024-09-09 | Replace ArtifactDigest::CreateFromFile | Maksim Denisov | |
...with ArtifactDigestFactory::HashFileAs | |||
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-29 | FileSystemManager: Implicit copy should not follow symlinks | Paul Cristian Sarbu | |
The default options of std::filesystem::copy include following symlinks, resulting in file repositories creating wrong trees if containing unresolved symlinks, or failing unexpectedly early if symlink cycles existed. This is fixed by ensuring the copy_symlinks option is always used. | |||
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 | GitRepo: Add method to create tree from directory | Paul Cristian Sarbu | |
The tree is traversed bottom-up and each entry is explicitly added to the object database: non-directory entries have their content read and are added as blobs with corresponding permissions based on file type (regular, executable, symlink), while subdirectories are added as trees via CreateTree based on the already added blobs. |