X-Git-Url: http://www.git.stargrave.org/?a=blobdiff_plain;f=ci%2Fdeps.perl;h=643e86c0563a1895f7b981cc861b8bf395c79427;hb=af0b0fb7a454470a32c452119d0392e0dedb3fe1;hp=62870c1f99647992b2bbbf52e572c98b7feb58fe;hpb=4bb34fb8f29530f6bda5f0d563a74f6289ac312d;p=public-inbox.git diff --git a/ci/deps.perl b/ci/deps.perl index 62870c1f..643e86c0 100755 --- a/ci/deps.perl +++ b/ci/deps.perl @@ -1,5 +1,5 @@ #!/usr/bin/perl -w -# Copyright (C) 2019 all contributors +# Copyright (C) 2019-2021 all contributors # License: AGPL-3.0+ # Helper script for installing/uninstalling packages for CI use # Intended for use on non-production chroots or VMs since it @@ -9,38 +9,33 @@ my $usage = "$0 PKG_FMT PROFILE [PROFILE_MOD]"; my $pkg_fmt = shift; @ARGV or die $usage, "\n"; -my @test_essential = qw(Test::Simple Plack::Test); +my @test_essential = qw(Test::Simple); # we actually use Test::More # package profiles my $profiles = { # the smallest possible profile for testing - # TODO: trim this, Plack pulls in Filesys::Notify::Simple, - # and we don't need that for mda-only installs + # TODO: trim URI::Escape from this, maybe essential => [ qw( git perl - Date::Parse Devel::Peek Digest::SHA - Email::Simple - Email::MIME - Email::MIME::ContentType Encode ExtUtils::MakeMaker - Filesys::Notify::Simple - Plack + IO::Compress::Gzip URI::Escape ), @test_essential ], # everything optional for normal use optional => [ qw( + Date::Parse BSD::Resource DBD::SQLite DBI - IO::Compress::Gzip Inline::C Net::Server - Plack::Middleware::Deflater + Plack + Plack::Test Plack::Middleware::ReverseProxy Search::Xapian Socket6 @@ -50,10 +45,10 @@ my $profiles = { # optional developer stuff devtest => [ qw( - IPC::Run - XML::Feed + XML::TreePP curl w3m + Plack::Test::ExternalServer ) ], };