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
Problem
I have a project which has a direct git dependency with branch "X", and an indirect git dependency on the same repo, but branch "Y".
I would like to update the direct dependency. (Although I don't care if both are updated, that's also fine)
Steps
I ran cargo update -p openapi-gen and got the following error:
error: There are multiple `openapi-gen` packages in your project, and the specification `openapi-gen` is ambiguous.
Please re-run this command with `-p <spec>` where `<spec>` is one of the following:
ssh://git@github.com/<org>/openapi-gen.git#openapi-gen:0.1.0
ssh://git@github.com/<org>/openapi-gen.git#openapi-gen:0.1.0
Now... clearly these two "specs" are identical so this is not going to help. As expected, running the proposed command does not work:
error: There are multiple `openapi-gen` packages in your project, and the specification `ssh://git@github.com/<org>/openapi-gen.git#openapi-gen:0.1.0` is ambiguous.
Please re-run this command with `-p <spec>` where `<spec>` is one of the following:
ssh://git@github.com/<org>/openapi-gen.git#openapi-gen:0.1.0
ssh://git@github.com/<org>/openapi-gen.git#openapi-gen:0.1.0
... and it suggests running the exact command I just ran 😆
The text was updated successfully, but these errors were encountered:
Problem
I have a project which has a direct git dependency with branch "X", and an indirect git dependency on the same repo, but branch "Y".
I would like to update the direct dependency. (Although I don't care if both are updated, that's also fine)
Steps
I ran
cargo update -p openapi-gen
and got the following error:Now... clearly these two "specs" are identical so this is not going to help. As expected, running the proposed command does not work:
... and it suggests running the exact command I just ran 😆
The text was updated successfully, but these errors were encountered: