]> Sergey Matveev's repositories - public-inbox.git/commitdiff
www_coderepo: update blurb on the goal/purpose of this
authorEric Wong <e@80x24.org>
Sat, 8 Oct 2022 08:24:46 +0000 (08:24 +0000)
committerEric Wong <e@80x24.org>
Sun, 9 Oct 2022 16:48:37 +0000 (16:48 +0000)
I think putting too much functionality in web services leads
to ignorance of local/offline tools, so this web UI will give
hints here and there for web users.  Things like diff options
can get expensive and become cache-unfriendly on the web server,
so promoting local tools can reduce overall network traffic
and server load.

lib/PublicInbox/WwwCoderepo.pm

index 01ed562b6fd35f8dedabcedc15aa175d781eca62..2184e89d14572e0012bd9a2b0490c7b4cf2a6e52 100644 (file)
@@ -1,7 +1,10 @@
 # Copyright (C) all contributors <meta@public-inbox.org>
 # License: AGPL-3.0+ <https://www.gnu.org/licenses/agpl-3.0.txt>
 #
-# Standalone code repository viewer for users w/o cgit
+# Standalone code repository viewer for users w/o cgit.
+# This isn't intended to replicate all of cgit, but merely to be a
+# "good enough" viewer with search support and some UI hints to encourage
+# cloning + command-line usage.
 package PublicInbox::WwwCoderepo;
 use v5.12;
 use File::Temp 0.19 (); # newdir