-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cargo update doesn't look for overrides in the config file #1103
Comments
I tried fixing this myself with this WIP, but it still isn't working. Not sure what I should be doing here. |
I guess to fix this |
I'm not sure I quite follow, but it looks like you're running |
When there is a path override it shouldn't have to fetch the repo, right? |
The purpose of |
@alexcrichton Can there be some other way to work on dependencies without requiring a push everytime? For example, being able to specify |
Sorry, but I can't quite grapple what your use case is here. Do you want to update the I would like to support overrides in the manifest, but that seems orthogonal to the issue here. |
@alexcrichton say I'm doing a rust upgrade (or some sort of dependency Basically, I want to be able to work on dependencies locally without having to edit toml files all over the place :) |
That sounds like what the I would expect you to have a global |
The path entries don't get updated via |
We talked about this on IRC and reached the conclusion that |
Do |
Nevermind on the failure, old lockfile + force pushes was the issue and chucking the lockfile fixed it. Still, the fetches can sometimes be slow and it would be nice to avoid them. |
This makes it a bit hard to work on rust upgrades locally, since
cargo update
provides convenient way of updating the lockfiles to specific hashes. However, if the hash doesn't exist in the github repo, it fails to update the lockfile with this error:This happens even if the hash exists in the local repo that the config
paths
key points to.(Manually updating the lockfile and building works fine, since
cargo build
does look for overrides)The text was updated successfully, but these errors were encountered: