]> Sergey Matveev's repositories - public-inbox.git/commit
new public-inbox-{clone,fetch} commands
authorEric Wong <e@80x24.org>
Sun, 12 Sep 2021 07:47:12 +0000 (07:47 +0000)
committerEric Wong <e@80x24.org>
Sun, 12 Sep 2021 07:48:56 +0000 (07:48 +0000)
commitb45a1dffa647f6427d0c900fcc55753db7a1994c
treeeafb5e666662bc65afd1aad33aeb203134b1efd7
parent02a0f3959b2e74f7217fcdca848822e7230acd6b
new public-inbox-{clone,fetch} commands

Setting up and maintaining git-only mirrors of v2 inboxes is
complex since multiple commands are required to clone and fetch
into epochs.

Unlike grokmirror, these commands do not require any
configuration.  Instead, they rely on existing git config files
and work like "git clone --mirror" and "git fetch",
respectively.

Like grokmirror, they use manifest.js.gz, but only on a
per-inbox basis so users won't have to clone every inbox of a
large instance nor edit config files to include/exclude inboxes
they're interested in.
Documentation/public-inbox-clone.pod [new file with mode: 0644]
Documentation/public-inbox-fetch.pod [new file with mode: 0644]
MANIFEST
lib/PublicInbox/Admin.pm
lib/PublicInbox/Fetch.pm [new file with mode: 0644]
lib/PublicInbox/LEI.pm
lib/PublicInbox/LeiMirror.pm
script/public-inbox-clone [new file with mode: 0755]
script/public-inbox-fetch [new file with mode: 0755]
t/lei-mirror.t