summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2025-01-21Test: Compute an absent tree structure of an absent rootMaksim Denisov
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-21Describe format of absent tree structure roots in just-repository-config.5.md.Maksim Denisov
2025-01-21Just: Support absent tree structure rootsMaksim Denisov
2025-01-21Test: Compute a local tree structure based on an absent root.Maksim 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-21Exclude 'tree_structure' directory from bootstrappingMaksim Denisov
2025-01-21Rename compute_tree_structure to tree_structure_utilsMaksim Denisov
2025-01-20just-lock: Add test for 'git-tree' source importPaul Cristian Sarbu
2025-01-20just-lock: Implement import source 'git-tree'Paul Cristian Sarbu
2025-01-17just-lock: Move import utilities code sectionPaul Cristian Sarbu
...below the GitCAS and CAS utilities, in order for those to be available for use when implementing the other import source types.
2025-01-17just-lock: Improve handling of 'subdir' pathsPaul Cristian Sarbu
Enforce 'subdir' field of 'archive' import source to also be non-upward. Normalize subdirs during rewrite of dependent 'file'-type repositories.
2025-01-17just-import-git: Normalize 'subdir' path during repository rewritePaul Cristian Sarbu
2025-01-16just-lock: Do not use temp dirs outside local build rootPaul Cristian Sarbu
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-15Enable a missing testMaksim Denisov
2025-01-14Fix typo in log messageKlaus Aehlig
2025-01-13Update CHANGELOG with fixes doneKlaus 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-13import tools: Fix rewrite of unneeded fieldsPaul Cristian Sarbu
The rewrite logic assumes that for repositories taken as layers we will not have certain fields and so they are unconditionally reassigned. Fix this by extending the existing check for bindings to include also alternative roots and root files.
2025-01-10just-mr-repository-config(5): pragma special not for derived rootsKlaus Aehlig
2025-01-10just-mr setup: Fix ensuring field 'subdir' only accepts relative pathsPaul Cristian Sarbu
2025-01-10just-lock-config.5: Update with section for source type 'archive'Paul Cristian Sarbu
2025-01-10just-lock: Add test for imports from archivesPaul Cristian Sarbu
2025-01-10just-lock: Implement 'archive' import sourcePaul Cristian Sarbu
Use local CAS to cache fetched archives. Take the storage garbage collector shared lock to guard against unwanted generation rotations.
2025-01-10just-lock design: Add fields 'type','mirrors','subdir' to 'archive' sourcePaul Cristian Sarbu
The 'type' field is optional and informs both the way to unpack the archive and which type imported file repositories should be rewritten as in the output configuration. Mirrors the 'just-mr' types, with options for tarballs and zip-like archives, defaulting to tarballs if missing. The 'mirrors' field is treated the same as for 'git' sources. The 'subdir' field is optional and accounts for the fact that the actual root of the source repository might be a subpath in the unpacked archive, as opposed to Git repositories where it is reasonable to expect that the sources root is the top-level directory.
2025-01-10just-lock: Use the GitCAS during 'git' source importsPaul Cristian Sarbu
Add file locking logic; guard critical Git operations with the same approach as in Just and also take the repositories garbage collector shared lock to guard against unwanted generation rotations.
2025-01-10just-lock: Try also mirrors when importing known commit from Git reposPaul Cristian Sarbu
When commit to fetch is known, check mirrors before going to the main URL. While there, ensure the context for logging in the checkout method is not replaced, but appended to.
2025-01-10just-lock: Add attempts argument to method running commandsPaul Cristian Sarbu
2025-01-10just-lock: Improve docstrings and method signaturesPaul Cristian Sarbu
...to better reflect intent. In particular, improve the name of the variable storing the partial description to be used during rewrite of dependent 'file'-type repositories brought in by an import.
2025-01-10just-lock: Improve directory tree removalPaul Cristian Sarbu
2025-01-10just-lock: Fix 'repositories' field not updated in import loopPaul Cristian Sarbu
2025-01-10just-lock tests: Give the local build root to the toolPaul Cristian Sarbu
This avoids the tool accidentally trying to touch the home folder via the default cache location. While there, ensure that errors in just-lock calls trigger test failures, as it should be.
2025-01-10just-lock tests: Fix small recurrent typoPaul Cristian Sarbu