From 2f41101df13a82befc24edefe6946b2d52d2c96c Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Thu, 24 Aug 2023 01:22:31 +0000 Subject: cindex: read-only association dump This will eventually allow associating coderepos with inboxes and vice-versa; avoiding the need for manual configuration via tedious publicinbox.*.coderepo directives. I'm not sure how this should be stored for WWW, yet, but it's required since it takes about 8 hours to do this fully across lore and git.kernel.org. --- script/public-inbox-cindex | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'script') diff --git a/script/public-inbox-cindex b/script/public-inbox-cindex index 2f7796e7..888c8b10 100755 --- a/script/public-inbox-cindex +++ b/script/public-inbox-cindex @@ -26,8 +26,10 @@ See public-inbox-cindex(1) man page for full documentation. EOF my $opt = { fsync => 1, scan => 1 }; # --no-scan is hidden GetOptions($opt, qw(quiet|q verbose|v+ reindex jobs|j=i fsync|sync! dangerous - indexlevel|index-level|L=s + indexlevel|index-level|L=s associate associate-max=i + associate-date-range=s associate-prefixes=s@ batch_size|batch-size=s max_size|max-size=s + include|I=s@ only=s@ all project-list=s exclude=s@ sort-parallel=s sort-compress-program=s sort-buffer-size=s d=s update|u scan! prune dry-run|n C=s@ help|h)) -- cgit v1.2.3-24-ge0c7