You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I looked into this and it seems to be a bit tricky. The problem is that kind: cargo can only have cargo plugin refs and not git refs.
The cargo plugin has to introduce a ref format for git sources. That's not really complicated. That, however, means that for all functionality like download etc., the cargo plugin also has to implement the git functionality. It might be possible to do this by wrapping around the git plugin in these cases. But I'm not sure if that's the right way to do this.
Activity
sophie-h commentedon Nov 24, 2023
I looked into this and it seems to be a bit tricky. The problem is that
kind: cargocan only have cargo plugin refs and not git refs.The cargo plugin has to introduce a ref format for git sources. That's not really complicated. That, however, means that for all functionality like download etc., the cargo plugin also has to implement the git functionality. It might be possible to do this by wrapping around the git plugin in these cases. But I'm not sure if that's the right way to do this.
sophie-h commentedon Mar 10, 2024
I'm working on this now.
cargo: Add support for git dependencies
cargo: Add support for git dependencies
sophie-h commentedon Jul 26, 2024
This feature is now available in buildstream-plugins-community as part of the
cargo2plugin.