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,AWL,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 E9E3F1F462 for ; Sun, 9 Jun 2019 04:31:05 +0000 (UTC) From: "Eric Wong (Contractor, The Linux Foundation)" To: meta@public-inbox.org Subject: [PATCH 0/4] grokmirror-compatible manifests Date: Sun, 9 Jun 2019 04:31:01 +0000 Message-Id: <20190609043105.22338-1-e@80x24.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: Maintaining mirrors is a pain, especially for v2 repos and multiple epochs. So support both per-domain matching and per-inbox manifests which can be fed to grok-pull(1) https://git.kernel.org/pub/scm/utils/grokmirror/grokmirror.git Eric Wong (Contractor, The Linux Foundation) (4): wwwlisting: allow hiding entries from manifest wwwlisting: generate grokmirror-compatible manifest.js.gz www: wire up /$INBOX/manifest.js.gz, too www: support $INBOX/git/$EPOCH.git for v2 cloning MANIFEST | 1 + lib/PublicInbox/WWW.pm | 17 +++- lib/PublicInbox/WwwListing.pm | 174 +++++++++++++++++++++++++++++----- t/psgi_v2.t | 2 + t/v2mirror.t | 8 +- t/www_listing.t | 158 ++++++++++++++++++++++++++++++ 6 files changed, 330 insertions(+), 30 deletions(-) create mode 100644 t/www_listing.t -- EW