Open palcoo42 opened 1 week ago
Hi @palcoo42, We checked this issue and found some valuable information in the Cargo documentations. Also we've seen that there are many types of declaring these git dependencies. In the light of this information, we plan to implement git dependency checks in a more generalized solution that will change the way we check dependencies in all languages. Since it is a big change we will not be doing this in the very near future. But we will try to implement it as fast as we can.
We will deploy a code that makes Dependi ignore the lines with git dependency declarations for the new version 0.7.13. Just to not have any issues regarding this. But as I said we will try to implement git dependency checks as fast as we can and we will delete the code that ignores the lines with git dependencies.
You can check these links in Cargo documentation: https://doc.rust-lang.org/cargo/reference/specifying-dependencies.html#the-role-of-the-version-key https://doc.rust-lang.org/cargo/reference/specifying-dependencies.html#multiple-locations
Hi,
Thanks for info. This issue is not that huge deal for me as I can live with it, but hearing that you will fix it in the future version is great.
Thanks, palcoo
Describe the bug I have a rust library called 'advent-of-code' which I have hosted in GitHub https://github.com/palcoo42/advent-of-code. I plan to use this library as a basic building block for my 'Advent Of Code' solutions.
Cargo.toml looks like this:
The issue is that Dependi plugin shows me this dependency with invalid version 2022.0.66. The compilation and execution of the application however works so Cargo.toml is correct from cargo point of view.
Root cause: In the official crates.io is available the same package 'advent-of-code' https://crates.io/crates/advent-of-code. Dependi is looking into crates.io anyway ignoring git specification in [dependencies] section.
To Reproduce Steps to reproduce the behavior:
Expected behavior Dependi should search for a package in git repository instead of official Rust crates.io showing versions from the git instead of crates.io.
Screenshots
Desktop (please complete the following information):
Additional context Add any other context about the problem here.