vndr

command module
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2016 License: Apache-2.0 Imports: 17 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

VNDR

Build Status

Vndr is simple vendoring tool, which is inspired by docker vendor script. Vndr has no options. For initiating you will need config vendor.conf with lines like:

# Import path             | revision                               | Repository(optional)
github.com/example/example 03a4d9dcf2f92eae8e90ed42aa2656f63fdd0b14 https://github.com/LK4D4/example.git

Just set $GOPATH and run vndr in your repository with vendor.conf. Repository field is used for vendoring forks instead of original repos.

Also it's possible to vendor only one dependency after initial vendoring:

vndr github.com/example/example 03a4d9dcf2f92eae8e90ed42aa2656f63fdd0b14 https://github.com/LK4D4/example.git

or

vndr github.com/example/example

to take revision and repo from vendor.conf.

If you experience any problems, please try to run vndr -verbose.

Known issues

  • vndr vendors only top packages, i.e. golang.org/x/net and not golang.org/x/net/trace. If there is "non-top" packages in vendor.conf, vndr might fail badly.
  • if you use symlinks for managing GOPATH or packages in it, vndr might not be able to work properly.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
Package build gathers information about Go packages.
Package build gathers information about Go packages.
singleflight
Package singleflight provides a duplicate function call suppression mechanism.
Package singleflight provides a duplicate function call suppression mechanism.

Jump to

Keyboard shortcuts

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