Age | Commit message (Collapse) | Author | |
---|---|---|---|
2022-04-04 | Add a new log level for progress updates | Klaus Aehlig | |
2022-04-04 | cli: hint on orientation of --log-limit argument | Klaus Aehlig | |
2022-04-04 | file logging: shorten continuation prefix | Klaus Aehlig | |
While on the console, we want multi-line logs nicely aligned, when logging to a file, unique readability is enough. So we can fix the continuation prefix to a fixed string (with non-overlapping initial segment). This makes log files easier to scan and also avoids very long lines, given that the more complete message prefixes are very long. | |||
2022-04-04 | Set top-level default target | Klaus Aehlig | |
... to install the resulting binary to "bin". | |||
2022-04-04 | Hardlinking: when error is expected, log only at debug level | Klaus Aehlig | |
2022-03-31 | rules ["CC", "libray"]: fix doc strings | Klaus Aehlig | |
... to have consistent punctuation. Also make clear, that the configuration does not have to specify "CC", etc, as usually they are taken from the default target. | |||
2022-03-30 | Eliminate duplicated code in ParseEntityName{FromJson,FromExpression} | Alberto Sartori | |
This patch introduces a templated ParseEntityName which can accept a json or ExpressionPtr. Internally, performs a proper dispatch on these cases - isString - isList - size == 2 - size >= 3 A test is added for checking the proper handling of an empty list | |||
2022-03-29 | refactor EntityName | Alberto Sartori | |
EntityName now clearly expresses its double identity: - NamedTarget - AnonymousTarget The usage of std::variant<NamedTarget,AnonymousTarget> guarantees that EntityName, internally, is not a mix of the two - like could happen before this patch. NamedTarget features an enum ReferenceType to express the type of the target, namely, "normal target" or an "explicit file reference". Thanks to this refactoring, the introduction of new targets type should be easier, since the design is more modular. NamedTarget | |||
2022-03-25 | ExecutionApi: Add test for retrieving mixed blobs and trees | Oliver Reiche | |
2022-03-25 | don't check bounds twice | Alberto Sartori | |
2022-03-24 | Document our cache-pragmas for actions | Klaus Aehlig | |
... that allow us to treat builds and tests in a uniform way, basically by building a test report. | |||
2022-03-24 | doc/concepts/anonymous-targets.org: fix org markup typo | Klaus Aehlig | |
2022-03-23 | Apply changes suggested by clang-tidy 11 | Oliver Reiche | |
2022-03-23 | Apply changes suggested by clang-format 11 | Oliver Reiche | |
2022-03-23 | repos.json: add pragma "to_git" for roots used by external projects | Klaus Aehlig | |
... so that they become fully content-fixed and we can benefit from target caching, once implemented. | |||
2022-03-23 | multi-repo setup tool: add pragma to transfrom file roots to git | Klaus Aehlig | |
... and in this way enable them to present themselves to our tool als fully specified content (which will be useful once we add target caching). If that file root is under git anyway (like the rules or external target files in this repository) computing that git root is also a relatively cheap operation. | |||
2022-03-23 | remove obsolete targets | Alberto Sartori | |
By having a proper rule for CC/IDE, these targets are no longer needed | |||
2022-03-23 | add just-ext-hdrs target to stage external headers is a given folder | Alberto Sartori | |
This is useful when e.g. using an IDE to get access to the definition/ declaration of the symbols of external dependencies | |||
2022-03-23 | Create IDE rule for CC targets | Oliver Reiche | |
2022-03-22 | BazelApi: Fix retrieving artifacts to filesystem path | Oliver Reiche | |
... which was accessing the wrong artifacts in the list if the artifact list contains a mixture of files and trees. | |||
2022-03-22 | Add basic documentation for anonymous targets | Klaus Aehlig | |
2022-03-22 | Add documentation for the basic concepts of multi-repo builds | Klaus Aehlig | |
2022-03-22 | Document the way we use our documentation strings | Klaus Aehlig | |
2022-03-21 | Drop unnecessary declaration of indirect dependencies | Klaus Aehlig | |
If we do not use a target directly, we also should not include it. It's be build tool's job to track indirect dependencies. | |||
2022-03-21 | ["", "exported-just"] make "CC" flexible | Klaus Aehlig | |
While our own tool is entirely written in C++, we link against libraries written in C which, in the default multi-repo setup we build from source. Therefore, the target also depends on the C compiler, not only the C++ one. Hence also allow the user to user a different compiler here as well, in the same way as they can override the C++ compiler. | |||
2022-03-18 | When representing a directory as json, terminate with new-line character | Klaus Aehlig | |
I this way, also resulting trees can cleanly be printed on the command line via the -P option. | |||
2022-03-18 | Add documentation for the "proto" fields in the CC rules | Klaus Aehlig | |
2022-03-16 | Format: Apply compact JSON formatting | Oliver Reiche | |
2022-03-14 | External libgit2: Inline filegroups used only once | Oliver Reiche | |
2022-03-14 | External libgit2: Remove duplicate define | Oliver Reiche | |
2022-03-14 | just describe: Also describe config fields | Oliver Reiche | |
2022-03-14 | ExecutionApi: Add test for creating outdirs before execution | Oliver Reiche | |
2022-03-14 | LocalExecution: Create output dirs prior to execution | Oliver Reiche | |
... to be consistent with the remote execution protocol. | |||
2022-03-14 | ExecutionAPI: Add test for retrieving trees to path | Oliver Reiche | |
2022-03-14 | BazelApi: Fix missing entries in cached trees from tree map | Oliver Reiche | |
... as wrongfully only sub-tree entries were added to locally cached trees, although they should also store entries for files and executables. | |||
2022-03-14 | LocalApi: Fix missing entries in cached trees from tree map | Oliver Reiche | |
... as wrongfully only sub-tree entries were added to locally cached trees, although they should also store entries for files and executables. | |||
2022-03-14 | rule CC/test: Introduce TEST_ENV for test runners | Oliver Reiche | |
2022-03-14 | ExecutionAPI: Add common tests for local and remote api | Oliver Reiche | |
2022-03-09 | LocalCAS: Set epoch time for every entry | Oliver Reiche | |
... and refactor static constant to proper format `kFdLess`. | |||
2022-03-09 | FileSystemManager: Support set epoch time on file creation | Oliver Reiche | |
2022-03-09 | FileStorage: Avoid rename for owned files | Oliver Reiche | |
... and therefore split the common `AtomicAdd()` into two functions for adding from bytes or file path. The procedure for adding from bytes remains the same. For adding from file path, we can link the file directly and skip the rename, if the file did not exist and we have ownership. | |||
2022-03-09 | Add a test demonstrating nested trees | Klaus Aehlig | |
2022-03-08 | LocalCAS: Prefer hard link over copy for owned files | Oliver Reiche | |
2022-03-08 | FileSystemManager: Implement hard link creation with perms | Oliver Reiche | |
2022-03-08 | LocalCAS: Avoid writable fds when adding executables to CAS | Oliver Reiche | |
2022-03-08 | FileSystemManager: Implement fd-less write to file | Oliver Reiche | |
2022-03-08 | FileSystemManager: Implement fd-less file copy | Oliver Reiche | |
2022-03-08 | SystemCommand: Exit without cleanup on error and avoid logger | Oliver Reiche | |
2022-03-08 | SystemCommand: Move to new module "src/buildtool/system" | Oliver Reiche | |
2022-03-04 | Patch away unused imports in bytestream.proto | Klaus Aehlig | |