Age | Commit message (Collapse) | Author | |
---|---|---|---|
2025-02-05 | "generic" rule: verify staging conflicts on inputs | Klaus Aehlig | |
The "generic" rules deliberately resolves conflicts on identical paths in a latest-wins fashion (seeing all artifacts as later than all runfiles) to allow an easy way to define actions. However, the inputs stage obtained by this resolution can still contain conflicts and those are an error. Properly detect those. Also clarify in the documentation, that only conflicts on identical paths are resolved in the described priority, not semantic overlap. (cherry-picked from 5e104a526cf76fe75312d2fd288a3c88f506fb0a) | |||
2024-12-03 | Fix unchecked access to FileRoot | Maksim Denisov | |
(cherry-picked from a9899714c61b998f408e36d870ad8408ec780590) | |||
2024-10-29 | Clean up unused dependencies | Klaus Aehlig | |
2024-10-25 | Add dependencies explicitly that are included directly | Klaus Aehlig | |
... instead of relying on those dependencies being pulled in indirectly. | |||
2024-10-23 | expressions: enforce strict arguments for "join" and "join_cmd"v1.4.0-alpha+20241023 | Klaus Aehlig | |
... as described in the documentation. It was never intended to have a single string being an argument for those. | |||
2024-10-21 | configured_target: honor --expression-log-limit when shortening representation | Klaus Aehlig | |
2024-10-10 | Remove from OSS intersecting public-private dependencies | Maksim Denisov | |
2024-10-08 | Name local variables using lower_case | Maksim Denisov | |
...and private members using lower_case_ | |||
2024-10-08 | Name value template parameters using kCamelCase. | Maksim Denisov | |
2024-10-08 | Name constexpr variables using kCamelCase. | Maksim Denisov | |
2024-10-08 | Name type template parameters using CamelCase. | Maksim Denisov | |
2024-10-07 | Disable misc-no-recursion check | Maksim Denisov | |
...since we use recursion for trees a lot, but skip this check manually. | |||
2024-10-07 | Enable readability-* checks. | Maksim Denisov | |
2024-10-07 | Enable readability-redundant-member-init check. | Maksim Denisov | |
2024-10-07 | Enable modernize-* checks. | Maksim Denisov | |
2024-10-07 | Enable bugprone-empty-catch check. | Maksim Denisov | |
2024-10-07 | Enable bugprone-exception-escape check | Maksim Denisov | |
2024-10-07 | Enable bugprone-narrowing-conversions check | Maksim Denisov | |
2024-09-26 | Fix enum sizes proposed by clang-tidy. | Maksim Denisov | |
Enable performance-enum-size check. | |||
2024-09-26 | Fix redundant std::optional conversions | Maksim Denisov | |
...proposed by clang-tidy. Enable bugprone-optional-value-conversion check. | |||
2024-09-23 | Reorder dependencies and remove duplicates in OSS | Maksim Denisov | |
2024-09-18 | Add missing #endif comments in headers | Maksim Denisov | |
2024-09-13 | .clang-tidy: enforce more checks | Klaus Aehlig | |
... to avoid regressing there. To be able to enable these checks also disable a false positive. | |||
2024-09-13 | Avoid unnecessary copies | Klaus Aehlig | |
2024-09-13 | Avoid unnecessary creation of temporary object | Klaus Aehlig | |
2024-09-13 | Pass HashFunction::Type to FileRoot::AsKnownTree | Maksim Denisov | |
...to get the protocol type. | |||
2024-09-13 | Pass HashFunction::Type to SourceTargetMap | Maksim Denisov | |
...that is to be used by FileRoot::ToArtifactDescription. | |||
2024-09-12 | Do not move variables still used | Klaus Aehlig | |
... depending on the evaluation order implicit in the compiler. | |||
2024-09-11 | Use HashFunction::Type to deserialize ArtifactDescription | Maksim Denisov | |
2024-09-09 | Replace ArtifactDigest::Create | Maksim Denisov | |
...with ArtifactDigestFactory::HashDataAs | |||
2024-08-27 | Reformat code to comply with clang-format 18 | Klaus Aehlig | |
... while keeping our .clang-format file. | |||
2024-08-23 | Rule "generic": verify that the output is a properly formed artifact stage | Klaus Aehlig | |
2024-08-23 | When creating actions, normalize paths in the action definition | Klaus Aehlig | |
... and also perform conflict check on the normalized paths. Still, the the output of the "ACTION" funtion be keyed by the representation of the paths as originally described, to allow the author of a rule to use non-normalized paths as well. | |||
2024-08-14 | expression language: add nub_left | Klaus Aehlig | |
Originally, the expression lanuage only contained a function to deduplicate a list, keeping only the right-most occurence. The reason was that this is the order needed for linking: a library providing an open symbol has to come on the command line after the library using that symbol (and hence making it an open symbol). However, by now use cases have emerged that require a topological sorting where definition comes before use; also, when composing the value of PATH from fragments, we usually want to keep the first occurrence in order for it to take precedence. Therefore, also add "nub_left" as built-in function, allowing a more condense (and slightly more efficient) description in rules instead of the revserse-nub_right-reverse pattern. | |||
2024-08-14 | absent_target_map: fix private hdrs | Klaus Aehlig | |
... and, in particular, do not include headers of other libraries that are not even needed. | |||
2024-08-07 | Replace classic C boolean operators with keywords | Maksim Denisov | |
! => not; && => and, || => or | |||
2024-08-05 | Expression language: add expression from_subdir | Klaus Aehlig | |
... allowing to select only the keys in a specific subdir, and move the them to top-level. | |||
2024-08-02 | Actions with non-trivial cwd: add empty input tree, if required | Klaus Aehlig | |
While our local action execution implicitly creates the specified cwd with the first output file or directory, this behaviour is not mandated by the remote-execution protocol. There, an action definition has to ensure that cwd is a directory implied by the input files. Achieve this, by adding an empty input directory at cwd if this can be done without creating tree conflicts. | |||
2024-08-02 | generic rule: add support for cwd | Klaus Aehlig | |
2024-08-02 | rules: make ACTION expression support "cwd" | Klaus Aehlig | |
2024-08-01 | class Action: include field cwd | Klaus Aehlig | |
... for the working directory inside the action directory. | |||
2024-08-01 | expression: add kEmptyString | Klaus Aehlig | |
2024-07-26 | Add quasiquote expression | Klaus Aehlig | |
2024-07-26 | expression language: add quoting | Klaus Aehlig | |
2024-07-22 | Rename HashFunction methods and enums | Maksim Denisov | |
2024-07-22 | Unify tagging logic in HashFunction | Maksim Denisov | |
2024-07-22 | Use HashFunction from Storage during analysis | Maksim Denisov | |
2024-07-22 | Use a fixed HashFunction in ActionDescription | Maksim Denisov | |
2024-07-22 | Use a fixed HashFunction in expressions | Maksim Denisov | |
2024-07-22 | Pass HashFunction to ArtifactDigest::Create | Maksim Denisov | |