!lymvtcwDJ7ZA9Npq:lix.systems

Lix Development

421 Members
(Technical) development of Lix, the package manager, a Nix implementation. Please be mindful of ongoing technical conversations in this channel.141 Servers

Load older messages


SenderMessageTime
18 May 2024
@jade_:matrix.orgjade_image.png
Download image.png
04:00:58
@jade_:matrix.orgjade_O_o04:00:59
@jade_:matrix.orgjade_this is depraved code that we will have to retain compat for04:01:13
@jade_:matrix.orgjade_https://git.lix.systems/lix-project/lix/src/commit/7a3745b07607d3fc85fb5a0a08832ab078080884/src/libstore/remote-store.cc#L313-L31504:01:26
@jade_:matrix.orgjade_wow04:01:27
@julia:the-apothecary.clubjuliait is certainly something04:05:47
@julia:the-apothecary.clubjuliait's also weird cause there's an InvalidPath() error and then it's not even used eveyrjwere04:06:22
@julia:the-apothecary.clubjulia * it's also weird cause there's an InvalidPathError and then there's also an InvalidPath, error,04:06:49
@jade_:matrix.orgjade_filed a bug that will permit deleting that code: https://git.lix.systems/lix-project/lix/issues/32504:13:18
@julia:the-apothecary.clubjulia:)04:14:29
@julia:the-apothecary.clubjuliawas gonna ask to do that because I was probbly not gonna do it04:14:39
@julia:the-apothecary.clubjulialol daemon.cc is literred with checks of he protocol version less/more than 1704:15:21
@julia:the-apothecary.clubjuliaactually that seems to be checking for the thing with "backward" compat on the daemon side04:16:32
@julia:the-apothecary.clubjuliaimage.png
Download image.png
04:17:10
@julia:the-apothecary.clubjulia(i was looking to see if had more info than just valid for remote store)04:17:25
@julia:the-apothecary.clubjulia * (i was looking to see if had more info than just valid for remote store, i think the answer is no)04:18:23
@julia:the-apothecary.clubjuliaimage.png
Download image.png
04:25:08
@julia:the-apothecary.clubjuliauh so why is this trying to copy my version of the nixpkgs source to the remote store04:25:20
@julia:the-apothecary.clubjulia * uh so why is this trying to copy my version of the nixpkgs source to the remote store... and then eventually failing with 41304:25:30
@lunaphied:lunaphied.meLunaphied
In reply to @jade_:matrix.org
https://git.lix.systems/lix-project/lix/src/commit/7a3745b07607d3fc85fb5a0a08832ab078080884/src/libstore/remote-store.cc#L313-L315
Aaaaa jade why would you do this now I've seen how bad the protocol serializing code is again
04:45:52
@lunaphied:lunaphied.meLunaphied(Seriously the fact Nix works at all is remarkable in the face of that code)04:47:58
@julia:the-apothecary.clubjuliaI keep running into FIXME: concerning statement 04:49:33
@julia:the-apothecary.clubjulia screams queryPathInfoUncached (virtual method on a base class) in some implementations returns nullptr for "not there" and others throws an error 04:56:15
@julia:the-apothecary.clubjulia... some of them even shell out to other functions and catch their invalid path errors04:58:35
@julia:the-apothecary.clubjulia* ... some of them even shell out to other functions and catch their invalid path errors so as to return nullptr04:58:50
@qyriad:katesiria.orgQyriad yeah. we have inherited a codebase from hell xP 04:59:35
@julia:the-apothecary.clubjuliamost seem to be returning nullptr... should I standardise on that?04:59:53
@qyriad:katesiria.orgQyriad absolutely, just carefully make sure the result behavior is still the same, and try to keep changes in a CL closely related 05:01:50
@qyriad:katesiria.orgQyriad but we would absolutely love this fixed  05:01:56
@julia:the-apothecary.clubjuliayep planning 05:02:05

Show newer messages


Back to Room ListRoom Version: 10