Skip to content
This repository was archived by the owner on Oct 3, 2023. It is now read-only.

Commit a9646cb

Browse files
jirensongy23
authored andcommitted
Ruby proto file generator and generated proto files (#192)
* Added ruby proto file generator and generated proto files * Added releasing instructions for ruby
1 parent d5d8095 commit a9646cb

File tree

20 files changed

+699
-0
lines changed

20 files changed

+699
-0
lines changed

RELEASING.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,27 @@ $ git commit -m "Update gen-go files."
2828

2929
Go through PR review and merge the changes to GitHub.
3030

31+
## Release Ruby files
32+
33+
To generate the Ruby files from protos, you'll need to install grpc-tools gem.
34+
35+
```bash
36+
gem install grpc-tools
37+
```
38+
39+
Then run the following commands to re-generate the gen-ruby files:
40+
41+
```bash
42+
$ git@github.com:census-instrumentation/opencensus-proto.git
43+
$ cd opencensus-proto
44+
$ git checkout -b update-gen-ruby
45+
$ rm -rf gen-ruby
46+
$ cd src
47+
$ ./mkrubygen.sh
48+
$ git add -A
49+
$ git commit -m "Update gen-ruby files."
50+
```
51+
3152
## Tagging the Release
3253

3354
Our release branches follow the naming convention of `v<major>.<minor>.x`, while the tags include the

gen-ruby/opencensus/proto/agent/common/v1/common_pb.rb

Lines changed: 55 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

gen-ruby/opencensus/proto/agent/metrics/v1/metrics_service_pb.rb

Lines changed: 30 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

gen-ruby/opencensus/proto/agent/metrics/v1/metrics_service_services_pb.rb

Lines changed: 50 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

gen-ruby/opencensus/proto/agent/trace/v1/trace_service_pb.rb

Lines changed: 41 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

gen-ruby/opencensus/proto/agent/trace/v1/trace_service_services_pb.rb

Lines changed: 55 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

gen-ruby/opencensus/proto/metrics/v1/metrics_pb.rb

Lines changed: 116 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)