From cb4f3af963674ccdb0d540656bd2c58f9e130cf9 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Sat, 8 Oct 2022 08:24:46 +0000 Subject: [PATCH] www_coderepo: update blurb on the goal/purpose of this 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 | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/PublicInbox/WwwCoderepo.pm b/lib/PublicInbox/WwwCoderepo.pm index 01ed562b..2184e89d 100644 --- a/lib/PublicInbox/WwwCoderepo.pm +++ b/lib/PublicInbox/WwwCoderepo.pm @@ -1,7 +1,10 @@ # Copyright (C) all contributors # License: AGPL-3.0+ # -# 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 -- 2.44.0