Skip to content
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

feat(generator): generate less code and doc #823

Merged
merged 15 commits into from
Oct 28, 2022

Conversation

seeflood
Copy link
Member

@seeflood seeflood commented Oct 28, 2022

Signed-off-by: seeflood [email protected]

What this PR does:

  1. remove redundant generated code, including:
  • ignore empty directory
  • new command "skip ci_generator"
  • use docker to generate .pb.go files, which ensures we all use same protoc version
  1. add comments & improve docs for RPC API

Which issue(s) this PR fixes:

Fixes #

Special notes for your reviewer:

Does this PR introduce a user-facing change?:


Signed-off-by: seeflood <[email protected]>
Signed-off-by: seeflood <[email protected]>
Signed-off-by: seeflood <[email protected]>
Signed-off-by: seeflood <[email protected]>
Signed-off-by: seeflood <[email protected]>
Signed-off-by: seeflood <[email protected]>
@seeflood seeflood changed the title improve(generator): remove redundant generated code feat(generator): skip ci_generator & remove redundant generated code Oct 28, 2022
@seeflood seeflood changed the title feat(generator): skip ci_generator & remove redundant generated code feat(generator): generate less code and doc Oct 28, 2022
# Conflicts:
#	spec/proto/extension/v1/cryption/cryption.pb.go
#	spec/proto/extension/v1/cryption/cryption_grpc.pb.go
#	spec/proto/extension/v1/delay_queue/delay_queue.pb.go
#	spec/proto/extension/v1/delay_queue/delay_queue_grpc.pb.go
#	spec/proto/extension/v1/email/email.pb.go
#	spec/proto/extension/v1/email/email_grpc.pb.go
#	spec/proto/extension/v1/phone/phone.pb.go
#	spec/proto/extension/v1/phone/phone_grpc.pb.go
#	spec/proto/extension/v1/sms/sms.pb.go
#	spec/proto/extension/v1/sms/sms_grpc.pb.go
Signed-off-by: seeflood <[email protected]>
@codecov
Copy link

codecov bot commented Oct 28, 2022

Codecov Report

Base: 60.72% // Head: 60.72% // No change to project coverage 👍

Coverage data is based on head (71f90e3) compared to base (258c8f8).
Patch has no changes to coverable lines.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #823   +/-   ##
=======================================
  Coverage   60.72%   60.72%           
=======================================
  Files         137      137           
  Lines        9101     9101           
=======================================
  Hits         5527     5527           
  Misses       2887     2887           
  Partials      687      687           
Impacted Files Coverage Δ
components/rpc/invoker/mosn/channel/httpchannel.go 69.89% <ø> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@seeflood seeflood merged commit d9ff2e8 into mosn:main Oct 28, 2022
@seeflood seeflood deleted the improve_rpc_docs branch October 28, 2022 08:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants