Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(134)

Issue 1587323003: client/cmd/rpc: RPC CLI (Closed)

Created:
4 years, 11 months ago by nodir
Modified:
4 years, 11 months ago
Reviewers:
estaab, iannucci
CC:
andrew.wang, chromium-reviews, infra-reviews+luci-go_chromium.org, M-A Ruel, tandrii+luci-go_chromium.org, todd
Base URL:
https://chromium.googlesource.com/external/github.com/luci/luci-go@discovery
Target Ref:
refs/heads/master
Project:
luci-go
Visibility:
Public.

Description

client/cmd/rpc: RPC CLI See doc.go In this CL stdin is the only way to specify input message. This will be improved in the next CL. R=iannucci@chromium.org, estaab@chromium.org BUG= Committed: https://github.com/luci/luci-go/commit/26be494dfcda024ef4532fa14fb2228fe2cdcfaa

Patch Set 1 #

Patch Set 2 : fix Resolve, do not print package #

Total comments: 4

Patch Set 3 : https only #

Patch Set 4 : check status #

Total comments: 2

Patch Set 5 : doc.go #

Patch Set 6 : rebased #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1624 lines, -62 lines) Patch
A client/cmd/rpc/call.go View 1 2 3 1 chunk +189 lines, -0 lines 0 comments Download
A client/cmd/rpc/doc.go View 1 2 3 4 1 chunk +62 lines, -0 lines 0 comments Download
A + client/cmd/rpc/generate.go View 1 chunk +2 lines, -6 lines 0 comments Download
A client/cmd/rpc/main.go View 1 2 1 chunk +115 lines, -0 lines 0 comments Download
A client/cmd/rpc/main_test.go View 1 2 3 4 1 chunk +75 lines, -0 lines 0 comments Download
A client/cmd/rpc/printer.go View 1 chunk +256 lines, -0 lines 0 comments Download
A client/cmd/rpc/printer_test.desc View Binary file 0 comments Download
A client/cmd/rpc/printer_test.go View 1 chunk +118 lines, -0 lines 0 comments Download
A client/cmd/rpc/printer_test.proto View 1 chunk +83 lines, -0 lines 0 comments Download
A client/cmd/rpc/show.go View 1 2 1 chunk +155 lines, -0 lines 0 comments Download
A common/indented/writer.go View 1 chunk +77 lines, -0 lines 0 comments Download
A common/indented/writer_test.go View 1 chunk +157 lines, -0 lines 0 comments Download
M common/proto/google/descriptor/generate.go View 1 chunk +1 line, -0 lines 0 comments Download
M common/proto/google/descriptor/util.go View 1 2 3 4 5 3 chunks +166 lines, -46 lines 0 comments Download
A common/proto/google/descriptor/util_test.desc View Binary file 0 comments Download
A common/proto/google/descriptor/util_test.go View 1 1 chunk +72 lines, -0 lines 0 comments Download
A common/proto/google/descriptor/util_test.proto View 1 chunk +82 lines, -0 lines 0 comments Download
M server/discovery/internal/testservices/discovery_test.go View 1 chunk +14 lines, -10 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 17 (7 generated)
nodir
PTAL option-style input message format is TBD
4 years, 11 months ago (2016-01-14 23:59:26 UTC) #1
iannucci
On 2016/01/14 at 23:59:26, nodir wrote: > PTAL > > option-style input message format is ...
4 years, 11 months ago (2016-01-15 03:38:22 UTC) #4
iannucci
lgtm https://chromiumcodereview.appspot.com/1587323003/diff/20001/client/cmd/rpc/call.go File client/cmd/rpc/call.go (right): https://chromiumcodereview.appspot.com/1587323003/diff/20001/client/cmd/rpc/call.go#newcode38 client/cmd/rpc/call.go:38: server: scheme (http or https) and hostname, e.g. ...
4 years, 11 months ago (2016-01-15 03:45:16 UTC) #5
nodir
https://chromiumcodereview.appspot.com/1587323003/diff/20001/client/cmd/rpc/call.go File client/cmd/rpc/call.go (right): https://chromiumcodereview.appspot.com/1587323003/diff/20001/client/cmd/rpc/call.go#newcode38 client/cmd/rpc/call.go:38: server: scheme (http or https) and hostname, e.g. "https://example.com". ...
4 years, 11 months ago (2016-01-15 18:17:19 UTC) #6
iannucci
lgtm https://chromiumcodereview.appspot.com/1587323003/diff/60001/client/cmd/rpc/main_test.go File client/cmd/rpc/main_test.go (right): https://chromiumcodereview.appspot.com/1587323003/diff/60001/client/cmd/rpc/main_test.go#newcode59 client/cmd/rpc/main_test.go:59: }) can we add a test for "example.com:8080" ...
4 years, 11 months ago (2016-01-15 23:20:09 UTC) #7
iannucci
On 2016/01/15 23:20:09, iannucci wrote: > lgtm > > https://chromiumcodereview.appspot.com/1587323003/diff/60001/client/cmd/rpc/main_test.go > File client/cmd/rpc/main_test.go (right): > ...
4 years, 11 months ago (2016-01-15 23:20:31 UTC) #8
nodir
Moved CL description to doc.go https://codereview.chromium.org/1587323003/diff/60001/client/cmd/rpc/main_test.go File client/cmd/rpc/main_test.go (right): https://codereview.chromium.org/1587323003/diff/60001/client/cmd/rpc/main_test.go#newcode59 client/cmd/rpc/main_test.go:59: }) On 2016/01/15 23:20:09, ...
4 years, 11 months ago (2016-01-15 23:47:26 UTC) #11
iannucci
lgtm
4 years, 11 months ago (2016-01-15 23:50:31 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1587323003/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1587323003/100001
4 years, 11 months ago (2016-01-16 00:55:59 UTC) #15
commit-bot: I haz the power
4 years, 11 months ago (2016-01-16 00:59:51 UTC) #17
Message was sent while issue was closed.
Committed patchset #6 (id:100001) as
https://github.com/luci/luci-go/commit/26be494dfcda024ef4532fa14fb2228fe2cdcfaa

Powered by Google App Engine
This is Rietveld 408576698