-
Notifications
You must be signed in to change notification settings - Fork 120
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add LogStream #148
Add LogStream #148
Conversation
Add the logstream API, originally pushed upstream by Eric Burnett to https://gist.github.com/EricBurnett/a094e0b8474b834d098e86bf20fa202b via https://groups.google.com/g/remote-execution-apis/c/LCLsBSgSnU0/m/yTTtqr-cAwAJ Update to include a copyright notice; set the version number to v1 and update the package to reflect the location within the remote-apis repo. Signed-off-by: Ed Baunton <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for submitting.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for doing this Ed!
Two small corrections I think we should make to cases, but otherwise all looks good to me.
// A handle to a log (an ordered sequence of bytes). | ||
message LogStream { | ||
// Structured name of the resource in the format: | ||
// {parent=**}/logStreams/{logstream_id} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's correct this while we're here: logStreams -> logstreams. (Resources are usually lowercase, and this is already wrong with having a lowercase l and uppercase S)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Couple more: lines 114, 120, and 121 also thanks!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah good catch! Should be fixed now.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just the capitalization nit on the few remaining lines (see comment on previous review), but nothing blocking that I see. Thanks Ed!
Add a BUILD file and build the remote_logstream.pb.go component. Add that to the pre-commit script. Update remote_logstream.proto to include packaging information for the various programming languages it can be used from, copying the style from asset. Lowercase the resource name from "logStreams" to "logstreams" for consistency. Signed-off-by: Ed Baunton <[email protected]>
…resolve to physical inputs (bazelbuild#148)
Add the logstream API, originally pushed upstream by Eric Burnett to
gist.github.com/EricBurnett/a094e0b8474b834d098e86bf20fa202b via
groups.google.com/g/remote-execution-apis/c/LCLsBSgSnU0/m/yTTtqr-cAwAJ
Update to include a copyright notice; set the version number to v1 and update
the package to reflect the location within the remote-apis repo.
I made no material changes to the logstream api other than:
remote_logstream.proto
.