summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2025-02-27ArtifactBlob: Move from execution_api/common to commonMaksim Denisov
2025-02-27GitApi: remove intermediate ArtifactBlob containerMaksim Denisov
2025-02-27BazelCasClient: Support request creation failure in InitRequest.Maksim Denisov
2025-02-26Update ChangelogKlaus Aehlig
... documenting the chanages since the first beta release. While there, also fix the structure of the document and unify use of empty lines.
2025-02-26profiling design: update logging optionsKlaus Aehlig
Reduce interference of invocation logging with regular logging operations; in particular, restrict just-mr passing the --async-profile option only to build commands and thus avoiding race conditions with calls to `analyse` that rely on having a graph available immediate after invocation.
2025-02-25just serve: allow clients to access execution endpoint with a different addressAlberto Sartori
To properly use `just serve`, both the client and the serve instance must talk to the very same execution endpoint. Typically, both the client and serve can reach out to the execution endpoint via the same IP address. However, it might be possible that the client and a serve instance know the same execution endpoint by means of differnet IP addresses. For example, the client knows the execution endpoint address through an _external_ IP address, while the serve instance, deployed within the same network infrastructure, only knows the _internal_ IP address. This patch adds the subkey `"client address"` -- of the key `"execution endpoint"` -- in the serve configuration file, to specify the alternative pair `address:port` used by the client.
2025-02-24Release 1.5.0~beta1v1.5.0-beta1Klaus Aehlig
2025-02-24git_tree_fetch_map: Improve warning messagePaul Cristian Sarbu
2025-02-24just-mr setup: Remove warnings when fallback to network is availablePaul Cristian Sarbu
2025-02-24just-lock-config(5): Update with 'generic' source typePaul Cristian Sarbu
2025-02-24end-to-end just-lock: Add basic test for generic importsPaul Cristian Sarbu
2025-02-24just-lock: Implement 'generic' source typePaul Cristian Sarbu
2025-02-24just-lock: Allow input argument for method running commandsPaul Cristian Sarbu
2025-02-24just-lock: Avoid unnecessary chances for unwanted side-effectsPaul Cristian Sarbu
...in handling mutable objects. In particular, treat mutable function variables, as well as any references they might contain, as constant.
2025-02-24just-lock: Fix parsing of optional container fieldsPaul Cristian Sarbu
...with not-None defaults. While there, fix wrong command environment set in 'git tree' imports.
2025-02-24just-lock design: Clarify env handling for 'generic' sourcePaul Cristian Sarbu
2025-02-21ByteStreamClient: Return ArtifactBlob from Read.Maksim Denisov
2025-02-21ByteStreamUtils: Simplify ReadRequest and WriteRequestMaksim Denisov
2025-02-21ByteStreamClient: Use ByteStreamUtils::ReadRequest internally only.Maksim Denisov
2025-02-21ByteStreamClient: Use ArtifactBlob in WriteMaksim Denisov
2025-02-21ByteStreamClient: Use IncrementalReader for writingMaksim Denisov
2025-02-21IncrementalReader: Test reading from memoryMaksim Denisov
2025-02-21IncrementalReader: Support reading from memoryMaksim Denisov
2025-02-21BytestreamServer: Use IncrementalReaderMaksim Denisov
2025-02-21HashFunction: Use IncrementalReaderMaksim Denisov
2025-02-21FileSystemManager: Use IncrementalReaderMaksim Denisov
2025-02-21LocalCasReader: Use IncrementalReaderMaksim Denisov
2025-02-21IncrementalReader: Test reading from filesMaksim Denisov
2025-02-21Implement IncrementalReaderMaksim Denisov
2025-02-21Implement InPlaceVisitorMaksim Denisov
2025-02-20Separate off id generation to a separate libraryKlaus Aehlig
... and rename appropriately to reflect contents more precisely than the generic "common". This separation also disentangles dependencies a bit.
2025-02-20just-lock(1): Document --clone optionPaul Cristian Sarbu
2025-02-20just-lock: Add test for cloning 'git tree' repositoriesPaul Cristian Sarbu
2025-02-20just-lock: Add support for cloning 'git tree' repositoriesPaul Cristian Sarbu
2025-02-20just-lock: Add test for cloning archive-related repositoriesPaul Cristian Sarbu
...such as 'archive', 'zip', 'foreign file', and 'distdir'.
2025-02-20just-lock: Add support for cloning 'distdir' repositoriesPaul Cristian Sarbu
2025-02-20just-lock: Add support for cloning 'foreign file' repositoriesPaul Cristian Sarbu
2025-02-20just-lock: Add support for cloning 'archive' and 'zip' repositoriesPaul Cristian Sarbu
For these repositories the clone will contain only the subdir of the resolved unpacked archive.
2025-02-20just-lock: Add test for cloning 'git' repositoriesPaul Cristian Sarbu
2025-02-20just-lock: Add support for cloning 'git' repositoriesPaul Cristian Sarbu
2025-02-20just-lock: Add test for cloning 'file' repositoriesPaul Cristian Sarbu
2025-02-20just-lock: Initial implementation of --clone optionPaul Cristian Sarbu
This option stages locally the sources (i.e., workspace root) of a target repository found by following a list of bindings from a known starting repository. The final configuration will keep during deduplication the names of each starting repository and each target repository, with the output configuration updated to point to these local clones. Precomputed repositories cannot be cloned. Implementation is split in multiple commits. This commit contains the main logic for handling cloning. Currently only support for 'file' repositories is implemented. The code structure allows it to be subsequently extended to all other repository types.
2025-02-20just-lock design: Clarify wording of --clone optionPaul Cristian Sarbu
- specify that what is cloned is the workspace root of the target repository - disambiguate what is referred to as the 'start' and 'target' repository
2025-02-20just-lock: Add utility doing own parsing before fetching archivePaul Cristian Sarbu
Preparatory commit for implementation of '--clone' option.
2025-02-20just-lock: Add option to set a just binary to usePaul Cristian Sarbu
2025-02-20just-lock: Support special pragma for plain importsPaul Cristian Sarbu
Marking a source repository 'as plain' means that the whole source repository tree will get imported as a repository type corresponding to the source type. In this case, additional pragmas than those supported by the inndividual imports might need to be set. Solve this by supporting the just-mr-style 'pragma' field also in the source description, for all sources also accepting the 'as plain' field. Currently support only the 'special' pragma. Document change and add test for plain imports that checks this feature.
2025-02-20just-lock: Improve handling of pragmas in 'repos' import descriptionPaul Cristian Sarbu
In particular, any transitive 'file'-type repository will inherit any given '{to_git: true}' pragma in the import description objects. Note that this technically can only happen for transitive 'file' repositories imported from a 'file' source, so in all other cases such a pragma would not have any effect. Document change and extend the import from 'file' source test to check this feature.
2025-02-20just-import-git: Fix missing inherited pragmasPaul Cristian Sarbu
Update CHANGELOG accordingly.
2025-02-20just-lock: Fix missing inherited pragmasPaul Cristian Sarbu
Transitive 'file'-type repositories should inherit any pragmas suported by the new repository type they are rewritten as. Extend import tests to avoid regressing on this issue in the future.
2025-02-20just-lock-config(5): Fix wrong referenced man page namePaul Cristian Sarbu