whitequark changed the topic of #keepasschi to: channel moved to #ChiPass
lunemercove has joined #chipass
<whitequark> fwiw most likely I'll have time to really dig into ChiPass code this Sunday, unless the stuff I'm doing before that ends up dragging for longer than I expect
<whitequark> I have like two months of OSS maintenance backlog to catch up after the ILR application, plus my day job
lunemercove has quit [Ping timeout: 272 seconds]
lunemercove has joined #chipass
LunarEclipse has quit [Quit: ZNC - https://znc.in]
LunarEclipse has joined #chipass
alikates_ has joined #chipass
alikates has quit [Ping timeout: 276 seconds]
alikates_ is now known as alikates
dg has quit [Ping timeout: 272 seconds]
lunemercove has quit [Ping timeout: 272 seconds]
lunemercove has joined #chipass
lunemercove has quit [Ping timeout: 246 seconds]
lunemercove has joined #chipass
illybyte has left #chipass [#chipass]
illybytes has joined #chipass
illybytes has quit [Changing host]
illybytes has joined #chipass
lucaswerkmeister has quit [Quit: The Lounge - https://thelounge.chat]
lucaswerkmeister has joined #chipass
lunemercove has quit [Ping timeout: 245 seconds]
<illybytes> anyone here wanna review PR #58? it changes the path for gui socket on XDG platform to use the runtime dir :
<illybytes> :3c*
<binwoes> illybytes: i've done an initial review but i am likely going to sleep soon, so merging may have to wait until some later time (unless someone else gets around to it :P)
<illybytes> thanks for the review :3
<illybytes> rn fixing up thr code cus it apparently doesnt work lol
<illybytes> fixed the macro issues + trying to fix it not using the code path where its on a unix system
<illybytes> for some reason its skipping that??
<binwoes> there's an #endif before your #else block
<illybytes> yeah i have noticed that
<illybytes> also it not working is because flatpak is being stupid and not installing the bunfle at all
<illybytes> the version instead is built 30 minutes ago
<illybytes> whichh is before any of these changes lol
<illybytes> for some weird reason flatpak is refusing to bundle the latest commit????
<illybytes> im just gonna remove repo build and .flatpak-builder
<illybytes> hmmm it seems like it either chooses to do /tmp or dead locks randomly with my local patch
<illybytes> super duper strange
<illybytes> welp, ima let someone else more knowledgeable figure that out x.x
<illybytes> chipass seems to just work normally without even need /tpm access, idk why it ever needed it??
<illybytes> tmp*
<illybytes> it has its own /tmp it uses on flatpak
<binwoes> i do like the idea of avoiding usage of /tmp if we can avoid it (regardless of Flatpak, it just seems like a better design choice)
<aks> what i learned some time ago is that if i need something personal cached, i should use ~/.cache and not /tmp
<binwoes> "According to documentation we should use RuntimeLocation on *nixes, but even Qt doesn't respect this and creates sockets in TempLocation, so let's be consistent."
<binwoes> i wonder if this quote is still accurate on Qt6
<binwoes> it does kind of annoy me that Qt does a silent fallback to a tempdir without explicitly stating it in the documentation (at least, nowhere i've seen) since i'm not sure if it's a behaviour i can rely on to continue existing in the future
<binwoes> (this feels like 'implementation detail', and i do not consider those to be stable in any meaningful manner)
<illybytes> hmm alright, i wonder, how would we detect if it fails somehow? we can always check if its an empty string, but what if the implementation just gives us a directory that we dont have access to?
<binwoes> i think iff QStandardPaths::writableLocation(QStandardPaths::RuntimeLocation).empty() we fallback to QStandardPaths::writableLocation(QStandardPaths::TempLocation), because this is guaranteed to not be empty
<binwoes> at this point there is still a chance that m_lockFile->tryLock(); fails, which is an existing failure condition and i'm not certain of the best way to handle it
<binwoes> i should really get to bed and then consider design choices after i've slept though, judging by my inability to spot the usage of QDir::tempPath() ^^
alikates has quit [Remote host closed the connection]
alikates has joined #chipass
binwoes has quit [Ping timeout: 245 seconds]
MorningSong has joined #chipass
ravix has joined #chipass
unnick has quit [Ping timeout: 244 seconds]
unnick has joined #chipass
soulpheonix has quit [Remote host closed the connection]
lunemercove has joined #chipass
ravix has quit [Ping timeout: 248 seconds]