Monday, December 09, 2019
grimoire@muc.metronome.im
December
Mon Tue Wed Thu Fri Sat Sun
            1
2 3
4
5 6 7 8
9
10
11 12 13 14 15
16
17
18 19 20 21
22
23
24 25 26 27 28 29
30 31          
Metronome IM "cook" book room | Support and Dev talk about the Metronome XMPP server.

Latest stable version build is: 4.0.3

For more information you can visit: https://metronome.im

Room logs can be found here: https://muc.metronome.im/logs/grimoire/

* Links *
<==========================================================>
- Building & Installation:
https://metronome.im/building
- Documentation:
https://metronome.im/documentation
- Issues Tracker:
https://github.com/maranda/metronome/issues
<==========================================================>

[17:49:04] <kas> I have already prosody up and running (for years). If I copy prosody's data directory over to that of metronome, will that suffice to switch to metronome (provided metronome's config is alright)?
[18:46:10] <Curator> kas, do you use the hashed authentication backend or the plain one?
[18:48:30] <Maranda> Also it would depend on what you have loaded in Prosody, I'm not sure what does retain the same storage structure at this rate.
[18:49:51] <kas> Curator: I'm not sure, but plain I think.
[18:51:10] <kas> Maranda: If I compare the modules I have loaded in prosody with those that are loaded (or can be loaded) in metronome, I think they come out even.
[18:53:31] <Maranda> kas, plain should have no issues since password are stored in plain text, they should just carry over without issues. If you use hashed you'll have to change password for all accounts since it'll require to regenerate stored keys for SHA256, SHA384 and SHA512 algorithms
[18:54:29] <kas> Ah, yes, I can see that. There are only me and a few friends on my server, so I don't think those passwords will be a problem.
[18:54:59] <Maranda> kas, it's more useful to know a bit more exactly what the modules are
[18:56:10] <Maranda> some features are offered by different modules in Metronome than they're in Prosody
[18:58:31] <kas> Yes. I see. It's a bit much to list here, but if I go by names only, the only ones I see in prosody and not in metronome are: dialback (I suppose that one is builtin in metronome), blocklist (not essential), and carbons.
[18:59:55] <kas> I guess there is really only one way to find out: try it. If it fails, then I will have to find out why or go back to prosody.
[18:59:56] <Maranda> for simple blocking command, you need mod_privacy instead of mod_blocklist
[19:00:23] <Maranda> for message carbons, you need mod_message_carbons (message_carbons)
[19:00:30] <Maranda> instead of mod_carbons
[19:00:53] <kas> Thanks, I already have mod_privacy. Let me check mod_message_carbons.
[19:01:05] <kas> Ah yes, there it is.
[19:02:53] <Maranda> kas, have a look at https://github.com/maranda/metronome/blob/master/metronome.cfg.lua.dist
[19:03:03] <Maranda> to see the suggested modules etc.
[19:05:01] <kas> Thanks! I have installed on ArchLinux via AUR, and it creates a package from the git repo. I believe it's exactly the same file I'm looking at in my installation.
[19:06:25] <Maranda> Okay, let me know if you incurr in any issues with Lua5.2 by the way, unfortunately most is untested.
[19:09:52] <kas> Maranda: Thanks, will do. Btw, the PKGBUILD file in AUR says that it requires Lua5.2. However, the build instructions are using includes for Lua5.1. I changed that to 5.2 before I built the package because I felt the other thing didn't make any sense.
[19:13:58] <Maranda> Which package are you using?
[19:14:16] <Maranda> metronome-git?
[19:14:43] <kas> Yup
[19:14:53] <kas> https://aur.archlinux.org/packages/metronome-git/
[19:15:14] <kas> I just posted a question about the version of Lua in the comments.
[19:15:48] <Maranda> I think the dependencies are set right for lua5.2
[19:16:07] <Maranda> And lua already
[19:17:01] <kas> https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=metronome-git ← yes, but if you take a look at the build() function in the PKGBUILD file.
[19:17:41] <Maranda> Oh you're right
[19:18:15] <Maranda> Is there a way to send a pull request on AUR?
[19:19:02] <Maranda> I unluckily don't have the build environment at hand atm
[19:19:50] <kas> I'm not sure. But now that I have asked the question, the maintainer should be notified.
[19:21:05] <Maranda> I'm listed as mantainer, hope pep. does notice it as well
[19:21:26] <kas> Oh, yes you are.
[19:22:36] <kas> I will see what he says. If he doesn't respond, I will send him an email.
[19:22:39] <Maranda> Just have only a windows laptop with me atm so I'm unable to fix the package
[19:22:54] <Maranda> 😣
[19:23:36] <kas> That's fine. I manually changed the local copy of PKGBUILD so that it points to Lua5.2, and there was no problems building or installing the package.
[19:23:51] <Maranda> Nice 👌
[19:28:52] <kas> In fact, I have had metronome installed for ages (and I just updated it to the latest git) with the intention of taking a closer look — which I forgot. Then I came across a "metronome" dir in /var/log and I thought "What the heck is metronome?", and then it dawned. And looking at the presentation at the frontpage I remembered why I wanted to try it. I will probably try and switch sometime this week. Hopefully it will go well.
[19:31:52] <Maranda> Okay 🙂
[19:32:41] <kas> otherwise i will just come back and haunt this muc. ;)
[19:34:24] <Maranda> It's nice to have someone reporting issues sometime 🤣
[19:35:03] <Maranda> It's usually me, me and again me doin' everything
[19:37:37] <kas> I can imagine. :)