taktoa has quit [Remote host closed the connection]
contrapumpkin is now known as BTC_Boar
BTC_Boar is now known as contrapumpkin
orivej has joined #nixos-dev
mbrgm has quit [Ping timeout: 256 seconds]
mbrgm has joined #nixos-dev
<disasm>
gchristensen: if terraform only tracks hardware-configuration, how would you go about with patching? For example, glibc update where hardware-configuration.nix stays the same. Terraform would think the state is fine and wouldn't run the nixops parts.
<grahamc>
disasm (IRC): in this model terraform would not ever call nixops and once the Infra was up nixops would takeover
<disasm>
oh, I misread it the opposite where you ran terraform to execute nixops
<disasm>
I thought provider "nixops" actually ran nixops
<grahamc>
Oh I see. No. It is more like just registering the node in the nixops “database”
<disasm>
cool :)
<grahamc>
There is a chef_node resource which is similar. It sets the node up in chefs database but doesn’t run chef.
<grahamc>
Bed time :) I’ll be thinking more on this Monday
<disasm>
yeah, I'm very excited :)
<disasm>
Happy to help write some of the code as well or review :)
<disasm>
ooh... this fixes the abstraction of hardware as well!
<disasm>
so you could define different hardware on an instance in terraform, hardware-configuration is auto-generated, then nixops will just use that hardware defined in terraform!
<grahamc>
Yes!! Yes! Exactly!
lopsided98 has quit [Remote host closed the connection]
lopsided98 has joined #nixos-dev
lopsided98 has quit [Remote host closed the connection]
<clever>
the way i configure zfs, is to auto-generate a unique hostid via /dev/urandom
<clever>
so every install has a unique id, that nixops must be aware of when building the images
<clever>
zfs also adds many options for what datasets to mount where, which nixops has to know of, and it currently lacks the ability to create them on the fly
lopsided98 has joined #nixos-dev
<clever>
and if your in a non-zfs mood, that matters more, because the partitions are even more locked up
stqism has quit [Quit: Like 3 fire emojis lit rn 🔥🔥🔥]
stqism has joined #nixos-dev
zarel has joined #nixos-dev
FRidh2 has joined #nixos-dev
orivej has quit [Ping timeout: 264 seconds]
JosW has joined #nixos-dev
zarel has quit [Ping timeout: 248 seconds]
ma27 has joined #nixos-dev
ma27 has quit [Ping timeout: 276 seconds]
ma27 has joined #nixos-dev
ma27 has quit [Ping timeout: 248 seconds]
ma27 has joined #nixos-dev
vcunat has joined #nixos-dev
FRidh2 has quit [Quit: Konversation terminated!]
FRidh2 has joined #nixos-dev
orivej has joined #nixos-dev
zarel has joined #nixos-dev
ma27 has quit [Ping timeout: 256 seconds]
zarel has quit [Read error: Connection reset by peer]
zarel_ has joined #nixos-dev
zarel_ has quit [Ping timeout: 276 seconds]
orivej has quit [Ping timeout: 240 seconds]
ma27 has joined #nixos-dev
zarel has joined #nixos-dev
zarel has quit [Quit: Leaving]
vcunat has quit [Ping timeout: 256 seconds]
vcunat has joined #nixos-dev
orivej has joined #nixos-dev
ma27 has quit [Ping timeout: 276 seconds]
jtojnar has quit [Remote host closed the connection]
<MichaelRaskin>
Won't change the command-line part, but maybe can make understandable what is safe to do…
alunduil has quit [Ping timeout: 256 seconds]
<pie_>
well yeah i dont mean cli is inherently bad or anytihng
<MichaelRaskin>
Somehow the person in the thread thinks that GUI installation has any less chance of ending up with multiple python versions installed…
<FRidh>
ah with jupyter/ipython it gets more tricky because of multiple entry points to the same thing. I encountered this myself last week, where I had a system-wide installation of a Python env with I think it was our `notebook` package, and then used `nix run` with `python3.pkgs.nbconvert`. `nbconvert can be executed as nbconvert but also as jupyter nbconvert. They don't give the same result.
<gchristensen>
when it triggers the build, it treats it as a single build instruction, ie: `build awscli spyder` which will cause a single message per architecture
<FRidh>
having 75 commits that could each have a valid attribute in their commit name could then generate up to 75*3 messages, right?
<MichaelRaskin>
You mean 75 commits in a single PR?
<FRidh>
yes
<gchristensen>
if they are pushed individually to the PR, then it would, but if the PR is opened and already has 75 commits it would only trigger 1*3
<pie_>
ok i dont know how i did this but a nix script build was failing, then i did a collect garbage, and then it wasnt failing anymore
<pie_>
and it wasnt a disk space issue
<gchristensen>
FRidh: does that make sense?
<FRidh>
gchristensen: yes, it does
ma27 has quit [Ping timeout: 276 seconds]
<gchristensen>
if it turns out to be noisy, I don't mind turning it off until we find a better solution or comment coalescing is implemented (https://github.com/NixOS/ofborg/issues/47)
<vcunat>
Hmm, is it possible to just edit the comment that called borg and put the result in there?
<vcunat>
(there's a permission issue, I guess)
<FRidh>
but having a way to disable it (e.g. marked as work in progress) would be nice. E.g., with larger PR's where I update the python package set I expect failures and do not intend to fix everything either.
<MichaelRaskin>
Not sure it is generally a good idea to automatically edit human comments…
<gchristensen>
there actually isn't, github's permissions are not good. because ofborg has permission to label issues, it can edit anybody's comments too
<gchristensen>
FRidh: that does seem good
<vcunat>
It would be only comments that specifically asked for it.
<vcunat>
(Assuming Borg won't get mad.)
<MichaelRaskin>
(looking at Python label for Doxygen PR) that's a bold assumption
<vcunat>
:-)
<MichaelRaskin>
Also, right now it is allowed to add a borg mention in the end of a substantial comment…
<gchristensen>
or in the middle (or top) of a substantial comment, I think editing a person's comment is not good
<MichaelRaskin>
Given what I know, I would say mentioning borg at the top is unwise.
<MichaelRaskin>
Imagine mentioning borg at the top above a multiparagraph text where one of the paragraphs starts with «Build this in the following order: …» and then goes on to mention Python or LibreOffice