From 2a8874c0842f5e36bd14ec62251f56c6709ab7d5 Mon Sep 17 00:00:00 2001 From: Pascal Terjan Date: Sun, 29 Jan 2023 21:52:52 +0000 Subject: ulri: Fix syntax --- NEWS | 1 + lib/Iurt/Ulri.pm | 2 +- ulri | 4 ++-- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/NEWS b/NEWS index be214b9..a832848 100644 --- a/NEWS +++ b/NEWS @@ -1,5 +1,6 @@ - Add some tests checking the syntax of iurt/ulri/emi as the main scripts are not covered by test. +- ulri: Fix syntax 0.8.1 - iurt: Fix getting a retriable install_deps_failure instead of missing_dep diff --git a/lib/Iurt/Ulri.pm b/lib/Iurt/Ulri.pm index f2e014c..e9f8e44 100755 --- a/lib/Iurt/Ulri.pm +++ b/lib/Iurt/Ulri.pm @@ -6,7 +6,7 @@ use File::Temp qw(mktemp); use Iurt::Config qw(get_author_email); use Iurt::File qw(check_file_timeout); use Iurt::Mail qw(sendmail); -use Iurt::Util qw(plog ssh_setup ssh sput); +use Iurt::Util qw(plog ssh_setup sget ssh sput); use File::Slurp qw(read_file); use strict; diff --git a/ulri b/ulri index 93538f3..03c425b 100755 --- a/ulri +++ b/ulri @@ -307,7 +307,7 @@ foreach my $prefix (keys %pkg_tree) { } fetch_and_delete_logs($remote, "$prefix_dir/log", "$fail_dir/$prefix"); - record_bot_complete($run, $bot, $lock_file, $prefix, $ent, $media, $host, $pid); + record_bot_complete(\%run, $bot, $arch, $lock_file, $prefix, $ent, $media, $host, $pid); next bot; } @@ -380,7 +380,7 @@ foreach my $prefix (keys %pkg_tree) { } } - record_bot_complete($run, $bot, $lock_file, $prefix, $ent, $media, $host, $pid); + record_bot_complete(\%run, $bot, $arch, $lock_file, $prefix, $ent, $media, $host, $pid); # In case of success we have now fetched packages and logs and cleaned up the remote machine next bot if $done; -- cgit v1.2.1