This came up in this pull request: https://github.com/Azure/acs-engine/pull/716
It seems that glide get <pkg> is causing other packages to experience a glide up effectively.
Is this expected? It seems undesirable. Possibly related to https://github.com/Masterminds/glide/issues/252?
yeah, this is really annoying bug :/
+1 on the annoying'ness.
If it matters, this comment talks about exactly the same "streamlining" that this bug needs ...
In pkg/action/get.go: func Get()
if !skipRecursive {
聽 // Get all repos and update them.
聽 // TODO: Can we streamline this in any way? The reason that we update all
聽 // of the dependencies is that we need to re-negotiate versions. For example,
聽 // if an existing dependency has the constraint >1.0 and this new package
聽 // adds the constraint <2.0, then this may re-resolve the existing dependency
聽 // to be between 1.0 and 2.0. But changing that dependency may then result
聽 // in that dependency's dependencies changing... so we sorta do the whole
聽 // thing to be safe.
聽 err = installer.Update(confcopy)
聽 if err != nil {
聽 msg.Die("Could not update packages: %s", err)
聽 }
聽 }
聽
Shouldn't the addpkgstoconfig method return some metadata to see if a global update is required ? That could be one way to fix this bug.
Is this a duplicate of #328 ?
do we have any updates on this issue?
Shameless bump, this issue is extremely annoying
Most helpful comment
yeah, this is really annoying bug :/