Your usage example states:
$ glide up # Update to newest versions of the package
However, it doesn't seem to do that at all. If I start with a clean repository with glide.yaml, where none of the packages are constrained, and a matching glide.lock, none of the dependencies are updated, even though upstream has new commits. Repository remains clean.
When (pre-0.12) Glide was still not stripping VCS files, I used to be able to go into venvor tree, checkout a specific version of a single dependency and run glide update, it would update the lock file to pin the dependency at the version I checked out. So I've been left with the impression that all glide update does is transfer the state of your vendor tree into glide.lock, that's it.
Obviously now vendor tree doesn't retain VCS information, I'm not sure what exactly glide update is supposed to do, and how to actually properly update dependencies to the latest version of the upstream.
Your usage example states:
However, it doesn't seem to do that at all. If I start with a clean repository with
glide.yaml, where none of the packages are constrained, and a matchingglide.lock, none of the dependencies are updated, even though upstream has new commits. Repository remains clean.When (pre-0.12) Glide was still not stripping VCS files, I used to be able to go into
venvortree, checkout a specific version of a single dependency and runglide update, it would update the lock file to pin the dependency at the version I checked out. So I've been left with the impression that allglide updatedoes is transfer the state of yourvendortree intoglide.lock, that's it.Obviously now
vendortree doesn't retain VCS information, I'm not sure what exactlyglide updateis supposed to do, and how to actually properly update dependencies to the latest version of the upstream.