]> Sergey Matveev's repositories - public-inbox.git/commitdiff
doc: add public-inbox.cgi(1) manpage
authorEric Wong <e@80x24.org>
Sat, 2 Nov 2019 21:51:08 +0000 (21:51 +0000)
committerEric Wong <e@80x24.org>
Sun, 3 Nov 2019 00:06:56 +0000 (00:06 +0000)
Yet another case of documenting things which should NOT be used :>

Documentation/.gitignore
Documentation/include.mk
Documentation/public-inbox.cgi.pod [new file with mode: 0644]
MANIFEST

index 4d2ca22f2e6a7d5d1db23adc32ab5e4274d4fe6b..f26169acb7be071a4d61cbb99068a7bc7ba02ef8 100644 (file)
@@ -1,3 +1,4 @@
 /public-inbox-*.txt
+/public-inbox.cgi.txt
 /standards.txt
 /.x
index fd2c95f208ea50d6ce19ce1f39732ab9cfe15573..e948778a4790fef9522f9bc63e4b7b8900492c65 100644 (file)
@@ -37,6 +37,7 @@ podtext = $(PODTEXT) $(PODTEXT_OPTS)
 m1 =
 m1 += public-inbox-compact
 m1 += public-inbox-convert
+m1 += public-inbox.cgi
 m1 += public-inbox-edit
 m1 += public-inbox-httpd
 m1 += public-inbox-index
diff --git a/Documentation/public-inbox.cgi.pod b/Documentation/public-inbox.cgi.pod
new file mode 100644 (file)
index 0000000..01187d8
--- /dev/null
@@ -0,0 +1,34 @@
+=head1 NAME
+
+public-inbox.cgi - CGI wrapper for PublicInbox::WWW
+
+=head1 SYNOPSIS
+
+You generally want to run public-inbox-httpd, instead
+
+=head1 DESCRIPTION
+
+public-inbox.cgi provides a CGI interface wrapper on top of the
+PSGI/Plack L<PublicInbox::WWW> module.  It is only provided for
+compatibility reasons and NOT recommended.
+
+CGI with Perl is slow due to code loading overhead and web servers lack
+the scheduling fairness of L<public-inbox-httpd(1)> for handling git
+clones and streaming large mbox downloads.
+
+=head1 CONTACT
+
+Feedback welcome via plain-text mail to L<mailto:meta@public-inbox.org>
+
+The mail archives are hosted at L<https://public-inbox.org/meta/>
+and L<http://hjrcffqmbrq6wope.onion/meta/>
+
+=head1 COPYRIGHT
+
+Copyright 2019 all contributors L<mailto:meta@public-inbox.org>
+
+License: AGPL-3.0+ L<https://www.gnu.org/licenses/agpl-3.0.txt>
+
+=head1 SEE ALSO
+
+L<public-inbox-httpd(1)>, L<PublicInbox::WWW>, L<public-inbox-daemon(8)>,
index 9582642b65114e00120368375daed7cf07b0ea2f..dac096ed658572e5247448979d0a34ddfc1b03e5 100644 (file)
--- a/MANIFEST
+++ b/MANIFEST
@@ -31,6 +31,7 @@ Documentation/public-inbox-v1-format.pod
 Documentation/public-inbox-v2-format.pod
 Documentation/public-inbox-watch.pod
 Documentation/public-inbox-xcpdb.pod
+Documentation/public-inbox.cgi.pod
 Documentation/standards.perl
 Documentation/txt2pre
 HACKING