X-Git-Url: http://www.git.stargrave.org/?a=blobdiff_plain;f=scripts%2Fimport_vger_from_mbox;h=d30e8a3096e10848823e71773bc1bef3be3018aa;hb=feabfb1809b911fc97538282234c8b1f087ddb6a;hp=c45dc4ee1a4986f38d15d96ba9cfe2d706d00019;hpb=b42bbc915750cf2f0c559514041ba3f5d1a44a12;p=public-inbox.git diff --git a/scripts/import_vger_from_mbox b/scripts/import_vger_from_mbox index c45dc4ee..d30e8a30 100644 --- a/scripts/import_vger_from_mbox +++ b/scripts/import_vger_from_mbox @@ -7,6 +7,7 @@ use Getopt::Long qw/:config gnu_getopt no_ignore_case auto_abbrev/; use Date::Parse qw/str2time/; use Email::MIME; $Email::MIME::ContentType::STRICT_PARAMS = 0; # user input is imperfect +use PublicInbox::Inbox; use PublicInbox::V2Writable; my $usage = "usage: $0 NAME EMAIL DIR $mainrepo, name => $name, + version => 2, -primary_address => $email, }; +$v2ibx = PublicInbox::Inbox->new($v2ibx); my $im = $dry_run ? undef : PublicInbox::V2Writable->new($v2ibx, 1); binmode STDIN; my $msg = '';