Age | Commit message (Collapse) | Author | |
---|---|---|---|
2023-12-07 | just-mr fetch: Extend to include 'git tree' repositories | Paul Cristian Sarbu | |
This includes implementing the logic for the --backup-to-remote and --fetch-absent options. | |||
2023-12-07 | just-mr setup: Allow --fetch-absent also for 'git tree' repositories | Paul Cristian Sarbu | |
2023-12-07 | just-mr git tree: Interrogate also just serve endpoint if provided | Paul Cristian Sarbu | |
2023-12-07 | just serve: Implement client-side ServeTree and extend serve API | Paul Cristian Sarbu | |
2023-12-07 | just serve: Implement server-side ServeTree RPC | Paul Cristian Sarbu | |
2023-12-07 | source_tree.cpp: Fix wrong path in log message | Paul Cristian Sarbu | |
2023-12-07 | just_serve.proto: Add rpc to serve known tree and sync it to remote CAS | Paul Cristian Sarbu | |
2023-12-07 | just-mr git tree: Extract the fetch logic in its own async map | Paul Cristian Sarbu | |
2023-12-07 | just-mr fetch: Clarify naming of current fetch async map | Paul Cristian Sarbu | |
As preparatory step for extending the types of repositories that are targeted by a just-mr fetch subcommand, names of certain variables and of the currently only fetch operation async map were changed to clarify that they only target archives. | |||
2023-12-07 | just-mr git tree: Inquire remote execution before calling fetch command | Paul Cristian Sarbu | |
2023-12-07 | content_cas_map: Remove unnecessary return type | Paul Cristian Sarbu | |
As this map is supposed to work as an all-or-nothing guarantee of content being in CAS, we can replace the bool return type with the null type instead. | |||
2023-12-06 | install-cas cli: Remove remote execution properties and dispatch file... | Paul Cristian Sarbu | |
...options from the generated help messages, as these are not used for the install-cas subcommand. This also updates the man page accordingly, where the dispatch file was marked as supported, as well as update any test affected by these changes. | |||
2023-12-06 | just serve: make tc write strategy configurable | Klaus Aehlig | |
2023-12-06 | Add CLI option to set write strategy for target-level cache | Klaus Aehlig | |
2023-12-05 | target-cache writing: support different strategies | Klaus Aehlig | |
2023-12-05 | just serve: Orchestrate remote build for uncached export targets | Paul Cristian Sarbu | |
2023-12-05 | FileRoot: Add ignore-special flag getter and remove unneeded inlining | Paul Cristian Sarbu | |
2023-12-05 | serve target client: Ensure repository key blob is also in remote CAS | Paul Cristian Sarbu | |
2023-12-05 | just serve: Add configuration fields for remote builds | Paul Cristian Sarbu | |
2023-12-05 | serve target: Add missing gc lock | Paul Cristian Sarbu | |
2023-12-05 | just main: Move useful results processing methods to own library | Paul Cristian Sarbu | |
2023-12-05 | AnalyseTarget: Simplify method signature | Paul Cristian Sarbu | |
Similarly to the jobs common argument, we can simply only pass the needed single element from the analysis arguments struct. This will allow for a clearer understanding of what target analysis requires and reduce the overhead when reutilizing this method in just serve. | |||
2023-12-05 | just main: Move root parser into static FileRoot method... | Paul Cristian Sarbu | |
...to make it available also for setting up 'just serve' builds. | |||
2023-12-05 | just main: Make capitalization in log messages consistent | Paul Cristian Sarbu | |
2023-12-05 | executor: Move helper methods inside ExecutorImpl class | Paul Cristian Sarbu | |
...with appropriate scope depending on where they are called from, to avoid unnecessary code duplication. | |||
2023-12-04 | target.hpp: Fix double include statement | Paul Cristian Sarbu | |
2023-12-04 | git_repo_remote: Fix wrong header include format | Paul Cristian Sarbu | |
2023-12-01 | just-mr archive: Report all tried remotes if fetch fails | Paul Cristian Sarbu | |
2023-12-01 | just-mr git: Report all tried remotes if fetch fails | Paul Cristian Sarbu | |
2023-12-01 | commit_git_map: Formatting fix | Paul Cristian Sarbu | |
2023-11-30 | Resolve inconsistencies in third-party headers include format | Paul Cristian Sarbu | |
2023-11-30 | local API: Implement upload file | Klaus Aehlig | |
... overriding the default implementation. In this way, files can be added directly to the local CAS without having to completely reside in memory. | |||
2023-11-30 | Splice blobs on disk | Klaus Aehlig | |
When using blob splitting, we expect to create a potentially large file. Therefore reconstruct it from its parts on disk rather than keeping the whole file in memory. | |||
2023-11-30 | remote API: support uploading files from the file system | Klaus Aehlig | |
Allow implementations to have a specialized way of uploading a file owned by the build process to the applicable cas, both as file, as well as as tree object (in native mode). If no implementation is provided, the default is to read the file into memory and use the Upload method. | |||
2023-11-30 | Add files to CAS without fully keeping them in memory | Klaus Aehlig | |
2023-11-30 | hash_function: support hashing of files | Klaus Aehlig | |
Extend our internal hash-function abstraction to support hashing of files. In this way, we can provide a way to compute the hash of a potentially large file without having to fully read it to memory first, while still keeping the details of the used hash function abstracted away. | |||
2023-11-30 | ObjectType: Add noexcept specifier | Paul Cristian Sarbu | |
2023-11-30 | FileRoot: Fix content description for ignore-special roots | Paul Cristian Sarbu | |
Ignore-special git-tree-based roots are still content defined, so one should use the correct marker in the JSON description of the root that will be stored in the repository description of target cache keys. This commit fixes the issue and improves documentation. | |||
2023-11-27 | Refactoring RepositoryConfig | Paul Cristian Sarbu | |
With the introduction of 'just serve', export targets can now be built also independently from one another based on their corresponding minimal repository configuration, as stored in the target cache key. In this context, this commit changes the RepositoryConfig usage from one global (static) instance to pointers passed as necessary throughout the code. | |||
2023-11-24 | just: Fix wrong access to moved struct | Paul Cristian Sarbu | |
The traverser instantiation consumes the arguments.build struct, therefore one must not access that struct later in the code. | |||
2023-11-22 | LocalAction: Fix staging of empty trees | Oliver Reiche | |
2023-11-22 | Implement blob splitting protocol on just client side | Sascha Roloff | |
2023-11-22 | Implement blob splitting protocol on just server side | Sascha Roloff | |
2023-11-21 | content_cas_map: Interrogate just serve endpoint also if doing pure fetch | Paul Cristian Sarbu | |
Before trying to fetch an archive content from other non-local sources, check first the just serve endpoint. | |||
2023-11-21 | just serve: Implement client-side ServeContent and extend serve API | Paul Cristian Sarbu | |
2023-11-21 | just serve: Implement server-side ServeContent RPC | Paul Cristian Sarbu | |
2023-11-21 | just_serve.proto: define ServeContent RPC | Paul Cristian Sarbu | |
2023-11-21 | archive repository: Query 'just serve' endpoint also when not marked absent | Paul Cristian Sarbu | |
...before going to the network, if 'just serve' endpoint given. ContentCASMap was reworked to provide a cleaner logic for handling pure fetches, which also reduced code duplication in ContentGitMap. | |||
2023-11-21 | git repository: Query 'just serve' endpoint also when not marked absent | Paul Cristian Sarbu | |
...before going to the network, if 'just serve' endpoint given. | |||
2023-11-21 | SourceTree service: Bump up server-side log levels | Paul Cristian Sarbu | |
Log levels on the server-side should reflect the meaning of the status codes in the response messages. As such, anything that leads directly to an error-type status code has been bumped up to log level Error, the rest to log level Info. |