{"payload":{"allShortcutsEnabled":false,"path":"cmd/buildlet","repo":{"id":29573160,"defaultBranch":"master","name":"build","ownerLogin":"golang","currentUserCanPush":false,"isFork":false,"isEmpty":false,"createdAt":"2015-01-21T05:28:37.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/4314092?v=4","public":true,"private":false,"isOrgOwned":true},"currentUser":null,"refInfo":{"name":"master","listCacheKey":"v0:1710453401.0","canEdit":false,"refType":"branch","currentOid":"7c2d52f72332c0df5413c557fb021d9c3205c35e"},"tree":{"items":[{"name":"stage0","path":"cmd/buildlet/stage0","contentType":"directory"},{"name":"testssh","path":"cmd/buildlet/testssh","contentType":"directory"},{"name":".gitignore","path":"cmd/buildlet/.gitignore","contentType":"file"},{"name":"Makefile","path":"cmd/buildlet/Makefile","contentType":"file"},{"name":"README","path":"cmd/buildlet/README","contentType":"file"},{"name":"buildlet.go","path":"cmd/buildlet/buildlet.go","contentType":"file"},{"name":"buildlet_rlimit.go","path":"cmd/buildlet/buildlet_rlimit.go","contentType":"file"},{"name":"buildlet_test.go","path":"cmd/buildlet/buildlet_test.go","contentType":"file"},{"name":"buildlet_unix.go","path":"cmd/buildlet/buildlet_unix.go","contentType":"file"},{"name":"buildlet_windows.go","path":"cmd/buildlet/buildlet_windows.go","contentType":"file"},{"name":"reverse.go","path":"cmd/buildlet/reverse.go","contentType":"file"},{"name":"reverse_test.go","path":"cmd/buildlet/reverse_test.go","contentType":"file"},{"name":"ssh.go","path":"cmd/buildlet/ssh.go","contentType":"file"},{"name":"ssh_plan9.go","path":"cmd/buildlet/ssh_plan9.go","contentType":"file"},{"name":"ssh_windows.go","path":"cmd/buildlet/ssh_windows.go","contentType":"file"}],"templateDirectorySuggestionUrl":null,"readme":{"displayName":"README","richText":"
Local development notes:\n\nServer: (TLS stuff is optional)\n$ go run $GOROOT/src/crypto/tls/generate_cert.go --host=example.com\n$ GCEMETA_password=foo GCEMETA_tls_cert=@cert.pem GCEMETA_tls_key='@key.pem' ./buildlet\n\nClient:\n$ curl -O https://go.googlesource.com/go/+archive/3b76b017cabb.tar.gz\n$ curl -k --user :foo -X PUT --data-binary \"@go-3b76b017cabb.tar.gz\" https://localhost:5936/writetgz\n$ curl -k --user :foo -d \"cmd=src/make.bash\" http://127.0.0.1:5937/exec\netc\n\n