diff options
Diffstat (limited to 'lib/Youri/Upload/Check/SVN.pm')
-rw-r--r-- | lib/Youri/Upload/Check/SVN.pm | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/Youri/Upload/Check/SVN.pm b/lib/Youri/Upload/Check/SVN.pm index 6e7d57a..f824f4a 100644 --- a/lib/Youri/Upload/Check/SVN.pm +++ b/lib/Youri/Upload/Check/SVN.pm @@ -30,6 +30,13 @@ sub run { my ($self, $package, $repository, $target, $define) = @_; croak "Not a class method" unless ref $self; + my $section = $repository->_get_section($package, $target, $define); + if ($section =~ /\/(testing|backport)$/) { + # FIXME, right now ignore packages in SVN for testing and backports + # we need to find a clean way to handle them + return 1 + } + $package->is_source or return 1; my $file = $package->get_file_name; my $srpm_name = $package->get_canonical_name; |