2022-10-08T01:10:39 *** teepee_ is now known as teepee 2022-10-08T03:08:09 pjessen: I found out why the exclude files do not work: the rsync -0 option makes it expect null bytes instead of EOL, so maybe we write a simple converter script to turn the easily editable files into what rsync uses. 2022-10-08T06:47:09 I wrote this very crude function and it seems to work just fine https://paste.opensuse.org/15314539 2022-10-08T06:47:44 it should be latin-1 and not windows-1252, but for all the strings I tested, it worked 2022-10-08T06:48:10 latin-1 isn't technically a valid encoding name and I didn't remember iso-88whatever 2022-10-08T06:56:29 bmwiedemann: I would like to at some point test discourse migration with a mapping of usernames and emails from the idp, should I provide you with a list of usernames for that or do you have a better idea how to handle that? 2022-10-08T06:57:53 (as a reminder, vbulletin doesn't ever update emails, so the database contains old emails that aren't associated with the accounts on idp side anymore) 2022-10-08T07:41:22 bmwiedemann[m]: the filenames we get from obs (into /srv/bs/arrived) are null-terminated 2022-10-08T07:44:22 hellcp: postfix on mailman3 is not very happy. 2022-10-08T07:44:47 that's not great to hear 2022-10-08T07:45:05 hash not supported? did you upgrade postfix ? 2022-10-08T07:45:13 I did 2022-10-08T07:46:01 ah, that an easy explanation then. by default, the new postfix does not support hash anymore, only lmdb. 2022-10-08T07:46:19 I'll take a look 2022-10-08T07:46:40 thanks, had no idea 2022-10-08T07:49:20 np, it's an annoying change, but at least it's eaily fixed. 2022-10-08T07:49:56 ok, mm3 is working again. 2022-10-08T07:50:51 I trhink all the mails got queued up on mx12, so that's fine 2022-10-08T07:51:06 Jacob Michalskie: latin-1 = iso8859-1 2022-10-08T07:51:18 I know, I know 2022-10-08T07:51:39 I had to look it up, there's too many numbers to remember 2022-10-08T07:52:46 for discourse, could it use OIDC for auth and get email addrs for users from there? 2022-10-08T07:53:19 otherwise we would have to do a large one-time ldap query for the import 2022-10-08T07:56:34 it will use oidc, but it maps on email and not username, which is the problem 2022-10-08T07:57:46 similar to bugzilla, where we had to patch it a bit 2022-10-08T07:58:18 hm, I wonder if maybe there's an easy fix there 2022-10-08T07:59:23 have an IDP-username associated with every account and when login tells you user $NAME logged in, you can update the email 2022-10-08T07:59:41 or are users unable to ever change their mail address? 2022-10-08T08:04:26 https://github.com/discourse/discourse/blob/main/lib/auth/managed_authenticator.rb#L61-L68 2022-10-08T08:04:54 we can make it so that the email is changed from idp on login 2022-10-08T08:05:30 I wonder if maybe I could pitch this upstream 2022-10-08T08:05:47 so that we could configure based on what the user is matched from the idp 2022-10-08T08:05:57 at least make it an option upstream, so maintenance can be shared with other users 2022-10-08T08:06:08 yeah 2022-10-08T08:06:46 actually, it kinda is an option 2022-10-08T08:07:57 it just doesn't have the option to match by nickname 2022-10-08T08:08:13 I have to check a few things first though 2022-10-08T08:09:53 this will require an additional check if username can be changed, so that we don't match users if they changed their own username 2022-10-08T08:10:04 I think there's an option to disable that 2022-10-08T08:13:20 oh, found it, it's called something silly 2022-10-08T08:32:46 https://github.com/discourse/discourse/pull/18517 2022-10-08T10:59:23 LapTop 15.4 HP Leap 15.4 XFCE Snapy not running GUI ERROR GTK DISPLAY:0 2022-10-08T11:09:38 this is not a support channel, go to #opensuse 2022-10-08T11:23:03 updated the package with stylesheets and templates on pontifex, you can see it here: https://download.opensuse.org/ 2022-10-08T11:23:32 or rather pontifex2, idk if pontifex even still exists 2022-10-08T12:36:02 pjessen: I hopefully fixed excludes in repopush with `/srv/bs/bin/repopush.nullbyte` 2022-10-08T12:38:14 bmwiedemann[m]: a regular sed would not do it? 2022-10-08T12:38:35 not in my test. 2022-10-08T12:38:49 just wondering 2022-10-08T12:39:19 echo -e 'foo\nbar' | sed 's/\n/\000/' | hexdump -C 2022-10-08T12:39:33 also tried with \r - same effect 2022-10-08T12:42:38 sed -ze ""s/\n/\x00/" 2022-10-08T12:42:48 sed -ze "s/\n/\x00/" 2022-10-08T12:43:04 anyway, hardly important :-) 2022-10-08T12:43:47 ah, so it did not understant the octal. 2022-10-08T12:44:03 s/understant/understand/ 2022-10-08T12:44:55 I think maybe the octal was fine, but sed works with \n as end of line 2022-10-08T12:46:10 both. ```echo -e 'foo\nbar' | sed -ze "s/\n/\000/g" | hexdump -C 2022-10-08T12:46:10 00000000 66 6f 6f 0a 30 30 62 61 72 0a 30 30 |foo.00bar.00| 2022-10-08T12:48:26 echo -e "foo\nbar" | sed -ze "s/\n/\x00/" | hexdump -c 2022-10-08T12:48:36 0000000 f o o \0 b a r \n 2022-10-08T14:12:40 *** teepee_ is now known as teepee 2022-10-08T20:51:43 *** teepee_ is now known as teepee 2022-10-08T22:20:24 *** AloneER0[m] is now known as AloneER04154[m]