joshua-zivkovic commented on code in PR #2099:
URL: https://github.com/apache/buildstream/pull/2099#discussion_r2675646305


##########
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()))

Review Comment:
   That's easy enough if we just go with a "do nothing" implementation



-- 
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]

Reply via email to