0:03 AM
minimal has quit
0:05 AM
Maxr1998 has quit
0:06 AM
Maxr1998 joined the channel
3:13 AM
aerozol[m] has quit
4:52 AM
pite has quit
6:30 AM
Kladky joined the channel
7:11 AM
tarun joined the channel
7:15 AM
tarun has quit
8:44 AM
outsidecontext[m has quit
9:05 AM
d4rk-ph0enix joined the channel
9:08 AM
d4rkie has quit
10:06 AM
AJ35Services[m] has quit
10:26 AM
outsidecontext[m joined the channel
10:26 AM
outsidecontext[m
The passbolt password manager has a release song for every release. I love that. And a password manager is totally unrelated to music. We should have this for MB releases as well :)
10:27 AM
10:40 AM
Sophist-UK joined the channel
12:42 PM
pite joined the channel
13:06 PM
minimal joined the channel
14:00 PM
bitmap[m]
hi Jade (I have the time right, right? π)
14:01 PM
Jade[m] joined the channel
14:01 PM
Jade[m]
bitmap[m]: Yep!
14:02 PM
Waiting for my PC to boot up
14:02 PM
bitmap[m]
cool, I won't keep you long :)
14:02 PM
FYI I've deployed the mb-mail-service to aretha (where test.mb lives) and deployed your MBS branch there too
14:03 PM
but I think I need to set some DBDefs values before we can try it
14:04 PM
Jade[m]
Yep, that's likely
14:05 PM
My musicbrainz-server has a slightly modified Default.pm file cause I couldn't figure out which was the right DBDefs.pm to modify last week
14:06 PM
sub SMTP_SERVER { 'smtp-relay:1025' }
14:06 PM
sub MAIL_SERVICE_BASE_URL { "http://mail-service:3000" }
14:06 PM
bitmap[m]
lib/DBDefs.pm is the one you want to modify (to override anything in Default.pm)
14:07 PM
if that doesn't exist there's a DBDefs.pm.sample you can base it on
14:07 PM
Jade[m]
14:08 PM
Did you have any issues with the Sentry integration?
14:09 PM
bitmap[m]
I haven't configured that yet actually, because I think our Sentry instance is still borked π
14:09 PM
Jade[m]
It's a bit difficult for me to test that locally with sentry going on about free trials and stuff π
14:09 PM
It was nagging me about uploading debuginfo, but I couldn't actually find any docs for it
14:10 PM
bitmap[m]
heh, so far it's been even more difficult to test in prod because it doesn't want to work at all
14:10 PM
bitmap[m] set MAIL_SERVICE_BASE_URL on test.mb just now
14:11 PM
Jade[m]
It feels like there's a certain category of software that's just way too complex to operate. GitLab fits too
14:13 PM
bitmap[m]
yeah, sentry feels crazy bloated compared to what I remember from years ago
14:13 PM
which endpoints did you implement for sending out mail so far?
14:13 PM
(in MBS)
14:13 PM
Jade[m]
Email verification and message sending from last week
14:14 PM
I haven't been too productive this week :(
14:14 PM
A bit distracted by something I'd best no talk about in public here, but which could be very good
14:15 PM
I was also meant to be packing today, was mostly procrastinating
14:15 PM
s/no/not/
14:15 PM
bitmap[m]
that's alright, there's not a whole lot left to your project at this point:)
14:15 PM
ok, I'll give email verification emails a test today
14:16 PM
Jade[m]
I'm very happy that it's gone so well so far π
14:16 PM
bitmap[m]: I've had a few issues with the strings in that just being empty for some reason??
14:16 PM
bitmap[m]
hmm, weird. I'll keep an eye out for that
14:16 PM
Jade[m]
At first I thought it was because it was a blessed object or something
14:17 PM
14:18 PM
bitmap[m]
did that help with anything?
14:18 PM
I wouldn't expect a blessed object there either
14:19 PM
Jade[m]
And it fixed it throwing, but still I'm getting an empty string, now in the name field too
14:19 PM
* And it fixed it throwing without the string concatenation, but still I'm getting an empty string, now in the name field too
14:19 PM
If I tried to give $verification_link directly to the JSON encoder, it would throw
14:19 PM
Forcing it to be a string in line 437 fixes that, or what I added in line 424
14:19 PM
bitmap[m]
ok, sounds like something is being passed incorrectly, since it shouldn't be an object
14:19 PM
(the JSON encoder doesn't encode blessed objects by default)
14:20 PM
I'll look into it and ping you if I find something
14:20 PM
Jade[m]
Thanks :)
14:21 PM
14:21 PM
bitmap[m]
yeah, we should probably die there (I think the controller will handle that correctly and show an error to the user, but should confirm that)
14:22 PM
at least for email verification, for stuff like subscriptions we probably don't want to abort the whole process
14:23 PM
Jade[m]
The request should always return 200 for bulk sending anyways
14:23 PM
bitmap[m]
ah, right
14:25 PM
Jade[m]
I think that should be everything for this week?
14:25 PM
bitmap[m]
my initial test didn't send out an email but I almost definitely misconfigured things, I'll figure it out :)
14:25 PM
Jade[m]
14:26 PM
bitmap[m]
yeah, nothing else from me until I test the test deployment and review the Perl issues
14:26 PM
Jade[m]
bitmap[m]: It took me way too long to get everything configured right, it was mostly making sure the settings were actually *set* properly
14:27 PM
Jade[m]: Slowly moving away from git dependencies
14:27 PM
bitmap[m]
heh, I think I've set them to the wrong values properly in this case
14:28 PM
anyway :) I'll let you get going, thanks for your time!
14:29 PM
Jade[m]
No problem, see you next week π
14:30 PM
Oh this was an actual line in my shell history this week:
14:31 PM
Jade[m] uploaded an image: (222KiB) < https://matrix.chatbrainz.org/_matrix/media/v3/download/matrix.org/XYyfchMMnxUumWMDUHYMaRXU/image.png >
14:32 PM
bitmap[m]
hah, what's dnf?
14:32 PM
Jade[m]
Fedora's package manager
14:33 PM
bitmap[m]
oh! I haven't used Fedora in ages, it used to be yum?
14:33 PM
Jade[m]
Yeah it's changed a bit since then
14:33 PM
they're working on dnf5 at the moment, which is even more of an improvement
14:34 PM
Jade[m]: Installing almost all the musicbrainz-server perl modules so that the perl language server works was the cause of this monstrosity
15:10 PM
BrainzGit
15:53 PM
monkey[m]
Hello aerozol !
15:53 PM
When you have a minute, please let me know what you think of LB#2956 for multi-track-linking (deployed on
https://test.listenbrainz.org/settings/missing-... ). I deviated from your plans on the associated ticket, which is signifcantly harder to implement. I wanted to try a simple version first :)
15:53 PM
BrainzBot
15:53 PM
thevar1able has quit
15:57 PM
thevar1able joined the channel
16:00 PM
hirigaray has quit
16:04 PM
hirigaray joined the channel
16:04 PM
hirigaray has quit
16:04 PM
hirigaray joined the channel
16:19 PM
bitmap[m]
Jade: got the verification emails to send out from test.mb π but yeah, the strings are empty
16:20 PM
regarding verification_link being a blessed object, it is indeed a URI instance, which makes sense now. URI should overload "" already, so stringifying it like "$verification_link" should be sufficient to work around that
16:22 PM
Jade[m]
That's one of the first things I tried, but it seemed to result in an empty string π
16:25 PM
minimal has quit
16:36 PM
bitmap[m]
huh, it works for me π€·ββοΈ
16:40 PM
the empty variables in the rendered mail seems to be on the Rust side of things though (since the to_name and verification_url parameters are being sent/received correctly)
17:18 PM
Jade[m]
<bitmap[m]> "the empty variables in the..." <- I'll have a deeper look into it when I get an opportunity
18:16 PM
bttf joined the channel
18:16 PM
bttf
hi, i tried init'ing mbslave today but came across a sql constraint error. not sure how to resolve...
18:17 PM
psycopg2.errors.CheckViolation: new row for relation "label" violates check constraint "label_label_code_check"
18:17 PM
DETAIL: Failing row contains (294731, dacec7dc-806e-4f1a-ab41-cc0c46b297e0, beau by Republic, 2022, 10, 9, null, null, null, 202210, 1, 7741, , 0, 2024-05-14 21:06:04.842073+00, f).
18:47 PM
bitmap[m]
18:52 PM
bttf has quit
19:07 PM
bttf joined the channel
19:08 PM
bttf
i installed mbslave using pipx
19:12 PM
is there a better way?
19:41 PM
nawcom has quit
19:42 PM
nawcom joined the channel
19:43 PM
bitmap[m]
bttf (IRC): looks like v29 was never published to pypi. but I think you can pass a git URL to pipx
19:44 PM
bttf
ah ok. thanks
19:46 PM
bitmap[m]
19:47 PM
bttf
trying it out now
19:47 PM
bitmap[m]
for me it still says "installed package mbslave 28.0.0" but I think that's just because the version wasn't updated in pyproject.toml
19:58 PM
bttf
looks like it's working. thx
21:19 PM
Kladky has quit
21:21 PM
aerozol[m] joined the channel
21:21 PM
aerozol[m]
monkey: I saw the LB#2956 updates, Iβm very excited!! Just had a crazy week. Today I have time though, will look at it thoroughly in an hour or two
21:21 PM
BrainzBot
21:32 PM
bttf has quit
22:55 PM
discordbrainz
<04dieseltech> Was told to post here for my problem: I'm getting a 504 error when trying to view my profile on LB It seems people on the forums have this issue from time to time and someone clears out the cache on the backend for it to start working again If you wait long enough for the page to load this comes up
22:55 PM