summaryrefslogtreecommitdiff
path: root/EXPRESSIONS
AgeCommit message (Collapse)Author
2023-01-10rules: Add support for pkg-configOliver Reiche
2022-12-14rules: Report fieldname of overlapping artifacts/runfilesOliver Reiche
2022-05-02Expression ['', 'field_runfiles']: ensure disjointnessKlaus Aehlig
... by using "disjoint_map_union" instead of "map_union" which has a latest-wins semantics and does not have a "msg" arguement.
2022-04-29rules: Perform disjoint map union in field_* expressionsOliver Reiche
... and replace all instances where the field_*_list variant of those expressions is used solely for the purpose of performing the disjoint union manually.
2022-04-28rules: Add "field_map_provider" and "field_list_provider"Oliver Reiche
... to query and merge map/list entries from the provides map of the given target_fields' targets.
2022-04-28rules: Fix field_artifacts/field_runfiles expressions' docsOliver Reiche
2022-04-26rules: Add field_artifacts_list and field_runfiles_listOliver Reiche
... which are more efficient if the caller wants to perform the union manually (because disjointness should be enforced or additional maps should be added to the union, etc.). As a positive side effect, code reuse is slightly increased by consistently calling these newly introduced expressions for obtaining the artifacts/runfiles from all targets of a target field.
2022-03-04Add rule ["patch", "file"]Klaus Aehlig
... to patch a single file, logically in place.
2022-02-23common rule expression: improve error reportingKlaus Aehlig
... by asserting that "stage_singleton_field" return a non-empty map and providing a meaningful message in the "disjoint_map_union" contained in it.
2022-02-22Initial self-hosting commitKlaus Aehlig
This is the initial version of our tool that is able to build itself. In can be bootstrapped by ./bin/bootstrap.py Co-authored-by: Oliver Reiche <oliver.reiche@huawei.com> Co-authored-by: Victor Moreno <victor.moreno1@huawei.com>