Page MenuHomePhabricator

[Shared] Copy protos to shared/protos, adjust CMake
ClosedPublic

Authored by jon on Aug 31 2022, 10:29 AM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Nov 29, 9:30 AM
Unknown Object (File)
Thu, Nov 28, 10:04 AM
Unknown Object (File)
Wed, Nov 27, 12:06 PM
Unknown Object (File)
Mon, Nov 25, 3:42 AM
Unknown Object (File)
Sun, Nov 24, 2:40 PM
Unknown Object (File)
Wed, Nov 20, 11:53 AM
Unknown Object (File)
Sat, Nov 16, 10:23 PM
Unknown Object (File)
Sun, Nov 10, 5:20 PM
Subscribers

Details

Summary

Initial move of protobuf files

The files are copied to the desired end state so that I can update the references in later revisions.

The CMakeLists.txt was pruned of the grpc client project.

https://linear.app/comm/issue/ENG-1231

Test Plan
nix develop
cd shared/protos
rm -rf build && mkdir build && cd build && cmake .. && make -j
# builds 4 grpc projects

Diff Detail

Repository
rCOMM Comm
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

Update target_include_directory for downstream consumers

This revision is now accepted and ready to land.Aug 31 2022, 4:59 PM
karol added a reviewer: tomek.

You didn't move a thing, you doubled everything. Please, fix this revision.

shared/protos/_generated/.clang-format
4 ↗(On Diff #16134)

new line (I know it wasn't there but we can add it)

This revision now requires changes to proceed.Sep 1 2022, 1:52 AM

You didn't move a thing, you doubled everything. Please, fix this revision.

@karol please look at the stack, iOS, android, and 3 services (+ related docker files) all reference these files. I'm not going to move and FIX everything in one go. The final piece (not yet present, because I got blocked) in the stack will be to remove the old files.

  1. Ok, I understand, but then the diff title isn't valid. The diff title says explicitly "move" and yet you're not moving things, so maybe it should say "add"? If this is about to be addressed in the future, we should either have a diff for it or a task on linear and add a reference here.
  2. What about my inline comment? Has not been addressed.
This revision now requires changes to proceed.Sep 2 2022, 12:07 AM
jon retitled this revision from [Shared] Move protos to shared/protos to [Shared] Copy protos to shared/protos, adjust CMake.Sep 2 2022, 10:43 AM

Add new line, export cmake targets

Rebase on top of native/cpp changes

Should we update get_clang_paths.js to include shared?

What about this @jon

If this is about to be addressed in the future, we should either have a diff for it or a task on linear and add a reference here.

This revision is now accepted and ready to land.Sep 5 2022, 5:42 AM

or a task on linear and add a reference here.

Yea, that was my bad.