X-Git-Url: http://www.git.stargrave.org/?a=blobdiff_plain;f=Documentation%2Fpublic-inbox-clone.pod;h=2a7081acbf71f77f5beaffe0055a32846c25c537;hb=77e4db042f96d086aee9a43db8405aef7aae2f6e;hp=c80c3c5fded6dc156228ae95ebc5111d2b1ddccc;hpb=0b73ad048e715065efc3ed3eb1c376e945957693;p=public-inbox.git diff --git a/Documentation/public-inbox-clone.pod b/Documentation/public-inbox-clone.pod index c80c3c5f..2a7081ac 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 @@ -51,6 +53,80 @@ 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 does not start with C, C<./>, or C<../>, it is treated +as 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 --manifest=FILE + +When incrementally updating an existing mirror, load the given +manifest (typically C) to speed up updates. + +By default, public-inbox writes the retrieved manifest to +C<$DESTINATION/manifest.js.gz>, this directive also +changes the destination to the specified C + +If C does not start with C, C<./>, or C<../>, it is treated +as relative to the C directory. If only C<--manifest=> +is specified where C is an empty string (C<"">), then C +(C<$DESTINATION/manifest.js.gz>) is the implied value of C. + +=item -p + +=item --prune + +Pass the C<--prune> and C<--prune-tags> flags to L +calls on incremental clones. + +=item -k + +=item --keep-going + +Continue as much as possible after an error. + +=item -n + +=item --dry-run + +Show what would be done, without making any changes. + =item -q =item --quiet