(perl) machines file: support machine lines with multiple spaces between fields
[?]
Oct 25, 2021, 1:24 AM
K4UTDMRBZUF77OPXYIQ74SQUUHXUCB3HMB5CVASMN5MFCKAA67HACDependencies
- [2]
QTZ6UUOMHydra::Helper::Nix::getMachines: add a test - [3]
L6PVAEWJperlcritic: don't open files as bare words - [4]
HTL6HIBMmachine-status: Read /etc/nix.machines instead of using the BuildMachines table - [5]
6MNLYIXOperlcritic: explicitly assign the result of readdir/file reads - [*]
2GK5DOU7* Downloading closures.
Change contents
- replacement in src/lib/Hydra/Helper/Nix.pm at line 350
my @tokens = split /\s/, $line;my @tokens = split /\s+/, $line; - edit in t/Helper/Nix.t at line 27
root@lotsofspace i686-linux,x86_64-linux /var/sshkey 1 1 kvm,nixos-test benchmark - edit in t/Helper/Nix.t at line 57
'root@lotsofspace' => {'systemTypes' => [ "i686-linux", "x86_64-linux" ],'sshKeys' => '/var/sshkey','maxJobs' => 1,'speedFactor' => 1,'supportedFeatures' => [ "kvm", "nixos-test", "benchmark" ],'mandatoryFeatures' => [ "benchmark" ],},