From 215c8a7246bdc956664fdcd6ece578d502a9ae4b Mon Sep 17 00:00:00 2001 From: Michael Scherer Date: Fri, 15 Apr 2011 11:40:53 +0000 Subject: remove cache option and variables, as it seems to have been disabled 3 years ago --- ulri | 11 ++--------- 1 file 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(); -- cgit v1.2.1