Masterminds / glide

Package Management for Golang
https://glide.sh
Other
8.15k stars 540 forks source link

Updating with --all-dependencies generates invalid paths #651

Open karalabe opened 8 years ago

karalabe commented 8 years ago

When running an update with --all-dependencies, the paths generated for cache lookups contain the entire path a second time inside the first, resulting in not found paths.

[ERROR] Could not find /home/karalabe/.glide/cache/src/https-golang.org-x-tools/imports: open /home/karalabe/.glide/cache/src/https--home-karalabe-.glide-cache-src-https-golang.org-x-tools-imports: no such file or directory
[ERROR] Dependency golang.org/x/tools/imports (/home/karalabe/.glide/cache/src/https-golang.org-x-tools/imports) failed to resolve: open /home/karalabe/.glide/cache/src/https--home-karalabe-.glide-cache-src-https-golang.org-x-tools-imports: no such file or directory.
[ERROR] Failed to retrieve a list of dependencies: open /home/karalabe/.glide/cache/src/https--home-karalabe-.glide-cache-src-https-golang.org-x-tools-imports: no such file or directory
mloudon commented 8 years ago

same issue, go1.6 linux/amd64 glide version v0.12.3

dverbeek84 commented 7 years ago

Same issue as #640

dverbeek84 commented 7 years ago

This problem is introduced 0.12.0. 0.11.1 is working fine.