| 5 Sep 2024 |
outfoxxed | just cleanup | 07:51:02 |
K900 | And we will never lookup hit | 07:51:05 |
outfoxxed | hm | 07:51:14 |
outfoxxed | we could go further and strip the store part of the path | 07:51:35 |
outfoxxed | Redacted or Malformed Event | 07:51:58 |
outfoxxed | In reply to @outfoxxed:outfoxxed.me we could go further and strip the store part of the path and then store that in the tag area as well | 07:52:27 |
outfoxxed | its getting more complex than I'd like though | 07:52:45 |
K900 | We can't just strip the store path either because we could have QML files in the same relative path | 07:53:25 |
K900 | So it would have to be something like (pname, relative path) and even then it's not guaranteed to be unique | 07:53:41 |
K900 | It's a mess | 07:53:44 |
outfoxxed | canonicalize it first? | 07:53:45 |
K900 | I don't think we want to open that can of worms | 07:53:51 |
K900 | In reply to@outfoxxed:outfoxxed.me canonicalize it first? Relative to the root store path I mean | 07:53:57 |
outfoxxed | I'm confused about how that's an issue | 07:54:18 |
K900 | Like /nix/store/aaaaaaa-lib1-1.0/lib/qt/qml/Button.qml and /nix/store/bbbbbbbb-lib2-1.0/lib/qt/qml/Button.qml can both exist | 07:54:20 |
K900 | And we'd key both to lib/qt/qml/Button.qml | 07:54:32 |
outfoxxed | but im not sure that matters
because as a non nix application those would be the same path anyway | 07:55:16 |
outfoxxed | and the package wouldn't even work anywhere else | 07:55:22 |
outfoxxed | so its unlikely we'll ever hit that | 07:55:32 |
K900 | Not necessarily, it could be coming from two different loaders with different lookup paths | 07:56:06 |
K900 | This is a very contrived example | 07:56:11 |
K900 | But it is possible | 07:56:15 |
outfoxxed | I think its at a point of contrived-ness where its reasonable to break | 07:56:26 |
outfoxxed | I don't really have any other ideas that will still clean the caches | 07:57:29 |
outfoxxed | we could also just disable it for that case | 07:57:42 |
K900 | Yeah me neither | 07:57:53 |
K900 | I think maybe it's fine? | 07:57:56 |
K900 | If we can also figure out how to force AOT compilation on ~most things | 07:58:11 |
K900 | Then most setups will not have bare QML files anyway | 07:58:22 |
outfoxxed | you shouldn't even have to force it | 07:58:29 |