summaryrefslogtreecommitdiffstats
path: root/script/perlpkg.pl
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2018-12-18 00:48:32 +0100
committerFlorian Pritz <bluewind@xinu.at>2018-12-18 00:48:32 +0100
commit58860d34d6d90e4baafde5253b5c8696024b3da4 (patch)
tree332731ddc444c99a3b8746a1fc6fb270b454107f /script/perlpkg.pl
parentb238f10d9441afe1565cf698c54b69a58bbc4a45 (diff)
downloadApp-ArchLinux-PackagerTools-58860d34d6d90e4baafde5253b5c8696024b3da4.tar.gz
App-ArchLinux-PackagerTools-58860d34d6d90e4baafde5253b5c8696024b3da4.tar.xz
WIP Add maintainer filtering
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'script/perlpkg.pl')
-rwxr-xr-xscript/perlpkg.pl3
1 files changed, 3 insertions, 0 deletions
diff --git a/script/perlpkg.pl b/script/perlpkg.pl
index e6cac27..03bdb92 100755
--- a/script/perlpkg.pl
+++ b/script/perlpkg.pl
@@ -55,6 +55,9 @@ my $dists = $app->get_distributions_in_repo();
my $dist_names = [map {$_->{dist_name}} $dists->@*];
my $updateable = $app->get_updateable_packages($dist_names);
my $pkgs = $app->add_maintainers($updateable);
+my $filtered_pkgs = $app->filter_by_maintainer($pkgs);
+
+print Dumper($filtered_pkgs);
# TODO generate new pacakge pkgbuild
# TODO build