Age | Commit message (Collapse) | Author | |
---|---|---|---|
2025-02-20 | just-lock: Add support for cloning 'archive' and 'zip' repositories | Paul Cristian Sarbu | |
For these repositories the clone will contain only the subdir of the resolved unpacked archive. | |||
2025-02-20 | just-lock: Add test for cloning 'git' repositories | Paul Cristian Sarbu | |
2025-02-20 | just-lock: Add support for cloning 'git' repositories | Paul Cristian Sarbu | |
2025-02-20 | just-lock: Add test for cloning 'file' repositories | Paul Cristian Sarbu | |
2025-02-20 | just-lock: Initial implementation of --clone option | Paul 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-20 | just-lock design: Clarify wording of --clone option | Paul 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-20 | just-lock: Add utility doing own parsing before fetching archive | Paul Cristian Sarbu | |
Preparatory commit for implementation of '--clone' option. | |||
2025-02-20 | just-lock: Add option to set a just binary to use | Paul Cristian Sarbu | |
2025-02-20 | just-lock: Support special pragma for plain imports | Paul 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-20 | just-lock: Improve handling of pragmas in 'repos' import description | Paul 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-20 | just-import-git: Fix missing inherited pragmas | Paul Cristian Sarbu | |
Update CHANGELOG accordingly. | |||
2025-02-20 | just-lock: Fix missing inherited pragmas | Paul 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-20 | just-lock-config(5): Fix wrong referenced man page name | Paul Cristian Sarbu | |
2025-02-19 | BazelNetwork: Optimize DoUploadBlobs | Maksim Denisov | |
...by removing an extra std::vector of iterators. Instead, remove elements directly from std::unordered_set. | |||
2025-02-19 | CommonApi: Remove GetMissingArtifactsInfo | Maksim Denisov | |
2025-02-19 | CommonUploadBlobTree: Use BackMap to get missing digests | Maksim Denisov | |
2025-02-19 | GitApi: Use BackMap to get missing digests | Maksim Denisov | |
2025-02-19 | LocalApi: Use BackMap to get missing digests | Maksim Denisov | |
2025-02-19 | BazelApi: Use BackMap to get missing digests | Maksim Denisov | |
2025-02-19 | BazelApi: Create BackMap in ::RetrieveToCas | Maksim Denisov | |
and drop precreated info_map. | |||
2025-02-19 | BackMap: Implement GetReferences | Maksim Denisov | |
2025-02-19 | ApiBundle: Remove HashFunction. | Maksim Denisov | |
And ensure every user obtains HashFunction from corresponding IExecutionApi | |||
2025-02-19 | IExecutionApi: Return supported HashFunction::Type | Maksim Denisov | |
2025-02-19 | Store HashFunction by value | Maksim Denisov | |
Although references give an additional information about ownership, they introduce additional design difficulties. | |||
2025-02-19 | BazelApi: Move bazel_action and bazel_response to "bazel_api" | Maksim Denisov | |
2025-02-19 | BazelApi: rename library "bazel" => "bazel_api" | Maksim Denisov | |
2025-02-19 | LocalApi: rename library "local" => "local_api" | Maksim Denisov | |
2025-02-19 | LocalApi: Add cpp file | Maksim Denisov | |
2025-02-19 | GitApi: rename library "git" => "git_api" | Maksim Denisov | |
2025-02-19 | GitApi: Store repo_config_ by reference, remove unused method | Maksim Denisov | |
2025-02-19 | GitApi: Add cpp file | Maksim Denisov | |
...and move implementation details there. | |||
2025-02-19 | {MR}GitApi: Drop inheritance | Maksim Denisov | |
2025-02-18 | tutorial: update tests section | Klaus Aehlig | |
Add the artifacts and outputs of the updated rules, as well as some explanatory remarks. | |||
2025-02-18 | tutorial: update rebuild section | Klaus Aehlig | |
- As we build a binary hello, make it an extension of the hello we had before. - Make the passing of time more explicit. - Add actual output of rerunning the tutorial. | |||
2025-02-17 | tutorial: update hello-world section | Klaus Aehlig | |
As our defaults rule supports flags common for C and C++ use them, especially as our example only uses common flags. | |||
2025-02-17 | tutorial: update reference to rules-cc | Klaus Aehlig | |
2025-02-14 | Update CHANGELOG | Paul Cristian Sarbu | |
... with entry for new just add-to-cas --resolve-special option. | |||
2025-02-14 | just(1): Document add-to-cas --resolve-special option | Paul Cristian Sarbu | |
2025-02-14 | end-to-end: Add add-to-cas --resolve-special test... | Paul Cristian Sarbu | |
...that checks if symlinks are treated the same as in just-mr. | |||
2025-02-14 | end-to-end: Extend existing add-to-cas test... | Paul Cristian Sarbu | |
...to check that --resolve-special option correctly stores entries. | |||
2025-02-14 | just add-to-cas: Enable --resolve-special option | Paul Cristian Sarbu | |
2025-02-14 | just add-to-cas: Implement resolve special logic for trees | Paul Cristian Sarbu | |
2025-02-14 | Add enum for add-to-cas resolve special option | Paul Cristian Sarbu | |
2025-02-14 | code structure: rename symlinks_map folder to symlinks | Paul Cristian Sarbu | |
...to remove the unnecessary link between folder name and the logic of resolve_symlinks_map. | |||
2025-02-14 | pragma_special.hpp: Inline global scope maps | Paul Cristian Sarbu | |
2025-02-14 | ArtifactBlob: remove redundant ctor | Maksim Denisov | |
2025-02-14 | BazelMsgFactory: CreateDirectoryDigestFromTree fail if not all symlinks are ↵ | Maksim Denisov | |
resolved. | |||
2025-02-14 | BazelCasClient: Ensure methods that use InitRequest do progress. | Maksim Denisov | |
2025-02-14 | tutorial, getting started: add the basics of analyse | Klaus Aehlig | |
2025-02-14 | tutorial, getting started: include more idiomatic use of options | Klaus Aehlig | |
... in particular in the case of targets producing precisely one artifact; this better emphasizes the idea that we talk to the tool in terms of targets. While there, also add some clarifying comments. |