!UKDpaKNNsBpOPfLWfX:zhaofeng.li

Colmena

326 Members
A simple, stateless NixOS deployment tool - https://github.com/zhaofengli/colmena111 Servers

Load older messages


SenderMessageTime
18 Apr 2022
@linus:schreibt.jetztLinux HackermanThis all sounds like not-so-great workarounds for a problem that would be best solved by adding the feature to colmena.20:50:02
@buckley310:matrix.orgBuckleyThat would be the over engineered way20:50:04
@aanderse:nixos.devaanderseok cool20:50:30
@buckley310:matrix.orgBuckleyTbh I feel like the need for multiple deployments points to a deficcieccy in the tagging system. I actually thought you could combine tags to filter down more20:51:06
@linus:schreibt.jetztLinux HackermanI don't think so, there are good reasons to keep the deployments separate anyway. Like if the configs aren't supposed to refer to each other.20:51:49
@aanderse:nixos.devaanderse i have great interest in utilizing nodes
i'm not sure how you would make that work (well) with the tagging system
20:51:50
@aanderse:nixos.devaanderse Linux Hackerman: bingo 20:51:59
@linus:schreibt.jetztLinux Hackerman I mean, yes, tag selection could be more powerful and it's something I'd like to have as well. But I'm pretty sure it's not the right solution to aanderse's problem :) 20:52:23
@aanderse:nixos.devaanderse learning rust and contributing a feature might be the solution to my problem... but i feel like that isn't happening soon 20:53:29
@aanderse:nixos.devaanderseso i'll hack something else up for now :)20:53:40
19 Apr 2022
@zhaofeng:zhaofeng.liZhaofeng LiSorry all, my homeserver was completely borked for a week and still catching up. The last scrollback I see after April 12 is "Not sure exactly what that code would look like right now" from earlier today. Could someone fill me in with the conversation?06:50:19
@linus:schreibt.jetztLinux Hackerman2022-04-19-090015_screenshot.png
Download 2022-04-19-090015_screenshot.png
07:00:34
@linus:schreibt.jetztLinux Hackerman(because screenshots are obviously the best way to share chat transcripts 🙄)07:00:49
@zhaofeng:zhaofeng.liZhaofeng LiThanks! I can see that part fine, what about the messages before that? Or how should I go about forcing Synapse Web to refetch the history?07:03:14
@linus:schreibt.jetztLinux Hackermanoh oops07:03:25
@linus:schreibt.jetztLinux HackermanI thought you could only see up to that message 🙃07:03:37
@zhaofeng:zhaofeng.liZhaofeng LiOkie, "Clear cache and reload" did the trick. Sometimes eventual consistency needs a kick 😅07:05:30
@zhaofeng:zhaofeng.liZhaofeng Li
In reply to @aanderse:nixos.dev
defaults apply to all machines regardless of tags, i don't want to accidentally reference a machine in a different tag via nodes, i want to grab all attributes from all machines in a tag
Yeah, nodes refers to all nodes regardless of selection. We could have something like lib-colmena.findNodesByTag "webservers" but not sure whether that's the best way to solve the issue
07:09:43
@andi:kack.itandi- joined the room.07:37:06
@blaggacao:matrix.orgDavid Arnold (blaggacao) Zhaofeng Li: you might have a look at this new exciting project: https://github.com/numtide/nix-eval-cache It uses black magic to cache better than nix flakes. 16:48:47
@blaggacao:matrix.orgDavid Arnold (blaggacao)
In reply to @zhaofeng:zhaofeng.li
Yeah, nodes refers to all nodes regardless of selection. We could have something like lib-colmena.findNodesByTag "webservers" but not sure whether that's the best way to solve the issue
I think the way to go about these issues is to modularize the eval interface. Batteries included, but if your project requires a different eval structure, that's not something that colmena should implement.
18:55:13
20 Apr 2022
@ahsmha:matrix.orgrh joined the room.23:31:38
21 Apr 2022
@whentze:matrix.orgWanja Hentze joined the room.08:58:37
@whentze:matrix.orgWanja Hentze
In reply to @blaggacao:matrix.org
Zhaofeng Li: you might have a look at this new exciting project: https://github.com/numtide/nix-eval-cache It uses black magic to cache better than nix flakes.
looks interesting, but ewww mtime
16:49:08
@whentze:matrix.orgWanja HentzeI think I would exhaust the sound options first before reaching for that16:50:45
@blaggacao:matrix.orgDavid Arnold (blaggacao)Yeah, maybe it's not the 18:58:10
@blaggacao:matrix.orgDavid Arnold (blaggacao)* Yeah, maybe it's not the right tool for such a varied closure as nixos configurations would exhibit.18:58:41
@blaggacao:matrix.orgDavid Arnold (blaggacao) Maybe we'll be hearing something soon from the nixel front 18:59:07
@blaggacao:matrix.orgDavid Arnold (blaggacao)github.com/kamadorueda/nixel18:59:21
@blaggacao:matrix.orgDavid Arnold (blaggacao) O think the plan was to use this parser to implement a parallel and cache friendly nix evaluator outside of nix. 19:00:02

Show newer messages


Back to Room ListRoom Version: 6