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

ros_grpc-release: 1.35.0-3 in 'noetic/distribution.yaml' [bloom] #36810

Closed
wants to merge 1 commit into from

Conversation

jarkenau
Copy link

Increasing version of package(s) in repository ros_grpc-release to 1.35.0-3:

@github-actions github-actions bot added the noetic Issue/PR is for the ROS 1 Noetic distribution label Apr 12, 2023
Copy link
Member

@nuclearsandwich nuclearsandwich left a comment

Choose a reason for hiding this comment

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

This release of a third party repository appears to conflict with the unconventional third party package already in noetic under the grpc name hosted at https://github.com/CogRob/catkin_grpc.git

Were you aware of this existing package and is there a reason that it was unsuitable?

I do not think it makes sense to release this package in Noetic unless there is some reason that the existing one is deficient, and even then, I think that only one instance of this third party package should be in the distribution and thus, we would have to consider removing the existing package for this one to be eligible.

@nuclearsandwich nuclearsandwich added held for sync Issue/PR has been held because the distribution is in a sync hold changes requested Maintainers have asked for changes to the pull request and removed held for sync Issue/PR has been held because the distribution is in a sync hold labels Apr 15, 2023
@jarkenau
Copy link
Author

jarkenau commented Apr 19, 2023

I saw the existing grpc repo. From my point of view, its main purpose is a CMake integration for building the source files from the .proto definitions. However, by looking at the CMake file, you're still required to install gRPC manually in order to use the repo, since there is no FetchContent or git submodule of gRPC.

Moreover, CMake now provides a module for doing this work out of the box: https://cmake.org/cmake/help/latest/module/FindProtobuf.html. So maybe the repo is already outdated? 🤔

My intention with this PR was to get gRPC, to install with rosdep, so you don't have to install it manually or use the outdated apt packages (which would probably also help the existing gRPC package). I think we could keep both packages since they serve completely different purposes, however the naming would need to change, in order to make their intention/usage clear.

@BillWSY (maintainer of the existing gRPC package) can you comment on this?

@mintar
Copy link
Contributor

mintar commented May 5, 2023

However, by looking at the CMake file, you're still required to install gRPC manually in order to use the repo, since there is no FetchContent or git submodule of gRPC.

I thought so too, but actually it fetches and builds version 1.34.1 of grpc:

https://github.com/CogRob/catkin_grpc/blob/40c3a270232bf64a519181cad0385bfa8ef5d98b/grpc/CMakeLists.txt#L18-L30

... but it really shouldn't do that; instead, it should use the upstream libraries (i.e., the ones that are packaged with the Linux distro) instead, and only provide generate_proto (which can perhaps be replaced by CMake out of the box, as you suggested). Tracked here: CogRob/catkin_grpc#35

@jarkenau jarkenau closed this May 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
changes requested Maintainers have asked for changes to the pull request noetic Issue/PR is for the ROS 1 Noetic distribution
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants