Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

pokstad/vsaur

Repository files navigation

VSaur = Vendorsaurus

VSaur is shorthand for Vendorsaurus. Vendorsaurus is collection of utilities for maintaining versioned Go modules (a.k.a. vgo) usage in a project. It is designed to be used in CI/CD systems to automate best practices.

status head of master
builds in CI CircleCI
command documentation GoDoc
library documentation GoDoc

Features

Planned features:

Install

Vendorsaurus requires Go 1.11 or higher. To install, go get it:

go get -u github.com/pokstad/vsaur/cmd/vsaur

This will install the vsaur executable at $GOPATH/bin/vsaur. If your $GOPATH environment variable is not set, by default it will be $HOME/go.

Or you can download a release copy from the GitHub page.

Usage

Simply run the vsaur command in the top level directory of a Go module you wish to validate:

$ $GOPATH/bin/vsaur

For a current and complete list of command options, view the command's Go doc string:

$ go doc github.com/pokstad/vsaur/cmd/vsaur
Command vsaur provides static analysis tools for automating best practices
related to versioned Go modules.
Usage:
To analyze everything in a project, simply run vsaur while in a project
directory. This will run all possible checks.
 $ vsaur
 TODO: sample output of vsaur running all checks
To only run a subset of checks, provides the -checks flag with a comma
delimited list of check names:
 $ vsaur -checks mod-local-replaces,sum-overflow
 TODO: sample output of vsaur running selective checks
By default, vsaur will look for a file in the current directory named
".vsaur.json" to load a JSON formatted configuration instead of relying on
flags. Or specify a config file path of your choosing with the flag -config:
 $ vsaur -config .vsaur-release.json

About

vsaur = vendorsaurus : tools for working with Go modules (AKA vgo) and vendoring

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

Contributors

AltStyle によって変換されたページ (->オリジナル) /