Page MenuHomePhabricator

[native] Removing `codegen-grpc` from native
ClosedPublic

Authored by max on Nov 23 2022, 4:24 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Dec 19, 9:35 PM
Unknown Object (File)
Thu, Dec 19, 9:35 PM
Unknown Object (File)
Thu, Dec 19, 9:35 PM
Unknown Object (File)
Thu, Dec 19, 9:35 PM
Unknown Object (File)
Thu, Dec 19, 9:34 PM
Unknown Object (File)
Thu, Dec 19, 9:21 PM
Unknown Object (File)
Tue, Dec 10, 11:23 AM
Unknown Object (File)
Nov 19 2024, 3:36 PM
Subscribers

Details

Summary

This diff removes the codegen-grpc yarn command from the native. We are removed the C++ gRPC from the client and the compilation of the gRPC files will be handled by the cargo building process. Also, we are removing running this command from the documentation and shared folder because gRPC generation for the rest of the C++ codebase is done using the CMakeFile generation command.

Linear task: ENG-2276

Test Plan

Native builds are successfully passed.

Diff Detail

Repository
rCOMM Comm
Branch
remove-grpc-gen-from-native
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

max held this revision as a draft.
max published this revision for review.Nov 23 2022, 4:29 PM
max edited the summary of this revision. (Show Details)
max edited the test plan for this revision. (Show Details)
max added reviewers: atul, varun. max removed 1 blocking reviewer(s): jon.
max retitled this revision from [native] Remove `codegen-grpc` from native to [native] Removing `codegen-grpc` from native.
ashoat requested changes to this revision.Nov 24 2022, 9:25 AM

Can you please do more research to figure out everything that can be deleted here? A single git grep mark-generated popped up two more places

Delete mark-generated.sh as well

native/package.json
19–20

shared/package.json too

This revision now requires changes to proceed.Nov 24 2022, 9:25 AM

Removing of the codegen-grpc from shared and mark-generated.

max added 1 blocking reviewer(s): ashoat.

Can you please do more research to figure out everything that can be deleted here? A single git grep mark-generated popped up two more places
Delete mark-generated.sh as well

Of course! The mark-generated is used only for the codegen-grpc purposes and should be removed as well, thanks!

max added inline comments.
native/package.json
19–20

shared/package.json too

Removing shared/package.json file entirely as it has the only one deprecated codegen-grpc command.

This revision is now accepted and ready to land.Nov 28 2022, 4:19 PM
max marked an inline comment as done.

Rebased on master and merged.