1
0
Fork 0
hscloud/devtools/depotview
q3k fb8a5ce6f8 devtools: bump to Go 1.15.5
Change-Id: Ib6d60478a49776c719ab3f05aa43c497be82d5f2
2020-11-27 09:37:49 +00:00
..
proto devtools/{depotview,hackdoc}: tie both together 2020-04-10 19:24:48 +02:00
service devtools/depotview: fix stale branches, clone bug 2020-04-12 14:38:27 +02:00
BUILD.bazel devtools: bump to Go 1.15.5 2020-11-27 09:37:49 +00:00
README.md *: more hackdoc updates 2020-04-10 22:10:18 +02:00
main.go devtools/depotview: init 2020-04-08 22:42:33 +02:00

README.md

depotview

Git-as-a-service over gRPC. Useful to get read-only access to hscloud.

Production

There's a prod instance running at depotview.devtools-prod.svc.cluster.local.

Development

$ bazel run //devtools/depotview -- -hspki_disable
$ grpcurl -plaintext -d '{"ref": "master"}' 127.0.0.1:4200 depotview.DepotView.Resolve
{
  "hash": "154baf1cf6ed99ae5b2849f512ea4d58dbbf199e",
  "lastChecked": 1586377071253733703
}
$ grpcurl -plaintext -d '{"hash": "154baf1cf6ed99ae5b2849f512ea4d58dbbf199e", "path": "//README"}' 127.0.0.1:4200 depotview.DepotView.Read
{
  "data": "SFNDbG...."
}