summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2025-01-23Remove function EnsureAbsentRootOnServeMaksim Denisov
...since it is superseded by ServeApi's method.
2025-01-23JustMr: ContentGitMap: Remove unused arguments.Maksim Denisov
2025-01-23JustMr: ContentGitMap: Use serve callsMaksim Denisov
...instead of EnsureAbsentRootOnServe.
2025-01-23JustMr: ContentGitMap: Remove code duplication.Maksim Denisov
2025-01-23JustMr: DistdirGitMap: Use serve callsMaksim Denisov
...instead of EnsureAbsentRootOnServe. And remove unused arguments.
2025-01-23JustMr: CommitGitMap: Remove unused arguments.Maksim Denisov
2025-01-23JustMr: CommitGitMap: Use serve callsMaksim Denisov
...instead of EnsureAbsentRootOnServe.
2025-01-23JustMr: FilePathGitMap: Remove unused arguments.Maksim Denisov
2025-01-23JustMr: FilePathGitMap: Use serve callsMaksim Denisov
...instead of EnsureAbsentRootOnServe
2025-01-23ServeApi: Implement UploadTreeMaksim Denisov
2025-01-23ServeApi: Capture ApiBundle and StorageConfig in the ctor.Maksim Denisov
2025-01-23Call serve directly instead of EnsureAbsentRootOnServe.Maksim Denisov
2025-01-22Git CAS access: reduce log levelKlaus 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-22local api: take git fallback seriouslyKlaus Aehlig
... and, when asked if an artifact is available, also inspect the git cas.
2025-01-22absent computed roots: obtain value from serve without fetching artifactsKlaus Aehlig
2025-01-22just-mr: support absent computed rootsKlaus Aehlig
2025-01-22Computed roots: extend data structure to support the absent pragmaKlaus Aehlig
2025-01-22serve client: support keep_artifact_rootKlaus Aehlig
2025-01-22serve service: honor keep_artifact_rootKlaus Aehlig
2025-01-22Source-tree service: accept lock referenceKlaus Aehlig
... so that tagging in the associated git root can be synchronized with other services provided by just serve.
2025-01-22Serve protocol: support keeping the artifact stage as rootKlaus Aehlig
In the serve protocol, extend ServeTargetRequest by a flag indicating that the client whishes the server to keep the artifact stage as an additional root. In this way, if a computed root is built on serve it can be used as an absent root without additional communication overhead.
2025-01-21TreeStructure: Evaluate absent tree structure rootsMaksim Denisov
2025-01-21Implement UploadToServeMaksim Denisov
2025-01-21JustMr: Support absent tree structure rootsMaksim Denisov
2025-01-21Just: Support absent tree structure rootsMaksim Denisov
2025-01-21TreeStructure: Evaluate local tree structure roots of absent rootsMaksim Denisov
2025-01-21Implement DownloadFromServeMaksim Denisov
2025-01-21TreeStructure: Compute on serveMaksim Denisov
2025-01-21TreeStructure: Extend just-serve's protoMaksim Denisov
2025-01-21TreeStructure: move resolution logic to a separate function.Maksim Denisov
2025-01-21TreeStructure: use FileRoot as a result of resolutionMaksim Denisov
2025-01-21TreeStructureUtils: implement local computation of tree structureMaksim Denisov
2025-01-21TreeStructureUtils: export from gitMaksim Denisov
2025-01-21TreeStructureUtils: import to gitMaksim Denisov
Unify logic from evaluator of precomputed roots.
2025-01-21Rename compute_tree_structure to tree_structure_utilsMaksim Denisov
2025-01-15Use GitRepo::IsTreeInRepo during evaluation of precomputed roots.Maksim Denisov
2025-01-15Use GitRepo::IsTreeInRepo in target utilsMaksim Denisov
2025-01-15Use GitRepo::IsTreeInRepo in SourceTreeServiceMaksim Denisov
2025-01-15Add to GitRepo common implementation IsTreeInRepoMaksim Denisov
2025-01-15Use GitRepo::ImportToGit during evaluation of precomputed roots.Maksim Denisov
2025-01-15Use GitRepo::ImportToGit in SourceTreeServiceMaksim Denisov
2025-01-15Add to GitRepo common implementation of ImportToGitMaksim Denisov
2025-01-14Fix typo in log messageKlaus Aehlig
2025-01-13just-mr setup: Fix ensuring 'subdir' only accepts non-upwards pathsPaul Cristian Sarbu
...which implicitly also enforces non-absolute. This ensures that there is no access outside the root directory of a Git checkout or the temporary unpack directory of an archive.
2025-01-10just-mr setup: Fix ensuring field 'subdir' only accepts relative pathsPaul Cristian Sarbu
2025-01-09just build: add new option -pKlaus Aehlig
... allowing to print the unique artifact built (if any). This allows convenient inspection of the build result of targets that define precisely one artifact.
2025-01-08source tree service: Fix ensuring Git cache rootPaul Cristian Sarbu
This is an amendment to the changes in commit 8234079, as the underlying issue was only partially solved there. While the call to GitRepo::InitAndOpen is in itself properly guarded, it does not share a lock with the call to create the path to the Git cache if it is missing. Fix this by moving the call to the method ensuring the Git cache initialization to after acquiring the Git cache root garbage collector shared lock.
2025-01-08Fix indirection of workspace roots in precomputed rootsMaksim Denisov
2025-01-07source tree service: Ensure the Git cache existsPaul Cristian Sarbu
Similarly to just-mr, each SourceTree RPC must ensure that the Git cache folder exists and the Git cache repository is initialized before using it. While there, fix missing shared locks on the Git cache root.
2025-01-07Implement rebuilding of StorageConfigMaksim Denisov