Skip to main content

Posts

Showing posts with the label prosody

Remainder of GSoC's first phase summary

A long way to climb   End of first phase is here! This post reflects last weeks' development as I juggle hands and feet through the climb. Events Prosodyctl - Added support for luarocks: admin-add (Flags supported: --tree, --server, --no-refresh, --help) admin-remove (Flags supported: --tree, --server, --no-refresh, --help) list commands(Flags supported: --tree, --help) - Various bug fixes, to make added functions comply with prosodyctl functionality and coding style Software usage - Solved some issues I was having when using ZeroBrane's studio to debug - Tinkering around the creation of rocks and rockspecs from mod_smacks Difficulties - Still clumsy using different tools, like ZBS's IDE, Mercurial and Luarocks - Some challenges with blog posts formatting Future goals - Enabling and disabling the mod_smacks plugin through prosodyctl  Considerations Albeit still going too slowly for my taste, some progress is being made in mo...

Using ZeroBrane Studio to understand prosodyctl

Working on the terminal One way to work on code is by using the terminal. We can navigate through folders and edit files with something classic, like Vim. The first time I was introduced to programming though, was through an IDE. Therefore, I always felt kind of uncomfortable working with code on something other than that. Even though nowadays I casually code with the terminal I always look for a neat IDE to use, albeit I know there isn't nothing I can do there that I can't do already through the normal tools. But that visual sugar, buttons and accessibility 😚 ... One example Okay, so here is the kind of situations were I like to use an IDE. I've made some coding on one of prosody's script, " prosodyctl ", which is a script that contains commands to control prosody, in a systemctl-like fashion. This is a custom prosody installation I did from source, so everything is nicely packed in the same folder, making it easier to work around and develop. Her...