-
Notifications
You must be signed in to change notification settings - Fork 540
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
v0.12.1 blows away all transitive dependencies when "glide rm" is run #600
Comments
Glide manages your dependencies for you like package managers from other languages. It uses metadata from your project plus the dependencies to do this. For example, if two dependencies of your project have a shared transitive dependency but need different through overlapping version constraints Glide works that out. You can manually edit the A lot of people want to tools that will manage their dependencies for them. That's what Glide is there to do. |
OK, two different issues here. (I should have probably created a separate issue for the second one.)
|
I've made an example project for the When running
Both |
Update: actually I've had a typo in
|
What are you imagining would be synced between the manifest and lock file, if not the pinned versions? Just the hash digest? |
Mainly addition and removal of packages. For example:
In either case, there is a loss of sync between the set of packages in |
I've noticed this trying to remove an unused package from
glide.yaml
. When you runglide rm X
, it will not only remove package X fromglide.lock
, but also all transitive dependencies of any other packages unrelated to X, that are not listed inglide.yaml
.(Tangentially related, I think it should be possible to edit the
glide.yaml
file manually and regenerate lock file without running update.)The text was updated successfully, but these errors were encountered: