X-Git-Url: http://www.git.stargrave.org/?a=blobdiff_plain;f=Documentation%2Fpublic-inbox-init.pod;h=b25dd1e4d02e373b83e64ac5edd29cacf81969be;hb=f344d64066f85dd6737daeb42c94902e1bbfda78;hp=4744da96eb68c71d326e813ac037d1c743fbca54;hpb=95bdac7f09c69036efed537a4d03d5bdd2ae4eb6;p=public-inbox.git diff --git a/Documentation/public-inbox-init.pod b/Documentation/public-inbox-init.pod index 4744da96..b25dd1e4 100644 --- a/Documentation/public-inbox-init.pod +++ b/Documentation/public-inbox-init.pod @@ -31,7 +31,7 @@ L. Default: C<1> -=item --indexlevel +=item -L, --indexlevel Controls the indexing level for L @@ -39,6 +39,37 @@ See L for more information. Default: C +=item --ng, --newsgroup NEWSGROUP + +The NNTP group name for use with L. This +may be any newsgroup name with hierarchies delimited by C<.>. +For example, the newsgroup for L +is: C + +This may be set after-the-fact via C +in the configuration file. See L for more +info. + +Available since public-inbox 1.6.0 (PENDING). + +Default: none. + +=item --skip-artnum + +This option allows archivists to publish incomplete archives +with only new mail while allowing NNTP article numbers +to be reserved for yet-to-be-archived old mail. + +This is mainly intended for users of C<--skip-epoch> (documented below) +but may be of use to L users. + +There is no automatic way to use reserved NNTP article numbers +when old mail is found, yet. + +Available since public-inbox 1.6.0 (PENDING). + +Default: unset, no NNTP article numbers are skipped + =item -S, --skip-epoch For C<-V2> (L) inboxes only, this option @@ -46,8 +77,34 @@ allows archivists to publish incomplete archives with newer mail while allowing "0.git" (or "1.git" and so on) epochs to be added-after-the-fact (without affecting "git clone" followers). +Available since public-inbox 1.2.0. + Default: unset, no epochs are skipped +=item -j, --jobs=JOBS + +Control the number of Xapian index shards in a +C<-V2> (L) inbox. + +It is useful to use a single shard (C<-j1>) for inboxes on +high-latency storage (e.g. rotational HDD) unless the system has +enough RAM to cache 5-10x the size of the git repository. + +It is generally not useful to specify higher values than the +default due to contention in the top-level producer process. + +Default: the number of online CPUs, up to 4 + +=item --skip-docdata + +Do not store document data in Xapian, reducing Xapian storage +overhead by around 1.5%. + +Warning: this option prevents rollbacks to public-inbox 1.5.0 +and earlier. + +Available since public-inbox 1.6.0 (PENDING). + =back =head1 ENVIRONMENT @@ -62,10 +119,12 @@ Used to override the default C<~/.public-inbox/config> value. =head1 LIMITATIONS -This tool predates NNTP support in public-inbox and is missing -C and many of the options documented in -L. See L for all the -options which may be applied to a given inbox. +Some of the options documented in L +require editing the config file. Old versions lack the +C<--ng>/C<--newsgroup> parameter + +See L for all the options which may be applied +to a given inbox. =head1 CONTACT