-
Notifications
You must be signed in to change notification settings - Fork 16
backend: Set remote dependency branch as main #33
Conversation
@vireshk can you sign your commit? |
Did that, I created this pull request using the web interface (my first) and so the mess :( |
The web interface is not adding the signed-off-by, that's why I don't use it. |
@andreeaflorescu the build isn't starting again, how do I trigger it ? |
While the |
https://buildkite.com/rust-vmm/vhost-user-backend-ci/builds/60#0e2f7b7b-b1b3-41fa-9244-6c75223742de |
This should have been fixed by rust-lang/cargo#9133. I've also confirmed it's working fine on my laptop. Is our CI using an older version? |
I will let @andreeaflorescu take over this discussion now :) |
I guess it depends on the Locally, for me it fails with:
Using HEAD is not a good option because the builds will fail with any incompatible change in the consuming crates. An explicit commit I think is the preferred way. |
I'm running the latest stable version:
I'd certainly prefer fixing this with a |
But that will bind this to an older version (in future), why should we do that ? |
The idea is to fix the revision, and then update the dependabot configuration such that it provides the updates to the revision. This comes with the advantage that the main branch always builds, and you are not lagging behind because dependabot will open PRs to update the revision whenever a new commit is added to vm-virtio for example. If you look at the current dependabot configuration, it does updates for git:
This can be setup to also update crate dependencies, by specifying as ecosystem With dependabot, it will be easy to always use the latest available option as long as the build still passes. IF the build fails, then manual updates will be needed, but this is expected to happen when you do not want to break the main branch. |
Because, until it's published on crates.io, In other words, referring to particular shields us against getting broken by changes in EDIT: As @andreeaflorescu pointed out, dependabot can helps us automate some of this work. |
The builds are failing since the remote branch's name is changed to main from master. Fix it by adding the rev for virtio-queue. Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
I keep forgetting that dependabot have magical powers. Fixed it with rev now. |
The builds are failing since the the remote branch's name is changed to
main from master. Fix it.
Signed-off-by: Viresh Kumar viresh.kumar@linaro.org