diff options
author | Eric Wong <e@80x24.org> | 2023-11-28 14:56:21 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2023-11-29 02:13:22 +0000 |
commit | 67ecd56a0aaf977fa1a22aa6e2378c9317c72549 (patch) | |
tree | edb6e7d87ab1bc1b05bde1e5eb07d9b1ccab6a21 /xt | |
parent | 10b23966ff8fa35a112f7fe2b9386dd4967d818c (diff) | |
download | public-inbox-67ecd56a0aaf977fa1a22aa6e2378c9317c72549.tar.gz |
This is a major step in solving the problem of having to manually associate hundreds/thousands of coderepos with hundreds/thousands of public-inboxes to power solver (and more).
Diffstat (limited to 'xt')
-rw-r--r-- | xt/solver.t | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/xt/solver.t b/xt/solver.t index 51b4144c..372d003b 100644 --- a/xt/solver.t +++ b/xt/solver.t @@ -10,6 +10,7 @@ use_ok($_) for @psgi; use_ok 'PublicInbox::WWW'; my $cfg = PublicInbox::Config->new; my $www = PublicInbox::WWW->new($cfg); +$www->preload; my $app = sub { my $env = shift; $env->{'psgi.errors'} = \*STDERR; @@ -63,7 +64,7 @@ while (my ($ibx_name, $urls) = each %$todo) { skip(qq{[publicinbox "$ibx_name"] not configured}, scalar(@$urls)); } - if (!defined($ibx->{coderepo})) { + if (!defined($ibx->{-repo_objs})) { push @gone, $ibx_name; skip(qq{publicinbox.$ibx_name.coderepo not configured}, scalar(@$urls)); |