diff options
author | Olivier Blin <dev@blino.org> | 2015-11-08 23:34:40 +0100 |
---|---|---|
committer | Olivier Blin <dev@blino.org> | 2015-11-17 00:13:55 +0100 |
commit | 4afff7f76e2e8449a7763c2aa66403085eb675ae (patch) | |
tree | 5d1b92be77ef416b7fc799f63ad87837ecca2ae8 | |
parent | 2323659122010211d80ef71c0906d90fc1439b55 (diff) | |
download | iurt-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-x | emi | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -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; + } } } } |