aboutsummaryrefslogtreecommitdiffstats
path: root/ulri
diff options
context:
space:
mode:
authorMichael Scherer <misc@mageia.org>2011-04-15 11:40:53 +0000
committerMichael Scherer <misc@mageia.org>2011-04-15 11:40:53 +0000
commit215c8a7246bdc956664fdcd6ece578d502a9ae4b (patch)
treeb49209d5e042b10ad63903a73d0f8ebc29b88d3a /ulri
parent11b6ea8738a68f2615b0a8b5095396cc2ed14176 (diff)
downloadiurt-215c8a7246bdc956664fdcd6ece578d502a9ae4b.tar
iurt-215c8a7246bdc956664fdcd6ece578d502a9ae4b.tar.gz
iurt-215c8a7246bdc956664fdcd6ece578d502a9ae4b.tar.bz2
iurt-215c8a7246bdc956664fdcd6ece578d502a9ae4b.tar.xz
iurt-215c8a7246bdc956664fdcd6ece578d502a9ae4b.zip
remove cache option and variables, as it seems to have been disabled 3 years ago
Diffstat (limited to 'ulri')
-rwxr-xr-xulri11
1 files changed, 2 insertions, 9 deletions
diff --git a/ulri b/ulri
index b57c8c1..8676696 100755
--- a/ulri
+++ b/ulri
@@ -33,7 +33,7 @@
use strict;
use MDK::Common qw(cat_);
-use Iurt::Config qw(config_usage get_date config_init dump_cache init_cache get_author_email check_arch check_noarch);
+use Iurt::Config qw(config_usage get_date config_init get_author_email check_arch check_noarch);
use Iurt::Process qw(check_pid);
use Iurt::File qw(check_upload_tree);
use Iurt::Mail qw(sendmail);
@@ -138,10 +138,6 @@ my %config_usage = (
desc => "Root of the tree where the packages to compile are located",
default => "$HOME/uploads"
},
- cache_home => {
- desc => 'Where to store the cache files',
- default => "$HOME/.bugs"
- },
tmp => {
desc => "Temporary directory",
default => "$HOME/tmp"
@@ -168,8 +164,6 @@ $run{pidfile_home} = $config->{tmp};
$run{pidfile} = $program_name;
my $pidfile = check_pid(\%run);
-#my $cache = init_cache(\%run, $config, { done => {} });
-my $cache = { done => {} };
my ($fulldate, $daydate) = get_date();
$run{daydate} = $daydate;
@@ -183,7 +177,7 @@ if ($df->{per} == 100) {
($fulldate, $daydate) = get_date();
my %pkg_tree;
-my $compildone = $cache->{done};
+my $compildone = {};
my $todo = "$config->{queue}/todo";
my $failure = "$config->{queue}/failure";
@@ -744,7 +738,6 @@ plog('INFO', "jobs in queue:", %to_compile ?
unlink $pidfile;
-#dump_cache(\%run);
exit();