vendor in lib from sourcegraph by keegancsmith · Pull Request #1202 · sourcegraph/src-cli

Conversation

@keegancsmith

We no longer need to point at an old version of lib. Instead we create a script which copies over the subset of lib we use. This is a temporary solution. We likely need to publish this library somewhere as open source instead.

Test Plan: go test ./...

Requires one fix due to an API change in lib

burmudar

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Believe 📿

@keegancsmith

Note I haven't actually tested if the script will correctly update ./lib when run on a new version of lib. I have my doubts, but thought we could tackle it when we need to do that.

@eseliger you asked for latest lib, you now have it :)

@eseliger