267 |
if ( $cmp->{src} && ! $reposrc{$dest} ) { |
if ( $cmp->{src} && ! $reposrc{$dest} ) { |
268 |
$cmp->{delete}++; |
$cmp->{delete}++; |
269 |
} elsif ( $repos->{$dest}->{prio} >= $repos->{$track{repo}}->{prio} && ! verrel($cmp, $dest, \%counts) ) { |
} elsif ( $repos->{$dest}->{prio} >= $repos->{$track{repo}}->{prio} && ! verrel($cmp, $dest, \%counts) ) { |
270 |
|
unless ( $repos->{$cmp->{repo}}->{base} ) { |
271 |
|
my $tag = sprintf '%s%s/%s-%s', $distrepo->{$smever}->{$cmp->{repo}}, $cmp->{name}, $cmp->{ver}, $cmp->{rel}; |
272 |
|
qx(touch $tag/PUSHED) if -d $tag && ! -f "$tag/PUSHED"; |
273 |
|
} |
274 |
push @{$cmp->{repos}}, $dest; |
push @{$cmp->{repos}}, $dest; |
275 |
$cmp->{oldrepo} = $cmp->{repo} unless $cmp->{oldrepo}; |
$cmp->{oldrepo} = $cmp->{repo} unless $cmp->{oldrepo}; |
276 |
$cmp->{repo} = $dest; |
$cmp->{repo} = $dest; |
277 |
$reposrc{$cmp->{repo}}->{srpm} = $cmp if $cmp->{src}; |
$reposrc{$cmp->{repo}}->{srpm} = $cmp if $cmp->{src}; |
|
|
|
278 |
$orig{$cmp->{nvra}}++; |
$orig{$cmp->{nvra}}++; |
|
unless ( $repos->{$cmp->{repo}}->{base} ) { |
|
|
my $tag = sprintf '%s%s/%s-%s', $distrepo->{$smever}->{$cmp->{repo}}, $cmp->{name}, $cmp->{ver}, $cmp->{rel}; |
|
|
qx(touch $tag/PUSHED) if -d $tag && ! -f "$tag/PUSHED"; |
|
|
} |
|
279 |
} else { |
} else { |
280 |
$cmp->{delete}++; |
$cmp->{delete}++; |
281 |
} |
} |