summaryrefslogtreecommitdiff
path: root/bin/just-lock.py
AgeCommit message (Collapse)Author
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-16just-lock: Do not use temp dirs outside local build rootPaul Cristian Sarbu
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-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: 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
2024-12-17just-lock: Implement import source type 'file'Paul Cristian Sarbu
2024-12-17just-lock: Improve error handling of command line parsingPaul Cristian Sarbu
2024-12-17just-lock: Match logging style of just-mr, including colorsPaul Cristian Sarbu
Use the RGB values of the predefined fmt library colors that both just and just-mr use.
2024-12-17just-lock: Fix plain configuration map for 'git' importsPaul Cristian Sarbu
While there, also improve check for early return from import method.
2024-12-11Initial implementation of just-lockPaul Cristian Sarbu
Able to handle imports from Git repositories and deduplicate the resulting configuration.