Closed plicease closed 2 years ago
This seems to currently be the "correct" way:
preload sub { my($meta) = @_; $meta->apply_plugin('Fetch::HostAllowList', allow_hosts => [qw( github.com ftp.gnu.org )]) };
but we should also support something like this:
plugin 'Fetch::HostAllowList', allow_hosts => [qw( github.com ftp.gnu.org )];
like you an from an alienfile.
alienfile
Should update the documentation for plugins Fetch::HostAllowList and Fetch::BlockList when done.
Fetch::HostAllowList
Fetch::BlockList
Maybe:
preload_plugin $name, @args; postload_plugin $name, @args;
updated the plugins.
This seems to currently be the "correct" way:
but we should also support something like this:
like you an from an
alienfile
.