diff options
author | Pascal Terjan <pterjan@mageia.org> | 2023-01-29 21:52:52 +0000 |
---|---|---|
committer | Pascal Terjan <pterjan@mageia.org> | 2023-01-29 22:02:58 +0000 |
commit | 2a8874c0842f5e36bd14ec62251f56c6709ab7d5 (patch) | |
tree | 5082e6c95ed4998478be8e8e218cc4548e32a077 | |
parent | c4c4d2e1d0982f260b4c4dbffc4aac5f90d9cdc4 (diff) | |
download | iurt-2a8874c0842f5e36bd14ec62251f56c6709ab7d5.tar iurt-2a8874c0842f5e36bd14ec62251f56c6709ab7d5.tar.gz iurt-2a8874c0842f5e36bd14ec62251f56c6709ab7d5.tar.bz2 iurt-2a8874c0842f5e36bd14ec62251f56c6709ab7d5.tar.xz iurt-2a8874c0842f5e36bd14ec62251f56c6709ab7d5.zip |
ulri: Fix syntax
-rw-r--r-- | NEWS | 1 | ||||
-rwxr-xr-x | lib/Iurt/Ulri.pm | 2 | ||||
-rwxr-xr-x | ulri | 4 |
3 files changed, 4 insertions, 3 deletions
@@ -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; @@ -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; |