summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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
2025-02-19BazelNetwork: Optimize DoUploadBlobsMaksim Denisov
...by removing an extra std::vector of iterators. Instead, remove elements directly from std::unordered_set.
2025-02-19CommonApi: Remove GetMissingArtifactsInfoMaksim Denisov
2025-02-19CommonUploadBlobTree: Use BackMap to get missing digestsMaksim Denisov
2025-02-19GitApi: Use BackMap to get missing digestsMaksim Denisov
2025-02-19LocalApi: Use BackMap to get missing digestsMaksim Denisov
2025-02-19BazelApi: Use BackMap to get missing digestsMaksim Denisov
2025-02-19BazelApi: Create BackMap in ::RetrieveToCasMaksim Denisov
and drop precreated info_map.
2025-02-19BackMap: Implement GetReferencesMaksim Denisov
2025-02-19ApiBundle: Remove HashFunction.Maksim Denisov
And ensure every user obtains HashFunction from corresponding IExecutionApi
2025-02-19IExecutionApi: Return supported HashFunction::TypeMaksim Denisov
2025-02-19Store HashFunction by valueMaksim Denisov
Although references give an additional information about ownership, they introduce additional design difficulties.
2025-02-19BazelApi: Move bazel_action and bazel_response to "bazel_api"Maksim Denisov
2025-02-19BazelApi: rename library "bazel" => "bazel_api"Maksim Denisov
2025-02-19LocalApi: rename library "local" => "local_api"Maksim Denisov