Sunday, 2025-12-14

malMister_Magister: time to fix the PR today?17:03
Mister_Magistermaaan you in hurry20:00
Mister_Magistermal: i'm not sure which identation you'd like, the sfos code is always very weird about them20:04
Mister_Magistermal: done20:07
Mister_Magisterlemme see what compiler says now20:07
Mister_Magisterstill complaining20:09
Mister_Magisteroh20:09
Mister_Magisterhonestly that return is too dense i would split it20:11
Mister_Magisterbut you sfos guys have weird rules xd20:11
Mister_Magisterok now the warning is quiet20:13
Mister_Magisterhope the identation is okay20:13
malMister_Magister: I think we are not exactly following the style in that, you check https://github.com/mer-hybris/ofono-binder-plugin/blob/master/src/binder_radio_caps.c#L340 that gives an idea how it should look, so the base indentation is 4 spaces in the second line and the for each multiline parentheses there is one space indentation to make it clearer that what belongs under inside the21:11
malparentheses21:11
Mister_Magisterughh xd21:12
malto me this is the way https://pastebin.com/u1cN116q21:12
malat least how I see the style being used21:13
Mister_Magisterya know you could just make the commit xd21:13
Mister_Magistergithub has feature where maintainers can commit to the pr repo21:13
Mister_Magisterpushed21:14
Mister_Magisterthe formatting is very inconsistent21:14
malhmm, you didn't change the base indentation, the next line after return should have 4 spaces i.e. the ( is below second r of return21:16
mallike in the example I showed21:16
Mister_Magisteri literally copy pasted what you gave me xd21:16
malhmm21:16
Mister_Magisterhow about now21:17
malor is github messing up things again21:17
Mister_Magisteri fixed it21:17
malnow looks like I want21:17
malargh, I always miss things21:18
malthe function parameters should 4 spaces not 821:18
malof that binder_data_manager_set_preferred_data_modem_allowed21:19
Mister_Magisterfixed21:19
Mister_Magistery'all should invest in some linter21:19
Mister_Magisterin php land we have tools that reformat the files21:19
Mister_Magistermy IDE normally does that for me21:19
malsome projects have those, most don't21:20
malI remember some project has git commit hook to check some stuff21:20
Mister_Magisteram back to gaming21:20
malthanks for the fixes, I'll merge that in a moment21:21
malthat open PR I have there is getting bigger all the time21:21
Mister_Magisternow you ought to help me fix the volte once it gets merged lol21:21
malvolte is like black magic21:22
Mister_Magisterit really is21:23
malI know the binder side of it but anything below that is just a black box21:23
Mister_Magisterbut i have even less idea than you xd21:23
malI think volte in general was a terrible idea21:24
Mister_Magisterwe just gotta deal with it i guess21:26

Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!