rholshausen
03/27/2024, 3:46 AMpact-mock_service
repo which is the old Ruby version, so creating a pact-mock-server
repo will be confusing (but not to me). So need to start with a repo name.rholshausen
03/27/2024, 3:47 AMJoshua Ellis
03/27/2024, 4:34 AMrholshausen
03/27/2024, 4:42 AMMatt (pactflow.io / pact-js / pact-go)
Yousaf Nabi (pactflow.io)
Yousaf Nabi (pactflow.io)
Yousaf Nabi (pactflow.io)
Yousaf Nabi (pactflow.io)
I wonder how we expedite the decommissioning of the Ruby libraries so we don't need to support both (to your point about confusion of naming)better guidance in the repo and docs site would go far
@Yousaf Nabi (pactflow.io) has been playing with that, but perhaps we should raise it to the level of an official project to be completedwith the pact broker client being the only critical func left in ruby, fully stable and currently on the latest stable ruby version, I’m a little less concerned about needing to deprecate this asap. what i would like to investigate, is porting the func over to rust, with also consideration to the availability of it through client language wrappers, so the ffi basically, to allow users who’ve lost that native lang wrapper over the pact broker client, as we moved to rust ffi unless we also package ruby alongside which many projects seeked to drop completely. do we want to do that, or is just using the cli a better way forward? if its via the ffi as well, then existing rust ffi users can leverage from the same shared lib. was the maint effort of these wrappers such a burden that this is a futile endeavour. I think that could be somewhat overcome by a couple of approaches • ffi interface generators, I’ve played with a few, and create a fair few from knowledge of what an implemented interface looks like and working backwards to template it • having args as json object with ffi func taking a single param. the json message could be tested with pact to give cli/ffi authors feedback on who is using what and the impact of removing/adding a new field. okay so maybe after writing that we probably do want to have a separate topic/project listed somewhere about the decommissioning of the pact broker client looks like. 😅
rholshausen
05/07/2024, 4:59 AM