hyperglide

command module
v0.0.0-...-e8dd99f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 20, 2018 License: Apache-2.0 Imports: 10 Imported by: 0

README

Hyperglide

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:

  1. Updating every non-pinned dependency to the latest master (hyperglide up)
  2. Updating a single dependency to the latest master (hyperglide up <package>)
  3. Installing new dependencies, and only new dependencies (hyperglide newdep)

Installing

go get -u github.com/russellhaering/hyperglide

How it Works

Updating Dependencies

When you run hyperglide up, hyperglide:

  1. Backs up your glide.yaml
  2. Generates a new one which forces every unpinned dependency referenced in glide.lock to master
  3. Runs glide update -v
  4. Restores your glide.yaml

This mostly exists as a workaround to this issue.

New Dependencies

When you run hyperglide newdep, hyperglide:

  1. Backs up your glide.yaml
  2. Generates a new one which forces every dependency to the version referenced in glide.lock
  3. Runs glide update -v
  4. Restores your glide.yaml

This will cause Glide to vendor any new dependencies referenced in your repository, without updating existing ones.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL