!jtzdZrQSXtEpeGtzAn:nixos.org

Testing with Nix

97 Members
26 Servers

Load older messages


SenderMessageTime
27 Feb 2024
@k900:0upti.meK900 ⚡️I mean19:59:43
@k900:0upti.meK900 ⚡️ If you do create_machine({"startCommand": "..."}) 19:59:52
@k900:0upti.meK900 ⚡️You don't get the warning19:59:55
@k900:0upti.meK900 ⚡️And you get the right thing done20:00:01
@qyliss:fairydust.spaceAlyssa RossOh, I see.20:00:15
@k900:0upti.meK900 ⚡️ And after my PR you just need to change that to create_machine(start_command="...") now 20:00:20
@qyliss:fairydust.spaceAlyssa RossThat makes more sense —-I thought I'd have seen the warning.20:00:26
@qyliss:fairydust.spaceAlyssa RossRight20:00:30
@k900:0upti.meK900 ⚡️ But if you do create_machine({"hda": "foo.qcow2"}) or whatever 20:00:37
@k900:0upti.meK900 ⚡️That would get you the warning20:00:44
@qyliss:fairydust.spaceAlyssa RossRight20:00:48
@k900:0upti.meK900 ⚡️And now it would blow up20:00:49
@qyliss:fairydust.spaceAlyssa RossYeah I agree the non-startCommand keys don't need a deprecation period then.20:01:06
@qyliss:fairydust.spaceAlyssa RossThe reason to do a deprecation period is usually to make it possible to have some code that works with both stable and unstable. 20:01:34
@k900:0upti.meK900 ⚡️I guess that's true20:01:45
@k900:0upti.meK900 ⚡️I can add a hack for that20:01:48
@qyliss:fairydust.spaceAlyssa RossAnd then remove it after branch-off.20:01:59
@qyliss:fairydust.spaceAlyssa RossUsually we silently add the new API, wait a release, add a warning, wait a release, remove the old one.20:02:17
@qyliss:fairydust.spaceAlyssa RossBut I don't think that's necessary here because warnings from the test driver are not nearly as disruptive as warnings from Nix.20:02:31
@qyliss:fairydust.spaceAlyssa RossSo adding a warning straight away should be fine.20:02:49
@k900:0upti.meK900 ⚡️ @Alyssa Ross can you test your stuff against my branch? 20:15:28
@k900:0upti.meK900 ⚡️It should warn now20:15:31
@k900:0upti.meK900 ⚡️And hopefully catch a whole bunch of stupid cases20:15:40
@k900:0upti.meK900 ⚡️(thanks mypy)20:15:42
@qyliss:fairydust.spaceAlyssa Rosscan do20:17:14
@qyliss:fairydust.spaceAlyssa Ross(My stuff is https://spectrum-os.org/git/spectrum/tree/release/checks/try.nix?id=0b84f07c366366e26fa4047bac1c47037450d501 and https://spectrum-os.org/git/spectrum/tree/release/checks/no-roothash.nix?id=0b84f07c366366e26fa4047bac1c47037450d501 btw)20:17:51
@k900:0upti.meK900 ⚡️Yeah those should definitely work20:18:40
28 Feb 2024
@qyliss:fairydust.spaceAlyssa Rossk900: as expected, they do.00:21:24
@k900:0upti.meK900 ⚡️Cool06:13:13
@k900:0upti.meK900 ⚡️And does it scream at you06:13:23

Show newer messages


Back to Room ListRoom Version: 9