juergbi commented on code in PR #2098:
URL: https://github.com/apache/buildstream/pull/2098#discussion_r2721299028
##########
src/buildstream/source.py:
##########
@@ -828,6 +836,12 @@ def __init__(
_SourceProvenance
] = meta.provenance # The _SourceProvenance for general user provided
SourceInfo
+ if self.__provenance is not None and self.BST_CUSTOM_SOURCE_PROVENANCE:
+ raise SourceError(
+ f"{self._get_provenance()} Custom source plugin: Refusing to
use top level source provenance",
Review Comment:
"Custom source plugin" is not clear to me. Did you mean "Custom source
provenance" or maybe "Custom source provenance plugin"?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]