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.0 required=3.0 tests=ALL_TRUSTED,BAYES_00 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 BBA611F463; Thu, 26 Dec 2019 12:50:42 +0000 (UTC) Date: Thu, 26 Dec 2019 12:50:42 +0000 From: Eric Wong To: meta@public-inbox.org Subject: Re: [PATCH 14/30] githttpbackend: split out wwwstatic Message-ID: <20191226125042.GA8713@dcvr> References: <20191225075104.22184-1-e@80x24.org> <20191225075104.22184-15-e@80x24.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20191225075104.22184-15-e@80x24.org> List-Id: Eric Wong wrote: > Make it easier to share code between our GitHTTPBackend and Cgit > packages, for now, and possibly other packages in the future. Well, I need to actually use the new package :x diff --git a/lib/PublicInbox/Cgit.pm b/lib/PublicInbox/Cgit.pm index e6cb6cbc..d7e996b2 100644 --- a/lib/PublicInbox/Cgit.pm +++ b/lib/PublicInbox/Cgit.pm @@ -15,6 +15,7 @@ use PublicInbox::GitHTTPBackend; *serve = *PublicInbox::GitHTTPBackend::serve; use warnings; use PublicInbox::Qspawn; +use PublicInbox::WwwStatic; use Plack::MIME; sub locate_cgit ($) { More stuff which needs test coverage :x