]> Sergey Matveev's repositories - public-inbox.git/commit
wwwlisting: generate grokmirror-compatible manifest.js.gz
authorEric Wong (Contractor, The Linux Foundation) <e@80x24.org>
Sun, 9 Jun 2019 04:31:03 +0000 (04:31 +0000)
committerEric Wong <e@80x24.org>
Sun, 9 Jun 2019 04:32:31 +0000 (04:32 +0000)
commit0b3e19584c90d958a723ac2d3dec3f84f5513688
tree6cad532198521b6fc6afe15f415cbd51a6bcb3d2
parent3e0e596105198cfad0eaf3e15f69a21c6bc9ffe1
wwwlisting: generate grokmirror-compatible manifest.js.gz

Support on-demand generation of "/manifest.js.gz" for inboxes.
By default, this matches inboxes with URLs matching the given
request hostname by default.

This makes it easier to create full mirrors of several inboxes
without needing to configure static file serving.

cf. https://git.kernel.org/pub/scm/utils/grokmirror/grokmirror.git
MANIFEST
lib/PublicInbox/WWW.pm
lib/PublicInbox/WwwListing.pm
t/www_listing.t [new file with mode: 0644]