Nix Flakes | 888 Members | |
| 178 Servers |
| Sender | Message | Time |
|---|---|---|
| 27 Sep 2021 | ||
| Uh, it's quite... Noisy at the moment | 15:50:05 | |
| I'm working on it right now | 15:50:08 | |
| What you mean with noisy? | 15:50:33 | |
| https://github.com/serokell/update-daemon/pull/2 | 15:50:36 | |
In reply to @aciceri:nixos.devIt creates a new commit every time it is ran and there are updates for the repository | 15:50:49 | |
| Which seemed like a good idea at the time of writing, but turned out not to be | 15:51:00 | |
| The idea was that humans could push fixes to the same branch, so that changes related to the update are merged together with the update | 15:51:29 | |
| But unfortunately it just creates a sea of commits, which is rather overwhelming | 15:51:47 | |
| I'm rewriting it to only create one meaningful commit and then stop updating if there are any human changes on the branch, under the assumption that if humans have pushed something they are going to merge rather soon. | 15:52:29 | |
| Also, I'll add error reporting (if it fails to update it should create an issue) and gitlab support some time in the future | 15:53:37 | |
| Currently it has rudimentary "plain git" support, but it can't submit oldschool patches via email or anything like that, it simply pushes changes to a remote branch | 15:54:28 | |
| If I understand correctly, the bot pushes to a branch called However I understand the problem you exposed, I hope you solve it soon, it's a nice project that could be used by many since the increment of people passing to Flake. | 16:04:42 | |
In reply to @aciceri:nixos.dev
| 16:07:16 | |
| The "problem" is not actually a showstopper, more of an annoyance. | 16:07:31 | |
| See for example https://github.com/serokell/pegasus-infra/pull/23 | 16:07:44 | |
| Where we just resorted to manually updating in a separate pull request rather than dealing with all the commits | 16:08:10 | |
But what does this (from README) mean? | 16:15:14 | |
In reply to @aciceri:nixos.devIt fails if some part of the operation fails. | 16:39:12 | |
| It doesn't run any checks, it goes through the usual review process, which includes CI | 16:39:34 | |
| 19:50:47 | ||
| 28 Sep 2021 | ||
| 14:23:28 | ||
| 19:14:09 | ||
hm, running nix flake metadata on a dirty Nixpkgs tree takes about 7 seconds, but running it on a clean tree isn't done even after 70 seconds | 22:49:29 | |
| I assume this is because with a clean tree it... counts the commits or something? | 22:49:40 | |
| balsoft I'm reading some of your nixos-config modules for ideas | 22:55:46 | |
| i'm curious about the pass-based secrets management and using envsubst. Have you written about that anywhere (issue threads, design notes or whatnot)? | 22:57:50 | |
| i'm working on a module for setting up device-specific stuff esp networking (like, which interfaces are trusted LAN, etc so I can configure everything with a consistent policy. your devices module is a good template for that sort of thing (nothing non-obvious in it, i just like following established patterns over making up my own) | 23:00:48 | |
In reply to @edrex:matrix.orgNope, not yet | 23:02:32 | |
| i didn't know envsubst existed. | 23:03:06 | |
| It's quite... hacky | 23:03:14 | |