X-Git-Url: http://www.git.stargrave.org/?a=blobdiff_plain;f=Documentation%2Fpublic-inbox-clone.pod;h=257967d92809d6369817669c365294cb12067589;hb=9537b9c7201a7c656c3efcb9918df930a7447981;hp=efee01eec59282fcbd27017314c3b655b3c7716a;hpb=69b5ab18a594fa434d79cacee35c4d9a0df7b55c;p=public-inbox.git diff --git a/Documentation/public-inbox-clone.pod b/Documentation/public-inbox-clone.pod index efee01ee..257967d9 100644 --- a/Documentation/public-inbox-clone.pod +++ b/Documentation/public-inbox-clone.pod @@ -6,6 +6,8 @@ public-inbox-clone - "git clone --mirror" wrapper public-inbox-clone INBOX_URL [INBOX_DIR] +public-inbox-clone ROOT_URL [DESTINATION] + =head1 DESCRIPTION public-inbox-clone is a wrapper around C for @@ -18,6 +20,11 @@ L. Those commands must be run separately if serving/searching the mirror is required. As-is, public-inbox-clone is suitable for creating a git-only backup. +public-inbox-clone creates a Makefile with handy targets to update the +inbox once indexed. This Makefile may be edited by the user; it will +not be rewritten by L unless it is removed +completely. + public-inbox-clone does not use nor require any extra configuration files (not even C<~/.public-inbox/config>). @@ -46,6 +53,53 @@ C<--epoch=~2..> clones the three latest epochs. Default: C<0..~0> or C<0..> or C<..~0> (all epochs, all three examples are equivalent) +=item -I PATTERN + +=item --include=PATTERN + +When cloning a top-level with multiple inboxes, only clone inboxes and +repositories matching a given wildcard pattern (using C<*?> and C<[]> is +supported). + +=item --exclude=PATTERN + +When cloning a top-level with multiple inboxes, ignore inboxes and +repositories matching the given wildcard pattern. Supports the same +wildcards as L + +=item --inbox-config=always|v2|v1|never + +Whether or not to retrieve the C<$INBOX/_/text/config/raw> HTTP(S) +endpoint when cloning. + +Since we can't deduce v1 inboxes from code repositories, setting this +to C or C can allow faster clones of code repositories if +no v1 inboxes are present. + +Default: C + +=item --inbox-version=NUM + +Force a remote public-inbox version (must be C<1> or C<2>). +This is auto-detected by default, and this option exists mainly +for testing. + +=item --objstore=DIR + +Enables space savings when the remote C +includes C entries as generated by grokmirror 2.x. + +If C is not an absolute path, it is relative to the +C directory. If only C<--objstore=> is specified +where C is an empty string (C<"">), then C +(C<$DESTINATION/objstore>) is the implied value of C. + +=item -n + +=item --dry-run + +Show what would be done, without making any changes. + =item -q =item --quiet @@ -62,7 +116,7 @@ Increases verbosity, also passed to L. =item --no-torsocks -Whether to wrap L and L commands with torsocks. +Whether to wrap L and L commands with L. Default: C