Replies: 2 comments 2 replies
-
Hi @jniltinho this is our plan to make evolve glpi-agent to use golang as main language. I don't think we will use go-lua to gradually migrate native to golang. Using another old language with too little community is not a good idea. In my though, we will better work first on migrating the core in golang and add support for scripts languages for modules, of course perl to reuse current modules, but probably python and maybe js. This is another way to gradually migrate to full native golang, but this may also permit contributions from people not knowing go or perl. Actually, I have somewhere a branch where a wrote glpi-injector in go. And I don't have actually enough free time to fully work on go support. We are even looking for a skilled go developer. |
Beta Was this translation helpful? Give feedback.
-
Hi @g-bougard, Actually, I have somewhere a branch where a wrote glpi-injector in go. And I don't have actually enough free time to fully work on go support. We are even looking for a skilled go developer. I can help with this project since I have a lot of knowledge in Perl and I'm already doing a lot of things currently in Golang, I'm having difficulty placing the agent in Perl in an environment where we can't install many libs in Perl, so with this migration everyone will be helped. In the past I wrote functions in Golang to retrieve inventory from Linux and Windows computers using Golang, but my project was discontinued because few on the team had knowledge of Golang, this project was called Runbook, but in the end they migrated to Ruby to use in conjunction with Puppet, as Ruby was embedded in Puppet. |
Beta Was this translation helpful? Give feedback.
-
Your idea
Do you have plans to create this Agent in Golang?, because that way we wouldn't need a lib in Perl and we would be able to put it in more OS.
We could use go-lua, this makes it simpler to convert Perl scripts to Lua, then gradually migrate to native Golang functions.
https://github.com/Shopify/go-lua
Beta Was this translation helpful? Give feedback.
All reactions