aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Blin <dev@blino.org>2015-11-08 23:34:40 +0100
committerOlivier Blin <dev@blino.org>2015-11-17 00:13:55 +0100
commit4afff7f76e2e8449a7763c2aa66403085eb675ae (patch)
tree5d1b92be77ef416b7fc799f63ad87837ecca2ae8
parent2323659122010211d80ef71c0906d90fc1439b55 (diff)
downloadiurt-4afff7f76e2e8449a7763c2aa66403085eb675ae.tar
iurt-4afff7f76e2e8449a7763c2aa66403085eb675ae.tar.gz
iurt-4afff7f76e2e8449a7763c2aa66403085eb675ae.tar.bz2
iurt-4afff7f76e2e8449a7763c2aa66403085eb675ae.tar.xz
iurt-4afff7f76e2e8449a7763c2aa66403085eb675ae.zip
emi: Detect uploaded packages (.upload files)
-rwxr-xr-xemi7
1 files changed, 7 insertions, 0 deletions
diff --git a/emi b/emi
index d26e758..88d2b87 100755
--- a/emi
+++ b/emi
@@ -121,6 +121,7 @@ my $reject = "$config->{queue}/rejected";
my %pkg_tree;
my %excluded;
my %archdone;
+my %uploaded;
#
@@ -144,6 +145,12 @@ sub done_func {
plog('DEBUG', "found .excluded ($prefix) for $arch");
$excluded{$prefix}{$section}{$arch} = 1;
}
+ } elsif ($suffix =~ /^\.(\w+)$/) {
+ my ($action) = $1;
+ if ($action eq 'upload') {
+ plog('DEBUG', "found already uploaded ($prefix)");
+ $uploaded{$prefix}{$section} = 1;
+ }
}
}
}