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

Move C++ websocket server code back to ws-protocol repo #89

Open
jtbandes opened this issue Nov 30, 2022 · 7 comments
Open

Move C++ websocket server code back to ws-protocol repo #89

jtbandes opened this issue Nov 30, 2022 · 7 comments

Comments

@jtbandes
Copy link
Member

jtbandes commented Nov 30, 2022

Fix #89

@jacob said:

#89 (comment)

this sounds nice, but am I remembering correctly that the ros folks were against FetchContent in the build process? or did we find some agreeable workaround?

Comment on #89 Move C++ websocket server code back to ws-protocol repo

@jhurliman
Copy link
Contributor

I suggest moving this issue to https://github.com/foxglove/ws-protocol since the result would be a PR to that repo and no change to this repo.

@jtbandes
Copy link
Member Author

jtbandes commented Nov 30, 2022

I'd rather not have two copies of the code and have to keep them in sync, so the result should also include deleting the version in this repo. (hence "move" in the title)

@amacneil
Copy link
Contributor

It sounds like time for a monorepo

image

@jlack1987
Copy link

Which implementation of the websocket protocol is most up-to-date/newer? It seems this one has more recent commits than this repo no?

@achim-k
Copy link
Collaborator

achim-k commented Sep 11, 2024

Which implementation of the websocket protocol is most up-to-date/newer? It seems this one has more recent commits than this repo no?

This repo basically uses a copy of the C++ server code in https://github.com/foxglove/ws-protocol, with only a few minor differences.

I'm not sure if there is an elegant way to add ws-protocol as a build dependency remove the server code in this pacakge. Maybe we could do so using FetchContent?

@jlack1987
Copy link

Yeah it's doable via the FetchContent stuff in cmake. I actually did just that on that repo a few days ago. That's when I ran into this repo as well and got confused. Some minor cmake mods are needed though on ws-protocol to ensure some of websocketpp's dependencies are available(zlib, openssl, and boost iirc). Very easy stuff to do though

Copy link

linear bot commented Sep 13, 2024

FG-8798 Foxglove bridge: Use C++ server implementation from ws-protocol repo via FetchContent

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

5 participants