Skip to content

A plugin for glide that pins all dependencies from the lock file into the yaml file

License

Notifications You must be signed in to change notification settings

Unity-Technologies/glide-pin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Glide Pin

Build Status Go Report Card

A plugin for glide that converts the lock file into the yaml file. Why might you want this? Well, if you want a nice easy way to pin all the versions of all the dependencies and sub-dependencies you have, this will take that info that already exists in your glide.lock file and make it an explicit requirement in your yaml file.

By default, the original yaml file has the dependencies in it replaced with the values in the lock file, but the version strings kept from the original YAML. You can pass the --exact flag to force the YAML file to have all version strings replaced with the exact commit hash/version.

Loosely based on the code from glide-cleanup - thanks!

Install

go get github.com/multiplay/glide-pin

Run

glide pin

About

A plugin for glide that pins all dependencies from the lock file into the yaml file

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages