It's only used by us in public-inbox-watch, and maybe not
for long. It's in most installations because Plack pulls it
in though, but Plack is no longer required.
# Filesys::Notify::Simple is pulled in by Plack, but also
# needed by public-inbox-watch (for now)
- 'Filesys::Notify::Simple' => 0,
+ # 'Filesys::Notify::Simple' => 0,
# TODO: this should really be made optional...
'URI::Escape' => 0,
# 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
Email::MIME::ContentType
Encode
ExtUtils::MakeMaker
- Filesys::Notify::Simple
URI::Escape
), @test_essential ],
BSD::Resource
DBD::SQLite
DBI
+ Filesys::Notify::Simple
IO::Compress::Gzip
Inline::C
Net::Server
# lazy load here, we may support watching via IMAP IDLE
# in the future...
- require Filesys::Notify::Simple;
+ eval { require Filesys::Notify::Simple } or
+ die "Filesys::Notify::Simple is currently required for $0\n";
my $fsn = Filesys::Notify::Simple->new([@{$self->{mdir}}, $scandir]);
$fsn->wait($cb) until $self->{quit};
}