glide icon indicating copy to clipboard operation
glide copied to clipboard

fixed the indirect dependencies issue

Open fearblackcat opened this issue 7 years ago • 0 comments

There's an issue that cannot get the specific version when use indirect dependencies. It can repeat this issue through the following steps.

  1. Import a package(considering as A package) but not declare in the current project glide.yaml
  2. The glide.yaml(note: this glide.yaml is in the package directory) of the importing package(A) has a specific version of another package(considering as B package)
  3. Execute the commands in the root project: a. glide cc b. glide up
  4. You will find that the version of package B in the glide.lock is not the specific version in glide.yaml

So I fixed this issue. Please help review. Thanks!

fearblackcat avatar May 25 '18 06:05 fearblackcat