aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Terjan <pterjan@mageia.org>2023-01-29 21:52:52 +0000
committerPascal Terjan <pterjan@mageia.org>2023-01-29 22:02:58 +0000
commit2a8874c0842f5e36bd14ec62251f56c6709ab7d5 (patch)
tree5082e6c95ed4998478be8e8e218cc4548e32a077
parentc4c4d2e1d0982f260b4c4dbffc4aac5f90d9cdc4 (diff)
downloadiurt-2a8874c0842f5e36bd14ec62251f56c6709ab7d5.tar
iurt-2a8874c0842f5e36bd14ec62251f56c6709ab7d5.tar.gz
iurt-2a8874c0842f5e36bd14ec62251f56c6709ab7d5.tar.bz2
iurt-2a8874c0842f5e36bd14ec62251f56c6709ab7d5.tar.xz
iurt-2a8874c0842f5e36bd14ec62251f56c6709ab7d5.zip
ulri: Fix syntax
-rw-r--r--NEWS1
-rwxr-xr-xlib/Iurt/Ulri.pm2
-rwxr-xr-xulri4
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;