Age | Commit message (Collapse) | Author | |
---|---|---|---|
2025-01-15 | Enable a missing test | Maksim Denisov | |
2025-01-14 | Fix typo in log message | Klaus Aehlig | |
2025-01-13 | Update CHANGELOG with fixes done | Klaus Aehlig | |
2025-01-13 | just-mr setup: Fix ensuring 'subdir' only accepts non-upwards paths | Paul 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-13 | import tools: Fix rewrite of unneeded fields | Paul 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-10 | just-mr-repository-config(5): pragma special not for derived roots | Klaus Aehlig | |
2025-01-10 | just-mr setup: Fix ensuring field 'subdir' only accepts relative paths | Paul Cristian Sarbu | |
2025-01-10 | just-lock-config.5: Update with section for source type 'archive' | Paul Cristian Sarbu | |
2025-01-10 | just-lock: Add test for imports from archives | Paul Cristian Sarbu | |
2025-01-10 | just-lock: Implement 'archive' import source | Paul Cristian Sarbu | |
Use local CAS to cache fetched archives. Take the storage garbage collector shared lock to guard against unwanted generation rotations. | |||
2025-01-10 | just-lock design: Add fields 'type','mirrors','subdir' to 'archive' source | Paul 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-10 | just-lock: Use the GitCAS during 'git' source imports | Paul 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-10 | just-lock: Try also mirrors when importing known commit from Git repos | Paul 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-10 | just-lock: Add attempts argument to method running commands | Paul Cristian Sarbu | |
2025-01-10 | just-lock: Improve docstrings and method signatures | Paul 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-10 | just-lock: Improve directory tree removal | Paul Cristian Sarbu | |
2025-01-10 | just-lock: Fix 'repositories' field not updated in import loop | Paul Cristian Sarbu | |
2025-01-10 | just-lock tests: Give the local build root to the tool | Paul 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-10 | just-lock tests: Fix small recurrent typo | Paul Cristian Sarbu | |
2025-01-10 | just-mr-repository-config.5: Fix typos | Paul Cristian Sarbu | |
2025-01-10 | Update CHANGELOG to include the new features | Klaus Aehlig | |
2025-01-09 | just build: add new option -p | Klaus 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-09 | just(1): Add missing paragraph end | Klaus Aehlig | |
2025-01-09 | Test deduplication of "tree structure" roots | Maksim Denisov | |
2025-01-09 | Support deduplication of "tree structure" roots | Maksim Denisov | |
2025-01-09 | Test import of "tree structure" roots | Maksim Denisov | |
2025-01-09 | Support import of "tree structure" roots | Maksim Denisov | |
2025-01-08 | Test deduplication of target repos in precomputed roots | Maksim Denisov | |
2025-01-08 | Fix deduplication of target repos in precomputed roots | Maksim Denisov | |
2025-01-08 | source tree service: Fix ensuring Git cache root | Paul 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-08 | Test indirection of workspace roots in precomputed roots | Maksim Denisov | |
2025-01-08 | Fix indirection of workspace roots in precomputed roots | Maksim Denisov | |
2025-01-07 | Update CHANGELOG | Paul Cristian Sarbu | |
...with recent serve service fix. While there, fix typo. | |||
2025-01-07 | source tree service: Ensure the Git cache exists | Paul 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-07 | Implement rebuilding of StorageConfig | Maksim Denisov | |
2025-01-07 | Add backend description to CAS in a ctor of TargetCache | Maksim Denisov | |
...instead of adding it preliminarily. | |||
2025-01-07 | TargetCache: use BackendDescription for sharding instead of a plain string | Maksim Denisov | |
2025-01-07 | Store BackendDescription in StorageConfig | Maksim Denisov | |
...instead of a plain hash. Hash gets computed for different storage types on the fly. | |||
2025-01-07 | TargetCache: employ the shard even for a default constructed object | Maksim Denisov | |
...since this is a more generic approach. | |||
2025-01-07 | Pass BackendDescription to StorageConfig from the outside | Maksim Denisov | |
2025-01-07 | Pack BackendDescription to a class | Maksim Denisov | |
...to let it be stored as an independent instance. | |||
2024-12-20 | clean up dependencies | Klaus Aehlig | |
2024-12-20 | just-mr-repository-config(5): Document the format for tree structure roots | Maksim Denisov | |
2024-12-20 | JustMr: test tree structure roots | Maksim Denisov | |
2024-12-20 | TreeStructure: make just-mr aware of "tree structure" roots | Maksim Denisov | |
2024-12-20 | TreeStructure: support parsing in just-mr | Maksim Denisov | |
2024-12-20 | TreeStructure: Unify parsing of precomputed roots in just-mr | Maksim Denisov | |
2024-12-20 | catch2: Make catch2-main a proper export target | Oliver Reiche | |
2024-12-19 | just-repository-config(5): Document the format for tree structure roots | Maksim Denisov | |
2024-12-19 | Test basic implementation of TreeStructureRoots | Maksim Denisov | |