Age | Commit message (Collapse) | Author | |
---|---|---|---|
2022-10-14 | Fix missing tree handling in BazelCasClient::ReadSingleBlob function | Sascha Roloff | |
The initial assumption before introducing the native remote execution protocol was that only blobs were transmitted over the wire and put in a blob store. With the native remote execution protocol, also trees can be transmitted over the wire and they are put in a different store than blobs. Different hashing functions are used for blobs and trees and need to be calculated accordingly for data to be put in the correct store. This distinction of blobs and trees is now implemented. Additionally, a warning is added that checks equality between the requested digest and the digest computed by the received content. This check makes sense to detect, e.g., corrupted messages, unexpected transmission termination, or remote server failure. | |||
2022-10-13 | bootstrap: by default, bootstrap in parallel | Klaus Aehlig | |
Only if the environment variable DEBUG is set, fall back to sequentially executing the graph generated by the bootstrap version of just. | |||
2022-10-13 | Add a parallel version of the bootstrap graph traverser | Oliver Reicher | |
2022-10-12 | Add copyright and license notice to all source and header files | Klaus Aehlig | |
Signed-off-by: Goetz Brasche <goetz.brasche@huawei.com> | |||
2022-10-11 | Add tree upload end-to-end test | Sascha Roloff | |
2022-10-11 | Refactor ReadTreeInfos function names and add documentation | Sascha Roloff | |
2022-10-11 | Scan provides map of target-cache entries for known artifacts | Sascha Roloff | |
2022-10-11 | FileSystemMgr: Suppress unsupported object type warning | Oliver Reiche | |
... if the object does not even exist. In that case, a trace message is produced and the caller is responsible for reporting errors. | |||
2022-10-11 | configure builtin: Fix segfault on evaluation error | Oliver Reiche | |
2022-10-10 | libgit2: Use new rule ["CC/auto", "config"] | Oliver Reiche | |
2022-10-10 | rules: New rule for config header generation | Oliver Reiche | |
2022-10-10 | rules: Use new 'env' expression | Oliver Reiche | |
2022-10-10 | rules: Remove CC/configure rule | Oliver Reiche | |
2022-10-10 | Replace CC/configure rule by builtin configure | Oliver Reiche | |
2022-10-07 | just: Use configure built-in to configure libgit2 | Oliver Reiche | |
2022-10-07 | libgit2: Configure entire library in high-level target | Oliver Reiche | |
2022-10-07 | Bump suffix after fixing upload of known trees | Klaus Aehlig | |
2022-10-07 | Fix upload of known source trees | Oliver Reiche | |
When a tree is taken from a git root, it is not necessarily known on the remote site. So, as any missing artifact it has to be uploaded, recursively uploading the parts to keep the tree invariant. The function RetrieveToCas was doing the correct recursiv pattern, however inspecting trees incorrectly using the function ReadTreeInfos; the latter function, however, was obtaining all the leafs of the tree as is needed for a compatible action-input description. Add and use a function that reads the direct contents of a tree. | |||
2022-10-07 | LocalTreeMap: Drop the use of the map entirely | Oliver Reiche | |
... as for remote execution, the map entries are only used for the `install` subcommand. For local execution, much less tree objects are read from CAS when using this map. However, the performance benefit is barely measurable and therefore we rather remove this map entirely to reduce complexity. | |||
2022-10-07 | LocalTreeMap: Prevent tree objects from being stored | Oliver Reiche | |
... to align with the original idea of caching a flat list of blob objects, without the need to recursively traverse any trees. Consequently, we cannot create any map entry in places where we do not have all sub-tree entries at hand (e.g., LocalAPI, BazelAPI, BazelResponse). | |||
2022-10-07 | BazelNetwork: Fix use of DirectoryMap in native mode | Oliver Reiche | |
... which is not using `Directory` messages nor does it support the `GetTree()` rpc. | |||
2022-10-07 | Tutorial: add section on `just rebuild` | Klaus Aehlig | |
2022-10-07 | Increase log level for grpc-related failures to warning | Klaus Aehlig | |
... so that any infra structure problem on the remote execution is reported by default. | |||
2022-10-07 | Improve error message on filure to execute a remote action | Klaus Aehlig | |
... to emphasize that this is the extensional action identifier, not the intensional one. | |||
2022-10-05 | Doc: Describe usage of 'configure' built-in | Oliver Reiche | |
2022-10-05 | Test: Add tests for 'configure' built-in | Oliver Reiche | |
2022-10-05 | built-ins: Add new built-in rule 'configure' | Oliver Reiche | |
2022-10-05 | Doc: Describe usage of 'env' expression | Oliver Reiche | |
2022-10-05 | Test: Add tests for 'env' expression | Oliver Reiche | |
2022-10-05 | Expr: Add 'env' expression | Oliver Reiche | |
2022-10-05 | Bootstrap: Support ARM architectures | Oliver Reiche | |
2022-10-05 | grpc: Simplify target definition | Oliver Reiche | |
2022-10-05 | LocalAction: Improve error message for staging | Oliver Reiche | |
2022-10-05 | AnalysedTarget: Make shared pointer's content immutable | Oliver Reiche | |
... while technically not required, it makes it harder to run into nasty errors. | |||
2022-10-05 | just-mr.py: for the fetch subcommand acutally fetch | Klaus Aehlig | |
A checkout does not necessarily fetch an archive: if we already have the git tree for that archive, this is enough to create a build root. For the fetch command, however, we need to have the actual archive as we have to copy it to the distdir. Of course, we only create the git tree once we got hold of the archive. However, with the introduction of CAS purging, the invariant that we have the archive whenever we can create a build root will no longer be true. This is acutally a feature as the git trees can be stored more compactly if we accumulate different release archives of the same upstream project. However, it also means that we explicitly have to fetch the archive in the fetch subcommand. Do this. | |||
2022-10-04 | just: Fix version subcommand; Fix just section-1 man page | Paul Cristian Sarbu | |
The version subcommand now has no expected command line options, as expected. Also the version subcommand was missing from the man page synopsis. | |||
2022-09-21 | grpc: Fix missing propagation of COMPILER_FAMILY | Oliver Reiche | |
2022-09-16 | Also log dumping of the action graph | Klaus Aehlig | |
... at INFO level, in the same way as all other dumping of analysis results happen. | |||
2022-09-16 | Toolchain: Disable ABI warning for 32bit ARM GCC | Oliver Reiche | |
2022-09-16 | externals: Selectively disable remaining warnings | Oliver Reiche | |
2022-09-16 | protobuf: Precisely replicate original flags | Oliver Reiche | |
2022-09-16 | grpc: Precisely replicate original flags | Oliver Reiche | |
2022-09-16 | abseil: Precisely replicate original flags | Oliver Reiche | |
2022-09-16 | libgit2: Precisely replicate original flags | Oliver Reiche | |
2022-09-14 | rules: Fix ar binary not taken from defaults | Oliver Reiche | |
2022-09-14 | Defaults: Fix setting TARGET_ARCH from ARCH if not set | Oliver Reiche | |
2022-09-14 | Defaults: Fix definition of ar binary | Oliver Reiche | |
2022-09-13 | Doc: Update install instructions for cross-compilation | Oliver Reiche | |
2022-09-13 | Just: Set default TARGET_ARCH and COMPILER_FAMILY | Oliver Reiche | |
2022-09-13 | Defaults: Use hierarchical defaults for flags and toolchain | Oliver Reiche | |