From: Eric Wong Date: Thu, 3 Oct 2019 07:21:58 +0000 (+0000) Subject: doc: add manpage for public-inbox-init(1) X-Git-Tag: v1.2.0~58 X-Git-Url: http://www.git.stargrave.org/?p=public-inbox.git;a=commitdiff_plain;h=0e323a88eee90196392ef9a86bcd38159023550f doc: add manpage for public-inbox-init(1) This old command was lacking a manpage, so (finally) create one. --- diff --git a/Documentation/include.mk b/Documentation/include.mk index 9a132962..55c10b51 100644 --- a/Documentation/include.mk +++ b/Documentation/include.mk @@ -36,6 +36,7 @@ m1 += public-inbox-convert m1 += public-inbox-edit m1 += public-inbox-httpd m1 += public-inbox-index +m1 += public-inbox-init m1 += public-inbox-mda m1 += public-inbox-nntpd m1 += public-inbox-watch diff --git a/Documentation/public-inbox-init.pod b/Documentation/public-inbox-init.pod new file mode 100644 index 00000000..377fb2a2 --- /dev/null +++ b/Documentation/public-inbox-init.pod @@ -0,0 +1,86 @@ +=head1 NAME + +public-inbox-init - create or reinitialize a public-inbox + +=head1 SYNOPSIS + +B [OPTIONS] NAME INBOX_DIR HTTP_URL ADDRESS [ADDRESS..] + +=head1 DESCRIPTION + +Creates an empty public-inbox or reinitializes an existing one. +It updates C<~/.public-inbox/config> by creating a +C<[publicinbox "NAME"]> section where +C is C, +C is C, and +C is C
. Multiple addresses +may be specified for inboxes with multiple addresses. + +=head1 OPTIONS + +=over + +=item -V, --version FORMAT_VERSION + +Specify C<2> here to use the scalable L +if you have L installed. + +The default is C<1> for the old L, +but C<2> is strongly recommended for scalability if you have +L. + +Default: C<1> + +=item --indexlevel + +Controls the indexing level for L + +See L for more information. + +Default: C + +=item -S, --skip-epoch + +For C<-V2> (L) inboxes only, this option +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). + +Default: unset, no epochs are skipped + +=back + +=head1 ENVIRONMENT + +=over 8 + +=item PI_CONFIG + +Used to override the default C<~/.public-inbox/config> value. + +=back + +=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. + +=head1 CONTACT + +Feedback welcome via plain-text mail to L + +The mail archives are hosted at L +and L + +=head1 COPYRIGHT + +Copyright 2019 all contributors L + +License: AGPL-3.0+ L + +=head1 SEE ALSO + +L, L, L, +L diff --git a/MANIFEST b/MANIFEST index ecf239f4..b3046cf6 100644 --- a/MANIFEST +++ b/MANIFEST @@ -20,6 +20,7 @@ Documentation/public-inbox-daemon.pod Documentation/public-inbox-edit.pod Documentation/public-inbox-httpd.pod Documentation/public-inbox-index.pod +Documentation/public-inbox-init.pod Documentation/public-inbox-mda.pod Documentation/public-inbox-nntpd.pod Documentation/public-inbox-overview.pod