joshua-zivkovic commented on code in PR #2098:
URL: https://github.com/apache/buildstream/pull/2098#discussion_r2721306448
##########
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:
Ah, that is definitely not what I meant to put :D
--
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]