summaryrefslogtreecommitdiff
path: root/src/buildstream/_pluginproxy.py
Commit message (Collapse)AuthorAgeFilesLines
* element.py: Refactor overlap warnings.Tristan van Berkom2020-09-071-0/+4
| | | | | | | | | | | | | | | | | | | | | * Stop using Element.search() in order to match elements in the build graph when collecting overlap warnings, which is error prone and will produce incorrect results when encountering elements with the same name across project boundaries. Use Plugin._unique_id to match up elements instead. * Print Element._get_full_name() in the warning outputs, which is more accurate than element.name. * General refactor of code to use more descriptive variable names, improved comments, making the whole overlap code a bit more easy to understand. Consequently, this patch also proxies `_unique_id` through PluginProxy as this is required by the overlap whitelist algorithm. This fixes #1340
* _pluginproxy.py: New file, base class for plugin proxies.Tristan van Berkom2020-09-041-0/+86