joshua-zivkovic commented on code in PR #2099:
URL: https://github.com/apache/buildstream/pull/2099#discussion_r2675653347
##########
src/buildstream/source.py:
##########
@@ -927,7 +929,16 @@ def set_ref(self, ref, node):
"""
raise ImplError("Source plugin '{}' does not implement
set_ref()".format(self.get_kind()))
- def track(self, *, previous_sources_dir: Optional[str] = None) ->
SourceRef:
+ def load_source_provenance(self, node: MappingNode) -> None:
+ raise ImplError("Source plugin '{}' does not implement
load_source_provenance()".format(self.get_kind()))
+
+ def get_source_provenance(self) -> SourceProvenance:
+ raise ImplError("Source plugin '{}' does not implement
get_source_provenance()".format(self.get_kind()))
+
+ def set_source_provenance(self, source_provenance: SourceProvenance):
+ raise ImplError("Source plugin '{}' does not implement
set_source_provenance()".format(self.get_kind()))
+
+ def track(self, *, previous_sources_dir: Optional[str] = None) ->
(SourceRef, SourceProvenance):
Review Comment:
Hmm, that might be more difficult to work out. I'll see if I can work
something sensible out
--
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]