!rGlCMuXgAhgEpdvJUz:nixos.org

NixOS KDE

222 Members
61 Servers

Load older messages


SenderMessageTime
5 Sep 2024
@k900:0upti.meK900Ugh hold on I need coffee07:41:14
@k900:0upti.meK900I can't fit this three level cache key structure into my head right now07:41:28
@outfoxxed:outfoxxed.meoutfoxxed
In reply to @k900:0upti.me
We could backport
not necessarily
I've ended up looking through a few versions of this code for other reasons and it changes a lot
07:41:57
@outfoxxed:outfoxxed.meoutfoxxedplus then we'd have a different qmlc format again07:42:18
@outfoxxed:outfoxxed.meoutfoxxedand that would break anything not using it07:42:27
@outfoxxed:outfoxxed.meoutfoxxedim not sure how much of a concern that is07:42:39
@k900:0upti.meK900Well we'd have cache disabled for all the older versions07:42:49
@k900:0upti.meK900So that's fine07:42:51
@k900:0upti.meK900We can just start at version whatever-it-currently-is+107:43:01
@outfoxxed:outfoxxed.meoutfoxxed
In reply to @k900:0upti.me
I can't fit this three level cache key structure into my head right now
The actual key is just the url of the qml file
07:43:11
@outfoxxed:outfoxxed.meoutfoxxedthe rest is just validation07:43:16
@k900:0upti.meK900Not quite07:43:55
@k900:0upti.meK900It's also the QApplication name07:43:59
@outfoxxed:outfoxxed.meoutfoxxedthats just to pick the cache path iirc07:44:16
@k900:0upti.meK900Well yes07:44:21
@k900:0upti.meK900But effectively that makes it part of the key07:44:26
@k900:0upti.meK900In the global space07:44:28
@outfoxxed:outfoxxed.meoutfoxxedthe application can also change that07:44:32
@k900:0upti.meK900Yes07:44:35
@outfoxxed:outfoxxed.meoutfoxxedwe shouldnt touch it07:44:35
@k900:0upti.meK900I'm not saying we should07:44:39
@k900:0upti.meK900But it matters for cleanup purposes07:45:37
@outfoxxed:outfoxxed.meoutfoxxedthe only relevant part is the qmlc url07:45:36
@k900:0upti.meK900Because e.g. we will never clean up other applications' caches07:45:45
@outfoxxed:outfoxxed.meoutfoxxedi don't think we should be patching in extra cleanup07:45:50
@outfoxxed:outfoxxed.meoutfoxxed * i don't think we should be patching in extra cleanup that isn't upstream07:46:01
@outfoxxed:outfoxxed.meoutfoxxedbut we should maintain the same level07:46:06
@outfoxxed:outfoxxed.meoutfoxxedtrying to do extra cleanup will put us into some position where we're deleting caches of something that expected the normal behavior07:47:10
@outfoxxed:outfoxxed.meoutfoxxedand I don't see a reasonable way to do it, because theres no definite point where all qml resources will be loaded in the application's lifetime07:47:44
@k900:0upti.meK900There's a weird problem07:47:50

Show newer messages


Back to Room ListRoom Version: 9