indexserver: run against local repositories (#127)
This is intended to make manual testing of zoekt-sourcegraph-indexserver
more convenient. It does this by avoiding the need to run the
sourcegraph developer environment, and instead will treat local
repositories as those Sourcegraph would tell Zoekt to index.
Additionally I want to extend it further to make it easy to override
attributes Sourcegraph would return like private/archived/etc.
Tested by
go install ./cmd/zoekt-git-index ./cmd/zoekt-archive-index
go run ./cmd/zoekt-sourcegraph-indexserver \
-index ./index \
-sourcegraph_url ~/src
I then could run zoekt-webserver against the local ./index directory.