Replies: 2 comments 3 replies
-
|
Hi, I'm no core dev of dfhack, just maintaining a rust client lib, and it would be a nice to have |
Beta Was this translation helpful? Give feedback.
-
|
I will point out that we use a very old version of protobuf. It's been so long that I cannot find documentation as to what version we are actually using, but it was added to DFHack's source repository in 2012 and has not been updated since (other than local changes required to keep it working with modern toolchains), so it's around 14 years old now. We tried updating it back in 2022, but that effort ran into a roadblock and it was abandoned. As a result, you must limit whatever you use protobuf for to whatever is supported in this version (which I do not know), or alternatively provide a PR that updates protobuf to a modern version without breaking any existing uses. I am not remotely an expert at protobuf, but the proposal in general sounds like a good idea and I won't block it if it doesn't break any existing uses, or if any such breakage is dealt with. Be aware that there are likely third party users of these interfaces, so any changes that might break a third party will need to be documented so that third party has sufficient warning of the change and guidance in how to adjust. Basically what I'm asking for is language I can put into release announcements and into our documentation to refer people to when they run into a problem. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
After looking at all
.protofiles of DFHack, which are written inproto2syntax, I noticed that the RPC functions only appear as comments :// RPC GetSideMenu : EmptyMessage -> SidebarStateThat's nice, but for automation purposes I'd like something more reliable. Instead of comments, I would like actual
serviceblocks, as allowed by theproto2syntax:service MyService { rpc GetSideMenu (EmptyMessage) returns (SidebarState); }May I create a Pull Request with that change? any objections ? Any blocker? It's literally just a conversion task, there's no caveat.
Beta Was this translation helpful? Give feedback.
All reactions