On Tue, Jan 25, 2022 at 5:27 AM Imobach Gonzalez Sosa
El mar, 25-01-2022 a las 05:23 -0500, Neal Gompa escribió:
On Tue, Jan 25, 2022 at 5:15 AM Imobach Gonzalez Sosa
wrote: Hi all,
While working on a P1[1], I found out that the SP4 inst-sys already ships SUSEConnect-ng (the new Go-based version). So we should have that into account when dealing with registration bugs and contact the SCC team if something does not work as we expected.
Regards, Imo
Sorry, what?! Forgive me for being a bit out of the loop here, but there's a Go-based version of SUSEConnect? How does that work with YaST registration being in Ruby?
No problem. Yes, SUSEConnect-ng[1] is written in Go. It offers a Ruby layer[2] that seems to work just fine.
[1] https://github.com/SUSE/connect-ng [2] https://github.com/SUSE/connect-ng/tree/main/yast
Huh, so it has a C library intermediary by using CGo in the opposite direction (binding Go functions to a shim C interface to make the library). Is there documentation of the APIs? I can't seem to find any developer documentation for this... I've been trying to figure out how to glue SUSEConnect to the DNF package manager for over a year. If there are some docs on how this works, I might be able to pull it off... -- 真実はいつも一つ!/ Always, there's only one truth!