Skip to content

jimmyfrasche/deprec

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#deprec Command deprec(1) records the dependencies of a repository in a simple file and allows easy comparison to help track down dependency differences.

Download:

go get github.com/jimmyfrasche/deprec

If you do not have the go command on your system, you need to Install Go first


Command deprec(1) records the dependencies of a repository in a simple file and allows easy comparison to help track down dependency differences.

The file contains the Go version of the current system along with all dependencies' repositories and their revision id in the root of the repository. The Go version always goes on the first line. After that each dependency is listed in alphabetical order.

If a repository contains a Godeps file from godep(1), by default deprec(1) will refuse to dep.log without the -with-godep flag. It will however read the information in the Godeps file and use that to do its comparison.

##REVISION IDS The commands used to extract the revision ids are:

bzr revno
git rev-parse HEAD
hg id -i --debug
svnversion

##EXAMPLES Compare the current repositories dep.log with the current state of the system

deprec -check

To create dep.log in current repository

deprec

To create several dep.log's simultaneously

deprec path/one other/path a/third/path

Use in a script

if deprec -s
then
	echo different
fi

Automatically generated by autoreadme on 2016.07.03

About

easily record and check Go dependencies' versions

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published