Re: upgrading MongoTalk

Charles Monteiro <[email protected]> Mon, 25 Sep 2023 07:17:11 -0400
Newsgroups gmane.comp.lang.smalltalk.vwnc
Message-ID <6c401f3e-cc12-45a7-a67a-44299565fc5e@Spark>
I would be very much interested in that , work recently just got a bit heavier with a transition and plus end of year stuff but yes I would be glad to contribute.

I’ll start by looking at Pharo




Thanks
On Sep 25, 2023 at 6:15 AM -0400, Annick Fron <[email protected]>, wrote:
> Hi Charles,
>
> 	I have used the Mongotalk package for quite a while but MongoDB has changed its framework in version 5 or 6.
> There is a new update reflecting this change in the pharo GitHub dating from only a couple of days. Good news !
>
> 	I am willing to port it to VW, would you help me for that ?
>
> 	Best regards
>
> 	Annick Fron
>
>
> Le 24 sept. 2023 à 18:23, Charles Monteiro <[email protected]> a écrit :
> >
> > hi, I tried MongoTalk against the default install of Mongo on Ubuntu 22 and it fails with this:
> >
> > Unsupported OP_QUERY command: create. The client driver may require an upgrade. For more details see https://urldefense.com/v3/__https://dochub.mongodb.org/core/legacy-opcode-removal__;!!DZ3fjg!6zxayu403VLpP_or5pauuMyFaUskn9pJB2gSZRxJVQd0kdgYQxMQAJj7KpRxskYGdiYpgga-n7LE0e9AF81g3_F3lInTkX_K4w$ '
> >
> > I'm interested in helping upgrading it but I am swamped and wondered if just a quick write up by those knowledgeable of this driver is available or possible :)
> >
> > with other drivers I have played with i.e. in other languages as well but possibly Pharo if if I recall , the binding usually amounted to passing a json to the runCommand
> >
> > e.g.
> >
> > db.runCommand( { hello: 1 } )
> >
> > and so for example above the issue might simply be that "create" i.e. that token
> > is not supported and is now is just something else which would be great
> >
> > I have simple needs to Mongo ie. your typical CRUD
> > so perhaps there's not much lifting to get MongoTalk up to enough snuff to make
> > that work
> >
> > thanks
> >
> > --
> > Charles A. Monteiro
> >
>