juergbi commented on code in PR #98:
URL:
https://github.com/apache/buildstream-plugins/pull/98#discussion_r2804814840
##########
src/buildstream_plugins/sources/cargo.py:
##########
@@ -513,10 +549,17 @@ def _parse_crates(self, refs):
crate.get_str("name"),
crate.get_str("version"),
sha=crate.get_str("sha", None),
+ provenance=crate.get_mapping("provenance", None),
)
for crate in refs
]
+ def _drop_provenance_field(self, refs):
Review Comment:
Nit: As `self` is not used, add `@staticmethod`?
--
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]