From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: X-Spam-Status: No, score=-4.2 required=3.0 tests=ALL_TRUSTED,BAYES_00, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF shortcircuit=no autolearn=ham autolearn_force=no version=3.4.6 Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id 90B281F47D for ; Thu, 5 Jan 2023 11:41:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=80x24.org; s=selector1; t=1672918917; bh=+P5jmPmsUf/YlZPyPUjyUYeDwX/eKmRseo0sQZ57T+c=; h=From:To:Subject:Date:In-Reply-To:References:From; b=BYmV7qoyhCkZI5t22TSJLtG6V7PmYmdTx4fy9qV8ngYaFFTjYBLtp8aTruhZQxBgR hkFcYF9ACQtJFAECJAzmS+eKHBkIcg3C0zbADp4Qen44JzFfjoTACBFXNVbCQ+SdTH GRcj6dwNXMSUwVL471GYnMpWrC1b9KXAaDzSxj/Y= From: Eric Wong To: meta@public-inbox.org Subject: [PATCH 1/2] clone: document --project-list and --post-update-hook Date: Thu, 5 Jan 2023 11:41:56 +0000 Message-Id: <20230105114157.2239454-2-e@80x24.org> In-Reply-To: <20230105114157.2239454-1-e@80x24.org> References: <20230105114157.2239454-1-e@80x24.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: I forgot to document these when I implemented them :x --- Documentation/public-inbox-clone.pod | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/Documentation/public-inbox-clone.pod b/Documentation/public-inbox-clone.pod index 2a7081ac..53acf356 100644 --- a/Documentation/public-inbox-clone.pod +++ b/Documentation/public-inbox-clone.pod @@ -108,6 +108,27 @@ 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 --project-list=FILE + +When cloning code repos from a manifest, generate a cgit-compatible +project list. + +If C does not start with C, C<./>, or C<../>, it is treated +as relative to the C directory. If only C<--project-list=> +is specified where C is an empty string (C<"">), then C +(C<$DESTINATION/projects.list>) is the implied value of C. + +=item --post-update-hook=COMMAND + +Hooks to run after a repository is cloned or updated, C will +have the bare git repository destination given as its first and only +argument. + +For v2 inboxes, this operates on a per-epoch basis. + +May be specified multiple times to run multiple commands in the +order specified on the command-line. + =item -p =item --prune