* [PATCH 1/4] import_slrnspool: make filtering optional
2015-01-12 2:30 6% [PATCH 0/4] misc import_slrnspool improvements Eric Wong
@ 2015-01-12 2:30 7% ` Eric Wong
0 siblings, 0 replies; 2+ results
From: Eric Wong @ 2015-01-12 2:30 UTC (permalink / raw)
To: meta
---
scripts/import_slrnspool | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/scripts/import_slrnspool b/scripts/import_slrnspool
index b3a1b1d..1f25eff 100755
--- a/scripts/import_slrnspool
+++ b/scripts/import_slrnspool
@@ -20,7 +20,12 @@ defined $recipient or die usage();
my $config = PublicInbox::Config->new;
my $cfg = $config->lookup($recipient);
defined $cfg or exit(1);
-my @mda = (qw(ssoma-mda -1), $cfg->{mainrepo});
+my @mda;
+if ($ENV{'FILTER'}) {
+ @mda = qw(public-inbox-mda);
+} else {
+ @mda = (qw(ssoma-mda -1), $cfg->{mainrepo});
+}
sub get_min {
my ($cfg) = @_;
--
EW
^ permalink raw reply related [relevance 7%]
* [PATCH 0/4] misc import_slrnspool improvements
@ 2015-01-12 2:30 6% Eric Wong
2015-01-12 2:30 7% ` [PATCH 1/4] import_slrnspool: make filtering optional Eric Wong
0 siblings, 1 reply; 2+ results
From: Eric Wong @ 2015-01-12 2:30 UTC (permalink / raw)
To: meta
Eric Wong (4):
import_slrnspool: make filtering optional
import_slrnspool: graceful exit for interruptibility
import_slrnspool: load private config key
import_slrnspool: fork a process for each message
scripts/import_slrnspool | 79 ++++++++++++++++++++++++++++++++++--------------
1 file changed, 57 insertions(+), 22 deletions(-)
^ permalink raw reply [relevance 6%]
Results 1-2 of 2 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2015-01-12 2:30 6% [PATCH 0/4] misc import_slrnspool improvements Eric Wong
2015-01-12 2:30 7% ` [PATCH 1/4] import_slrnspool: make filtering optional Eric Wong
Code repositories for project(s) associated with this public inbox
https://80x24.org/public-inbox.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).