From 0af0bd903b9b5aede71155ce8756e01a229b40bb Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Sun, 7 Feb 2016 08:35:29 +0000 Subject: 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 | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Documentation/design_www.txt') diff --git a/Documentation/design_www.txt b/Documentation/design_www.txt index 76015233..39b12414 100644 --- a/Documentation/design_www.txt +++ b/Documentation/design_www.txt @@ -25,6 +25,8 @@ URL naming /$LISTNAME/atom.xml [2] -> identical to /$LISTNAME/new.atom +Additionally, we support "git clone" pointed to http://$HOST/$LISTNAME + FIXME: we must refactor/cleanup/add tests for most of our CGI before adding more endpoints and features. -- cgit v1.2.3-24-ge0c7