!jtzdZrQSXtEpeGtzAn:nixos.org

Testing with Nix

98 Members
25 Servers

Load older messages


SenderMessageTime
31 Jan 2024
@federicodschonborn:matrix.orgFederico Damián Schonborn changed their profile picture.06:22:02
9 Feb 2024
@sofo:matrix.orgSofie (AWAY) joined the room.07:28:31
20 Feb 2024
@sofo:matrix.orgSofie (AWAY) changed their display name from Sofi to Sofie.07:39:13
@sofo:matrix.orgSofie (AWAY) changed their profile picture.14:39:04
@sofo:matrix.orgSofie (AWAY) changed their profile picture.14:41:24
@sofo:matrix.orgSofie (AWAY) changed their profile picture.14:42:41
@sofo:matrix.orgSofie (AWAY) changed their profile picture.14:44:00
27 Feb 2024
@k900:0upti.meK900 Reviving this room to say that if no one objects, I want to rip out create_machine(dict) from the test driver in the next few days 19:44:36
@k900:0upti.meK900PR is here: https://github.com/NixOS/nixpkgs/pull/29154419:44:39
@qyliss:fairydust.spaceAlyssa RossOh I use that out of tree19:46:03
@qyliss:fairydust.spaceAlyssa Rossah but it's literally just removing the need to wrap the start command in a dict?19:46:26
@qyliss:fairydust.spaceAlyssa Rosssgtm, but would we want a deprecation period with a warning? I don't mind myself, but maybe I'm not the only one using it out of tree.19:47:12
@k900:0upti.meK900As long as you're just passing in a start command, it's fine19:48:01
@k900:0upti.meK900 But stuff like {"hda": ..., "cdrom": ...} will not work 19:48:26
@qyliss:fairydust.spaceAlyssa RossOh I didn't even remember you could do that.19:48:43
@k900:0upti.meK900I don't know about the deprecation period, because the old way of generating startcommands was deprecated, with a warning, for YEARS19:48:52
@k900:0upti.meK900* I don't know about the deprecation period, because the old way of generating startcommands was deprecated, with a warning, for YEARS now19:48:53
@k900:0upti.meK900And just removing the outer dict layer is a trivial change that will be caught by mypy19:49:15
@qyliss:fairydust.spaceAlyssa RossDo you mean the deprecation that I undid a year ago, or a different one? https://github.com/nixos/nixpkgs/commit/845576aac4c067b816886d5ef55aaec82ea37c1719:50:59
@k900:0upti.meK900https://github.com/NixOS/nixpkgs/blob/b5c956262d950cd2accccbe6a1e7fe768d5efaad/nixos/lib/test-driver/test_driver/machine.py#L382-L38619:54:04
@k900:0upti.meK900This one19:54:05
@k900:0upti.meK900Which is still there and 3 years old19:54:21
@qyliss:fairydust.spaceAlyssa Rossoh, so is it already possible to get equivalent functionality without passing a dict with startCommand? 19:55:47
@k900:0upti.meK900Not quite19:57:15
@k900:0upti.meK900It's stupid19:57:19
@k900:0upti.meK900It takes a dict19:57:21
@k900:0upti.meK900Always19:57:23
@k900:0upti.meK900 But if the dict has startCommand, it'll use that 19:57:33
@k900:0upti.meK900And if it has anything else, it'll use THAT THING19:57:41
@qyliss:fairydust.spaceAlyssa RossThen I'm not sure this deprecation warning counts? If there was no possible way to get that functionality without using startCommand…19:58:18

Show newer messages


Back to Room ListRoom Version: 9