#!/usr/bin/perl -w
-# Copyright (C) 2019-2020 all contributors <meta@public-inbox.org>
+# Copyright (C) 2019-2021 all contributors <meta@public-inbox.org>
# License: AGPL-3.0+ <https://www.gnu.org/licenses/agpl-3.0.txt>
# Helper script for installing/uninstalling packages for CI use
# Intended for use on non-production chroots or VMs since it
# package profiles
my $profiles = {
# the smallest possible profile for testing
- # TODO: trim URI::Escape from this, maybe
essential => [ qw(
git
perl
- Devel::Peek
Digest::SHA
- Email::Simple
- Email::MIME
- Email::MIME::ContentType
Encode
ExtUtils::MakeMaker
- URI::Escape
+ IO::Compress::Gzip
+ URI
), @test_essential ],
# everything optional for normal use
BSD::Resource
DBD::SQLite
DBI
- Filesys::Notify::Simple
- IO::Compress::Gzip
Inline::C
Net::Server
Plack
Plack::Test
- Plack::Middleware::Deflater
Plack::Middleware::ReverseProxy
Search::Xapian
Socket6
# optional developer stuff
devtest => [ qw(
- XML::Feed
+ XML::TreePP
curl
w3m
+ Plack::Test::ExternalServer
) ],
};
pkg => 'p5-TimeDate',
rpm => 'perl-TimeDate',
},
- 'Devel::Peek' => {
- deb => 'perl', # libperl5.XX, but the XX varies
- pkg => 'perl5',
- },
'Digest::SHA' => {
deb => 'perl', # libperl5.XX, but the XX varies
pkg => 'perl5',
pkg => 'p5-Plack',
rpm => 'perl-Plack-Test',
},
- 'URI::Escape' => {
+ 'URI' => {
deb => 'liburi-perl',
pkg => 'p5-URI',
rpm => 'perl-URI',