I have been using https://github.com/FiloSottile/gvt for years, it's great, 
simple, you vendor only what you want, so, in this case, that one lib you 
are talking about

you can even leave the imports as they are, but point to your own fork of 
the repo by modifying the manifest file

for example, we run a modified version of mgo (mongo driver) so our 
manifest has

{
"importpath": "gopkg.in/mgo.v2",
"repository": "https://github.com/ascendantcompliance/mgo";,
"vcs": "git",
"revision": "cded8d2220d584e95dd80ddd67934ab9e80e908d",
"branch": "v2",
"notests": true
}




Regards,

Diego


On Tuesday, October 31, 2017 at 2:43:21 PM UTC-4, Travis Keep wrote:
>
> Somebody I depend on for my project made a breaking change to their git 
> repo and broke my build.
>
> I found that if I simply revert their latest commit locally that my 
> project builds.  
>
> I don't necessarily want to vendor everything because most of the 
> libraries I use I trust. But I do want to vendor the one git repo whose 
> owner keeps making breaking changes. 
>
> I looked at dep, but dep seems to vendor everything. I don't want that. I 
> just want to vendor the one unstable library, and simply use HEAD for 
> everything else.
>
> What is the best way for me to proceed?  
>
> Thanks in advance,
>
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to