aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/Youri/Repository.pm23
1 files changed, 11 insertions, 12 deletions
diff --git a/lib/Youri/Repository.pm b/lib/Youri/Repository.pm
index 97938cf..bbdd5e3 100644
--- a/lib/Youri/Repository.pm
+++ b/lib/Youri/Repository.pm
@@ -202,7 +202,6 @@ sub get_revisions {
$package->get_arch(),
)
);
-
@packages = grep { $filter->($_) } @packages if $filter;
return
@@ -268,17 +267,17 @@ sub get_replaced_packages {
$app_context
));
- # noarch packages are potentially linked from other directories
- if ($package->get_arch() eq 'noarch') {
- foreach my $arch ($self->get_extra_arches()) {
- push(@list, $self->get_older_revisions(
- $package,
- $target,
- $user_context,
- { arch => $arch }
- ));
- }
- }
+# # noarch packages are potentially linked from other directories
+# if ($package->get_arch() eq 'noarch') {
+# foreach my $arch ($self->get_extra_arches()) {
+# push(@list, $self->get_older_revisions(
+# $package,
+# $target,
+# $user_context,
+# { arch => $arch }
+# ));
+# }
+# }
# collect all obsoleted packages
push(@list, $self->get_obsoleted_packages(