Age | Commit message (Collapse) | Author | |
---|---|---|---|
2025-06-11 | GitRepo: Fix wrong handling of fatal logging | Paul Cristian Sarbu | |
...in creating Git tree from filesystem directory. (cherry-picked from 6b31a88acbe6a6556e36f838b914a82879949811) | |||
2025-06-11 | GitRepo: Use std::invoke to call generic logger | Paul Cristian Sarbu | |
(cherry-picked from cf33c43c8b12d39d0a6b3751db3f58a9895cd41d) | |||
2025-06-11 | GitRepo: Methods expected to use a logger should do so... | Paul Cristian Sarbu | |
...in all return paths, including in reporting caught exceptions. In this way give the opportunity for any calling AsyncMap to receive an expected fatal logger call on failure and thus be able to shut down gracefully. This is in line with the AsyncMap design, where the loggers are assumed to be safe to call by a consumer. (cherry-picked from ae33d0f287e83769dbef9287e64006e1c0c463e9) | |||
2025-04-01 | Add library for atomically writing files | Klaus Aehlig | |
... by using the write-rename dance. This allows processes waiting for pid or similar files to rely on the information being available as soon as the file is available. (cherry-picked from 1efdbe20d506990028caccbfbc7fd241b5a01a99) | |||
2025-03-05 | resolve_symlinks_map: Fix missing ignore special flag in reading tree | Paul Cristian Sarbu | |
2025-03-05 | FileSystemManager: Let caller decide log level for reading directory | Paul Cristian Sarbu | |
Do not emit errors when it does not lead to build failures. Callers handle the log level at which failures of this method should be logged. | |||
2025-02-28 | Include ArtifactDigestFactory into "common" library | Maksim Denisov | |
2025-02-21 | FileSystemManager: Use IncrementalReader | Maksim Denisov | |
2025-02-20 | Separate off id generation to a separate library | Klaus Aehlig | |
... and rename appropriately to reflect contents more precisely than the generic "common". This separation also disentangles dependencies a bit. | |||
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 | Add enum for add-to-cas resolve special option | Paul Cristian Sarbu | |
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. | |||
2025-02-14 | pragma_special.hpp: Inline global scope maps | Paul Cristian Sarbu | |
2025-01-22 | Git CAS access: reduce log level | Klaus Aehlig | |
Trying to access a git object return a recoverable failure, hence the failure to find the object in the git object database should be logged at warning level at most. Moreover, in some cases we should log that event at an even lower level, e.g., if we're just checking the presence of the object in the local git cas to avoid unnecessary network access. | |||
2025-01-22 | Computed roots: extend data structure to support the absent pragma | Klaus Aehlig | |
2025-01-21 | Just: Support absent tree structure roots | Maksim Denisov | |
2025-01-15 | Add to GitRepo common implementation IsTreeInRepo | Maksim Denisov | |
2025-01-15 | Add to GitRepo common implementation of ImportToGit | Maksim Denisov | |
2024-12-19 | Implement TreeStructureRoot | Maksim Denisov | |
2024-12-19 | FileRoot: disclose RootGit data. | Maksim Denisov | |
2024-12-19 | Remove FileRoot::ComputedRoot | Maksim Denisov | |
2024-12-19 | Use PrecomputedRoots during evaluation | Maksim Denisov | |
2024-12-19 | Support PrecomputedRoots in FileRoot | Maksim Denisov | |
2024-12-19 | Implement PrecomputedRoots | Maksim Denisov | |
...that is an abstract representation of roots that must be computed before the start of the main build. | |||
2024-12-19 | Fix cause of minor warnings | Oliver Reiche | |
2024-12-19 | Fix struct member initialization | Oliver Reiche | |
2024-12-19 | Remove unused function | Oliver Reiche | |
2024-12-11 | GitCAS::Open: allow specifying the log-level for failure | Klaus Aehlig | |
This method returns a GitCASPtr allowing the caller to handle failure gracefully. Therefore, logging should be at most at level Warning as it is up to the caller to provide the fatal error message. Moreover, it can be at lower level in cases where failure to open that git cas is not an unexpected event, e.g., when looking for a blob in local mirrors first. | |||
2024-12-09 | Use expected to return an error from ParseRoot | Maksim Denisov | |
2024-12-05 | GitCAS: remove friend GitRepo | Maksim Denisov | |
...and access internal state via getters. | |||
2024-12-05 | GitCAS: remove mutex and locks | Maksim Denisov | |
...since there are no unique_locks any more. | |||
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 | |