From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: X-Spam-Status: No, score=-4.2 required=3.0 tests=ALL_TRUSTED,BAYES_00, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id 89E0A1F523 for ; Sat, 8 Oct 2022 08:24:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=80x24.org; s=selector1; t=1665217489; bh=Ea1QTKLBPI71clMNXeg45GEtef4LGhQKkbedYEBI+0A=; h=From:To:Subject:Date:In-Reply-To:References:From; b=CBFFSUdVGNG1b+NJd8M9iUjS70kui7nF3qHxyWHz448/PZY7O0FPGqKkFzlF0yY5C dLqpND6ohpawPflfeNCyTwaiu2aquIKPxIdVSn4nJM+jM9O5UTDYF5WTQ7yokj2Ty2 zGQPdH4EaWKytOXLxT+Wiz0Msb7uXUcR1BIHL3UI= From: Eric Wong To: meta@public-inbox.org Subject: [PATCH 3/5] www_coderepo: update blurb on the goal/purpose of this Date: Sat, 8 Oct 2022 08:24:46 +0000 Message-Id: <20221008082448.9856-4-e@80x24.org> In-Reply-To: <20221008082448.9856-1-e@80x24.org> References: <20221008082448.9856-1-e@80x24.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: 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