]> Sergey Matveev's repositories - public-inbox.git/commit
support smart HTTP cloning
authorEric Wong <e@80x24.org>
Sun, 7 Feb 2016 08:35:29 +0000 (08:35 +0000)
committerEric Wong <e@80x24.org>
Sun, 7 Feb 2016 08:46:37 +0000 (08:46 +0000)
commit0af0bd903b9b5aede71155ce8756e01a229b40bb
tree0b41dd9fa5540c89b3bff8f6af9b5e06721bb56c
parente31f5bf979f8316cd6156410357026b3df392f81
support smart HTTP cloning

This requires POST and (small file) upload support from the
PSGI/Plack web server.  CGI.pm is currently not supported with
this feature.

We'll serve everything git can handle by default for performance
in the general case.

To avoid introducing cognitive overhead for sysadmins managing
existing HTTP backends, we do not introduce new configuration
directives.

Thus, setting http.uploadpack=false in the relevant git config
file for each public-inbox (ssoma) git repo will disable smart
HTTP for CPU/memory-constrained systems.

Technically we could support http.receivepack to allow posting
messages to a public-inbox over HTTP(S), but that breaks
the public-inbox model of encouraging users to Cc: everyone.
Again, we encourage users to Cc: everyone to reduce the chance
of a public-inbox becoming a centralized point of
failure/censorship.
Documentation/design_www.txt
lib/PublicInbox/GitHTTPBackend.pm [moved from lib/PublicInbox/GitHTTPDumb.pm with 53% similarity]
lib/PublicInbox/WWW.pm