Age | Commit message (Collapse) | Author | |
---|---|---|---|
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 | |
2022-03-04 | Add rule ["patch", "file"] | Klaus Aehlig | |
... to patch a single file, logically in place. | |||
2022-03-04 | executor: fix json reporting of commands | Klaus Aehlig | |
When reporting a command that failed, or produced some output, report it as a list of strings, not as a singleton-list consisting of a list of strings. While there, improve wording of message; in particular, avoid confussion between a command that errored and one that produced outout on stderr. | |||
2022-03-04 | rule_map: improve error message by proper quoting | Klaus Aehlig | |
Our rule names can be arbitrary strings, so improve readability of error message by properly quoting the rule name; while there, also properly quote the module name, resulting in better readability if the module is "". | |||
2022-03-03 | Externals: Set `-O2` and C standard `gnu17` | Oliver Reiche | |
2022-03-03 | External gRPC: Disable warnings | Oliver Reiche | |
2022-03-03 | External libgit2: Disable warnings | Oliver Reiche | |
2022-03-03 | External re2: Disable warnings | Oliver Reiche | |
2022-03-03 | External absl: Disable warnings | Oliver Reiche | |
2022-03-03 | CC rules: Disable warnings for protobuf | Oliver Reiche | |
2022-03-03 | CC rules: Add support for local cflags | Oliver Reiche | |
2022-03-03 | Add end-to-end test executing compiled binaries | Klaus Aehlig | |
Add a test that compiles many C binaries and runs them. The main purpose of the test is to detect any race conditions in this scenario. | |||
2022-03-03 | Add end-to-end test using built shell scripts to generate files | Klaus Aehlig | |
2022-03-02 | Extend shell-test rules to optionally detect flakyness | Klaus Aehlig | |
2022-03-02 | expression language: add a range function | Klaus Aehlig | |
Given a number or number representation, return a list of that length consisting of representations of the lower numbers. In this way, repeated non-pure actions can be generated (e.g., repetitions of a test to detect flakyness). | |||
2022-03-02 | tool: at the earliest possible moment confirm the target | Klaus Aehlig | |
In this way the user gets an early feedback about the target that was requested and can check if that was the target they had in mind, especially in the case of fall back to the alphabetically first one (according to native byte order). As a nice side effect, we have a timestap on when the analysis started. | |||
2022-03-01 | CC test: Add optional test launcher `CC_TEST_LAUNCHER` | Oliver Reiche | |
2022-03-01 | Test TaskSystem: Fix read after free | Oliver Reiche | |
2022-03-01 | Add a message after consolidating the analysis result | Klaus Aehlig | |
On the one hand, this message is after an important step in the build process, to giving the user a better insight into what is going on. On the other hand, the size of the discovered graph is useful information, e.g., when comparing with the number of actions actually traversed when building the requested artifacts. | |||
2022-03-01 | Pass actions and trees in analysis result as shared pointer | Klaus Aehlig | |
... to avoid unnecessary copying and moving of larger objects. | |||
2022-03-01 | main: add a log message after finishing analysis | Klaus Aehlig | |
In this way, the user has a slightly better insight into the stage the tool currently works on. While there, also move the first report of taintedness to the earliest possible moment. | |||
2022-03-01 | flush after logging to stderr | Klaus Aehlig | |
2022-03-01 | Link build_engine tests to overall test target | Klaus Aehlig | |
2022-02-28 | action-equality test: improve conditions | Klaus Aehlig | |
Use the log functionality instead of relying on stderr being precisely the log. Also check for the number of processed actions instead of any number of actions that might be reported in the log. While there, redirect stderr to stdout to have a unified cronological log. | |||
2022-02-28 | Tests: Avoid std::tmpnam as it is considered unsafe | Oliver Reiche | |
... and therefore produces linker warnings. | |||
2022-02-28 | Executor: Log failing action's command | Oliver Reiche | |
2022-02-28 | Format: Apply clang-format suggestions to tests | Oliver Reiche | |
2022-02-28 | Test GraphTraverser: Use update-alternatives' c++ by default | Oliver Reiche | |
2022-02-28 | Test filesystem: Check exact permissions | Oliver Reiche | |
... instead of relying on the filesystem preventing us from writing to a read-only file, which wont happen if the user is root. | |||
2022-02-28 | External libgit2: Fix header declaration | Oliver Reiche | |
2022-02-28 | External protobuf: Add missing zlib dependency | Oliver Reiche | |
2022-02-28 | CLI: Add option to set action timeout | Oliver Reiche | |
2022-02-25 | Add end-to-end test verifying repository-name resolving | Klaus Aehlig | |
Repositories are indentified by free names that are bound, in a per-repository way, in a global configuration. Add a test verifying this: the name "other" refers to differnt repositories in the repositories "A" and "B" and chains of depending on "other" can be followed. | |||
2022-02-25 | Add end-to-end test about target naming | Klaus Aehlig | |
... in particular verifying that relative references cannot go outside a repository and explict file ferences cannot go upwards. |