Glide is a tool that makes it easy to manage vendor
directories in Go.
Hyperglide is an opinionated wrapper around Glide which supports only three operations:
- Updating every non-pinned dependency to the latest master (
hyperglide up
) - Updating a single dependency to the latest master (
hyperglide up <package>
) - Installing new dependencies, and only new dependencies (
hyperglide newdep
)
go get -u github.com/russellhaering/hyperglide
When you run hyperglide up
, hyperglide:
- Backs up your
glide.yaml
- Generates a new one which forces every unpinned dependency referenced in
glide.lock
to master - Runs
glide update -v
- Restores your
glide.yaml
This mostly exists as a workaround to this issue.
When you run hyperglide newdep
, hyperglide:
- Backs up your
glide.yaml
- Generates a new one which forces every dependency to the version referenced in
glide.lock
- Runs
glide update -v
- Restores your
glide.yaml
This will cause Glide to vendor any new dependencies referenced in your repository, without updating existing ones.