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 -- unsubscribe: meta+unsubscr...@public-inbox.org archive: https://public-inbox.org/meta/