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

refactor protoc-gen-triple #2380

Merged
merged 8 commits into from
Aug 16, 2023
Merged

refactor protoc-gen-triple #2380

merged 8 commits into from
Aug 16, 2023

Conversation

FinalT
Copy link
Member

@FinalT FinalT commented Aug 13, 2023

Change the previous stitching method to template
The command part is yet to be developed

@FinalT FinalT changed the title Triple refactor protoc-gen-triple Aug 13, 2023
@DMwangnima
Copy link
Contributor

protoc-gen-triple should adapt to protoc logic, i.e. protoc --go_out=gen --triple_out=gen path/to/file.proto. Maybe we could refer to https://github.com/protocolbuffers/protobuf-go/blob/6d0a5dbd95005b70501b4cc2c5124dab07a1f4a0/compiler/protogen/protogen.go#L52 and think about how to put the content generated by Generator into protogen Run procedure.

@DMwangnima
Copy link
Contributor

LGTM

@@ -0,0 +1,202 @@

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

把这个文件删了

@@ -0,0 +1,19 @@
module dubbo.apache.org/dubbo-go/v3/triple-tool

go 1.20
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

版本太高了,跟 dubbogo go.mod 中的 go version 保持一致

@sonarcloud
Copy link

sonarcloud bot commented Aug 16, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@chickenlj chickenlj merged commit 1228246 into apache:feature-triple Aug 16, 2023
4 of 6 checks passed
@FinalT FinalT deleted the triple branch September 3, 2023 03:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants